Class ImuDataProviderInterface

Inheritance Relationships

Derived Type

Class Documentation

class ImuDataProviderInterface

Interface for standard message sensor_msgs::msg::Imu data provider.

Subclassed by adi_imu::ImuDataProvider

Public Functions

inline ImuDataProviderInterface()

Constructor for ImuDataProviderInterface.

inline virtual ~ImuDataProviderInterface()

Destructor for ImuDataProviderInterface.

virtual bool getData(sensor_msgs::msg::Imu &message) = 0

Populate Imu message with measured data.

Parameters:

message – Message containing the measured data.

Returns:

Return true if the message parameter is successfully populated with measured data and false otherwise.