Class IMUProcessor

Inheritance Relationships

Base Type

Class Documentation

class IMUProcessor : public ros2_ouster::DataProcessorInterface

A data processor interface implementation of a processor for creating IMU in the driver in ROS2.

Public Functions

inline IMUProcessor(const rclcpp_lifecycle::LifecycleNode::SharedPtr node, const ros2_ouster::Metadata &mdata, const std::string &frame, const rclcpp::QoS &qos)

A constructor for OS1::IMUProcessor.

Parameters:
  • node – Node for creating interfaces

  • mdata – metadata about the sensor

  • frame – frame_id to use for messages

inline ~IMUProcessor()

A destructor clearing memory allocated.

inline virtual bool process(uint8_t *data, uint64_t override_ts) override

Process method to create imu.

Parameters:

data – the packet data

inline virtual void onActivate() override

Activating processor from lifecycle state transitions.

inline virtual void onDeactivate() override

Deactivating processor from lifecycle state transitions.