RAFALAMAO / hector-quadrotor-noetic

Hector Quadrotor ported to ROS Noetic with Gazebo 11
61 stars 36 forks source link

How to control the angular velocity of the UAV #8

Closed zzzzzyh111 closed 1 year ago

zzzzzyh111 commented 1 year ago

I am trying to control the angular velocity of this hector quadrotor on Noetic and Ubuntu 20.04. However, when I am trying to publish cmd/vel with Twist msgs to control both the linear and angular velocity of the UAV, only the linear command works. Can you give me some clues about how to command the angular velocity? If does exist some methods, is the command relying on the reference frame or the body frame?

Thanks in advance!

zzzzzyh111 commented 1 year ago

Fixed Please ignore. Thank you!