mav_control_rw icon indicating copy to clipboard operation
mav_control_rw copied to clipboard

No lift-off when the mav_nonlinear_mpc controller is used

Open yash508oza opened this issue 6 years ago • 2 comments

Hi,

I am on ROS Kinetic, and am trying to use the rotors-simulation package for some of my experiments. Initially, I am using the mav_trajectory_generation package to generate a trajectory through the desired points, and publishing this trajectory_msgs/MultiDOFJointTrajectory message on a topic. Then, I am making use of the mav_control_rw package, and specifically the non linear controller provided in that package to make my hummingbird UAV go through the desired points. But when I run the mav_nonlinear_mpc_sim.launch file, my UAV does not take off, and the rotors keep rotating. When I echo the /hummingbird/command/motor_speed topic, I notice that the motor speeds are around 400, which dosent seem to be sufficient to fly the UAV.

I am not able to resolve this issue. Any help from you guys will be greatly appreciated.

Thanks

yash508oza avatar Aug 21 '18 18:08 yash508oza

Are you setting the correct MAV name to hummingbird? the default name is firefly which is hexacopter.

fmina avatar Aug 21 '18 19:08 fmina

Yes, I am doing that

yash508oza avatar Aug 21 '18 19:08 yash508oza