Class ImuTalker

Inheritance Relationships

Base Type

  • public rclcpp::Node

Class Documentation

class ImuTalker : public rclcpp::Node

Public Functions

ImuTalker(const std::string &topic_name = imu_msgs::DEFAULT_TOPIC_NAME, std::chrono::milliseconds publish_period = std::chrono::milliseconds(1000))

Standard constructor.

Parameters:
  • topic_name[in] Topic to publish chatter messages to.

  • publish_period[in] Frequency of publishing chatter messages.

void initialize()

Initialize the publisher.

void publish()

Publish a single message.