Class Converter
Defined in File converter.hpp
Inheritance Relationships
Base Type
public off_highway_premium_radar::Receiver
(Class Receiver)
Derived Type
public off_highway_premium_radar::DefaultConverter
(Class DefaultConverter)
Class Documentation
Converter interface to receive and send sensor data.
Subclassed by off_highway_premium_radar::DefaultConverter
Public Types
Public Functions
Configure converter with parent node and sender interface.
Callback that is called in configure.
Protected Functions
Decide to use sensor or ROS time stamp and get it.
Sensor time may not be compatible since ROS uses int32 as type for the seconds in its time message while the sensor uses uint32. This method falls back to ROS time in an incompatible case.
- Parameters:
sensor_sec – Sensor seconds
sensor_nanosec – Sensor nanoseconds
- Returns:
Timestamp to use
Protected Attributes
Parent node.
Sender interface to send data to sensor.
Clock to use.
Logger to use.
Frame ID for messages.
Stamp messages with time from sensor if possible for message or with ROS time.