mavlink / mavros

MAVLink to ROS gateway with proxy for Ground Control Station
Other
879 stars 989 forks source link

mavros: rc offboard mode #583

Closed zer1988 closed 8 years ago

zer1988 commented 8 years ago

Hi everybody, Currently I would like to receive RC signal using mavors/rc_in and add with the chirping signal generated by my code. After that, I will produce this signal again to FCU (maybe mavros_msgs/OverrideRCin) to override RC signal. My platform is PX4 native stack. To do that, I had to change my system to Offboard mode through service mavros/setmode. But when I run my launch file, it shows me one error like [INFO] offboard enabled. {Error] FCU: rejecting mode switch cmd. Some one tell me how I can solve this problem or how to achieve this purpose. Thanks.

vooon commented 8 years ago

RC override do not require offboard. But i strongly not recommend to use it for automatic control.