Mavros Control of the PX4 Pixhawk

asked 2016-04-28 22:06:15 -0500

mcelhennyi gravatar image

I have a Pixhawk running the PX4 stack firmware. I am trying to control the pixhawk through velocity commands. I have a lidar lite for altitude, px4 flow sensor, and a stereo camera. I am using the camera, along with some imaging processing in ROS to generate velocity commands to send to the pixhawk.

Ever since I changed from apm to px4 I cannot seem to get the lidar data to come through (params are set correctly in QGC) and the pixhawk will not react to velocity vectors from mavros/setpoint_velocity/cmd_vel. I have RVIZed and seen that the mavros block is connected to my output block for that message.

I think the root problem may be not having the LidarLite data correctly publishing on the mavros environment. Additionally I think there may be some other unknown problem.

edit retag flag offensive close merge delete


Any progress with the velocity commands?

Vinh K gravatar image Vinh K  ( 2016-06-22 15:53:26 -0500 )edit