Ros2 control servo via xrce agent/client

you need to edit dds_topoic.yaml …

uXRCE-DDS (PX4-ROS 2/DDS Bridge) | PX4 User Guide (main) here is the complete documentation.

you can add /fmu/in/actuator_servo and other topics you think you need.

Thank you very much. You can see in the screenshot .I have published /fmu/in/actuator_servo topic。But the PWM values I see in QGC mavlink Inspector is not what Ihave published。



@ [Olivier_Olivier],Thank you very much,I have solved this problem。That’s because that the file offboardcontrolmode.msg in ros2 node package is different from PX4-Autopilot.