ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

In ROS 2, C++ headers for message types are all lowercase, snake_case. The same is true for services and actions. Try:

#include "sensor_msgs/msg/imu.hpp