Home        Store        Docs        Blog

Cannot communicate between ArduSub and mavros in manual mode


(ShehabAldeen Housein) #1

Hello,

I am trying to send some values through the topic /mavros/rc/override but I can’t see my sub moving at all my sub in manual mode and of course I make sure that the sub is armed

the interesting thing that I can arm the sub calling the service /mavros/cmd/arming

when I try to write rc 2 1100 for example in the mavproxy console the sub starts to move

I am using ArduSub 3.5.3 with SITL simulator
and starting the mavros node by running
roslaunch mavros apm.launch fcu_url:=udp://0.0.0.0:14550@
and I am not running the Qground control

I think that there might be a communication problem between mavros and the ardusub but I couldn’t figure it out

I will appreciate your help, Thank you.


(Patrick José Pereira) #2

Hi,

Can you share your code ?
What happens if you arm the vehicle in manual mode and send the override with:

rostopic pub /mavros/rc/override mavros_msgs/OverrideRCIn "channels: [1600, 1500, 1500, 1500, 1500, 1500, 1500, 1500]" -r 10

(ShehabAldeen Housein) #3

I fount that to be able to publish to the /mavros/rc/override topic I should first setup the FCU property as written in this GitHub issue

thank you for your help