Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No lift-off when the mav_nonlinear_mpc controller is used #22

Open
yash508oza opened this issue Aug 21, 2018 · 2 comments
Open

No lift-off when the mav_nonlinear_mpc controller is used #22

yash508oza opened this issue Aug 21, 2018 · 2 comments

Comments

@yash508oza
Copy link

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

@fmina
Copy link
Contributor

fmina commented Aug 21, 2018

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

@yash508oza
Copy link
Author

Yes, I am doing that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants