mavros icon indicating copy to clipboard operation
mavros copied to clipboard

Help with Rover - GUIDED mode not responding to setpoint_position/global with mavros

Open pzxz opened this issue 3 years ago • 0 comments

Hi guys,

I need to do use the GUIDED mode on APMRover2 using mavros. Basically, I want to give GPS co-ordinates of a location to the rover (through a script, not AUTO mode) and make the rover and go and stay there for a while, and then make it go to another location. I have done a similar script for COPTER and it works just fine. I have tested that out on the real platform. However, when I set > setpoint_position (SET_POSITION_TARGET_LOCAL_NED) from the script (via mavros) the ROVER does not respond.

I am able to put the ROVER in guided mode and arming it before doing anything else. But setpoint_position just doesnt work.

When I run rostopic info /rover/mavros/setpoint_position/global: the output is as follows: Type: geographic_msgs/GeoPoseStamped

Publishers:None

Subscribers:

  • /rover/mavros (HTTP://rover2:44617/)

Can you please help?

I hope I made it clear enough.

pzxz avatar Nov 20 '21 13:11 pzxz