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

Quadcopter not flying #85

Closed
Flautdn opened this issue Nov 2, 2021 · 2 comments
Closed

Quadcopter not flying #85

Flautdn opened this issue Nov 2, 2021 · 2 comments
Assignees
Labels
type: question Further information is requested

Comments

@Flautdn
Copy link

Flautdn commented Nov 2, 2021

Hello!

I have installed gazebo 9+ Ros melodic on ubuntu 18.04. You have helped me previously with the catkin build process, issue #84.

roslaunch rotors_gazebo crazyflie2_hovering_example.launch is successfully launching the quad copter in the world but its not hovering. I have gone through other issues where you have made changes in the script and updated it on master.

I doubt if hovering example node is publishing the trajectory to follow. Please help to fly this drone.

@gsilano gsilano self-assigned this Nov 4, 2021
@gsilano gsilano added the type: question Further information is requested label Nov 4, 2021
@gsilano
Copy link
Owner

gsilano commented Nov 4, 2021

Hi! Try with #69, #63, #50, and similar. I think that's an issue related to some missing links.

@Flautdn
Copy link
Author

Flautdn commented Nov 5, 2021

Hi @gsilano

Thank you so much for your help! The issue was with some of the incomplete gazebo packages

$ sudo apt-get remove ros-melodic-gazebo* gazebo*
$ sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable lsb_release -cs main" > /etc/apt/sources.list.d/gazebo-stable.list'
$ wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -
$ sudo apt-get update
$ sudo apt-get install gazebo9 gazebo9-* ros-melodic-gazebo-*
$ sudo apt upgrade

As mentioned on readme, these commands fix the problem. Thank You :D

@Flautdn Flautdn closed this as completed Nov 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants