Search code examples
c++rosros2

ROS2 topic "statustext" doesn't execute


I want to see some status messages from my drone using "ros2 topic echo /mavros/statustext/recv" in the terminal.

After subscription, I just waiting for a message,(in this time my drone do mission, do takeoff, do landing...) but there's nothing received in that topic.

How to get any message in this topic?


Solution

  • ros2 param set /mavros/sys heartbeat_mav_type "GCS"