Class ImuListener

Inheritance Relationships

Base Type

  • public rclcpp::Node

Class Documentation

class ImuListener : public rclcpp::Node

Public Functions

ImuListener(const std::string &topic_name = imu_msgs::DEFAULT_TOPIC_NAME, const rclcpp::SubscriptionOptions &subscription_options = rclcpp::SubscriptionOptions())

Standard Constructor.

Parameters:
  • topic_name[in] Topic to subscribe to.

  • subscription_options[in] SubscriptionOptions to use for the subscription.

void initialize()

Initialize the listener node.

void start_listening()

Instantiate a Subscription to the chatter topic.