Closed nanane3437 closed 6 years ago
@nanane3437 https://pixhawk.org/dev/ros/ground_rover is probably deprecated already. You should follow https://docs.px4.io/en/frames_rover/ together with https://dev.px4.io/en/ros/mavros_offboard.html. Though I am currently not sure what is the current support of the rover type for OFFBOARD control.
Oh wait. Now I see you are using APM. Forget the previous post. You should also set it to GUIDED mode if you want the vehicle to respond at all. https://pixhawk.org/dev/ros/ground_rover is for PX4 Pro autopilots only. For rovers probably you will find better info in http://ardupilot.org/rover/.
In http://ardupilot.org/rover/ there is nothing about using the rover with mavros ... :/
In http://ardupilot.org/rover/ there is nothing about using the rover with mavros ... :/
Well then unless someone from APM can help you out, you won't find much of a help here unless you dig in yourself. I suppose APM Rover supports GUIDED mode, so from there you should be able to control the vehicle. But I can't say much more about it since I am not an APM user/dev.
Issue details
Hi,
I try to move my ground robot with /mavros/setpoint_velocity/cmd_vel but when I used it nothing happen. I try to follow this tutorial : https://pixhawk.org/dev/ros/ground_rover I have :
So, step by step :
I run a mavproxy and a mavros
Then I rosrun send_to_cmdvel.cpp in my rover_test package
my code send_to_cmdvel.cpp :
Then, I want to send velocity command
And when I run a
I can see the values changing but my wheel doesn't move ! And on mission planner my PWM values of ch1out, ch2out, ch3out, ch4out stay in 1500
Any Idea ?
MAVROS version and platform
Mavros: 0.23.0 ROS: Kinetic Ubuntu Mate : 1.12.1
Autopilot type and version
ArduPilot Version: 3.1.2
Node logs
Diagnostics
Check ID