ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I'll answer the first part of your question because it's ROS related. The second part should be asked on px4 firmware github here.

Your roslaunch can't find package called mavros_sitl_gazebo. Did you modify this value yourself? If so the package either doesn't exist or you forgot to source it. That's probably why ROS can't find it.

To your second question it's probably problem with connection of MAVROS to px4. I can advice you to take a look at diagnostics topic with rostopic echo -n 1 /diagnostics. It should give you a hint if your px4 is connected to MAVROS or not. But either way you should ask on px4 firmware in my opinion.

I'll answer the first part of your question because it's ROS related. The second part should be asked on px4 firmware github here.

Your roslaunch can't find package called mavros_sitl_gazebo. Did you modify this value yourself? If so the package either doesn't exist or you forgot to source it. That's probably why ROS can't find it.

To your second question it's probably problem with connection of MAVROS to px4. I can advice you to take a look at diagnostics topic with rostopic echo -n 1 /diagnostics. It should give you a hint if your px4 is connected to MAVROS or not. But either way you should ask on px4 firmware in my opinion.

Anyway look at those .launch file provided by px4 and try to understand what's going on there. It'll be very hard for you to do something useful with it if you have no idea how the communication is established etc. It also took me a while to figure things out.