Jaeyoung-Lim / mavros_controllers

Aggressive trajectory tracking using mavros for PX4 enabled vehicles
BSD 3-Clause "New" or "Revised" License
417 stars 167 forks source link

Gazebo simulation: drone in Gazebo not moving but frames in Rviz moving #220

Closed ZhongmouLi closed 2 years ago

ZhongmouLi commented 2 years ago

Hi Guys,

I just met a very strange case when I used this package in px4-mavros-gazebo simulation.

Following the instructions here, I am able to run both

But, the results are so strange:

  1. drone frame in Rviz moves while drone in Gazebo does not move at all Screenshot from 2022-06-22 10-53-06 Screenshot from 2022-06-22 10-53-00
  2. I use Qgroundcontrol to arm the drone, but it cannot be switched to offboard mode Screenshot from 2022-06-22 10-55-51

This is so strange to me. Do you have any ideas how to solve it?

ZhongmouLi commented 2 years ago

This is solved by COM_RCL_EXCEPT=4.

Jaeyoung-Lim commented 2 years ago

@ZhongmouLi Thanks for the update!