gsilano / CrazyS

CrazyS is an extension of the ROS package RotorS, aimed to modeling, developing and integrating the Crazyflie 2.0
Apache License 2.0
161 stars 84 forks source link

crazyflie2_swarm_hovering_example.launch runs but does not hover and can not be controlled. #69

Closed terilgen closed 3 years ago

terilgen commented 3 years ago

We use Ubuntu 18.04 and ROS Melodic. When we try launch the simulation all the quadcopters are visible but the topics to control them do not start. We also tried to control them with xbox360 controller but it did not work as well.

welcome[bot] commented 3 years ago

Thanks for opening your first issue here! Make sure that no other issues on the same topic have already been opened!

gsilano commented 3 years ago

Hi @terilgen! This is a common problem when using the package with Ubuntu 18.04 and Gazebo 9. I highly recommend you follow what has been reported in other issues of this repository. The problem has been addressed many times, and quite sure that you will find the solution. If not, we can see together what is wrong with it.

terilgen commented 3 years ago

Hello again sir @gsilano , sorry for the late reply. I was dealing with my midterms. I have looked those issues and tried what they did but it did not work. When i use your VM file it works very well all topics are can be seen but when i try it on my computer with (Ubuntu 18.04 + ROS Melodic + Gazebo9) most of the important topics can not be seen.

gsilano commented 3 years ago

I see your problem. Again, I think this is related to a wrong symbolic link. Have you checked the content of the bashrc file? As a quick test, you could compare the content of the file with that in the VM. That way, you can understand if something is missing there. Also, do not forget to source the file to the terminal line after any modifications.

Next time, please, do not post photos but try to attach to the issue the log file. Thanks!