Easy Navigation
Loading...
Searching...
No Matches
PerceptionBase Class Reference

Abstract base class for representing a single sensor perception. More...

#include <Perceptions.hpp>

Inheritance diagram for PerceptionBase:
Collaboration diagram for PerceptionBase:

Public Member Functions

virtual ~PerceptionBase ()=default
 

Public Attributes

std::string frame_id
 Coordinate frame associated with the perception.
 
bool new_data = false
 Whether the data has changed since the last observation.
 
rclcpp::Time stamp
 Timestamp of the perception (ROS time).
 
bool valid = false
 Whether the perception contains valid data.
 

Detailed Description

Abstract base class for representing a single sensor perception.

Contains common metadata (timestamp, frame ID, validity flags) that all perception types share.

Constructor & Destructor Documentation

◆ ~PerceptionBase()

virtual ~PerceptionBase ( )
virtualdefault

Member Data Documentation

◆ frame_id

std::string frame_id

Coordinate frame associated with the perception.

◆ new_data

bool new_data = false

Whether the data has changed since the last observation.

◆ stamp

rclcpp::Time stamp

Timestamp of the perception (ROS time).

◆ valid

bool valid = false

Whether the perception contains valid data.


The documentation for this class was generated from the following file: