Template Class ImuDiagRosPublisher

Inheritance Relationships

Base Type

Class Documentation

template<typename DiagMsgType>
class ImuDiagRosPublisher : public adi_imu::ImuDiagRosPublisherInterface

Class for diagnosis publisher for adis1657x chips.

Public Functions

inline explicit ImuDiagRosPublisher(std::shared_ptr<rclcpp::Node> &node)

Constructor for ImuDiagRosPublisher.

Parameters:

node – The ros2 Node instance.

inline ~ImuDiagRosPublisher()

Destructor for ImuDiagRosPublisher.

inline virtual void setMessageProvider(ImuDiagDataProviderInterface *dataProvider) override

Set the message data provider.

Parameters:

dataProvider – Data provider.

inline virtual void setDeviceDescriptor(std::shared_ptr<ADISRegisterMap> device_descriptor) override

Set the device descriptor that defines the device’s capabilities, register layout and supported features.

inline virtual void run() override

Run the thread responsible for publishing ImuDiagData message.