Page 1 of 1

How to use flow deck as motion capture system in the ROS Workspace?

Posted: Thu Feb 27, 2020 3:22 pm
by santiagorg2401
Hi,
I've been using the Crazyflies for 6 months and I have a lot of questions and issues with the system, I am just a student so I learn with the crazyflies, according with the tutorials, in order to fly autonomously we have to install the ROS Package and use Rviz, but when I run the rosmaster, it doesn't connect to the Crazyflie (using motioncapturetipe="none", flow deck), also, chooser.py prints a lot of errors like [rospack] Error: package 'crazyflie_tools' not found, but I can fly the crazyflies using the python library cflib, so, can I use the flow deck with the ros workspace?, and what is the sequence to code with the python lib?

Re: How to use flow deck as motion capture system in the ROS Workspace?

Posted: Mon Mar 02, 2020 3:15 pm
by kimberly
The crazyflie lib has multiple scripts you can try in the examples folder, like motion_commander_demo.py, which is explained here in this tutorial: https://www.bitcraze.io/getting-started ... ne-bundle/. For autonomous flight that should be enough.

Re: How to use flow deck as motion capture system in the ROS Workspace?

Posted: Wed Mar 04, 2020 10:03 pm
by santiagorg2401
So, if I use flow deck, I can't use the ROS workspace?

Re: How to use flow deck as motion capture system in the ROS Workspace?

Posted: Thu Mar 05, 2020 10:04 am
by kimberly
The crazyswarmpackage has compatibility with the flowdeck, so it should be able to work. But you said in the first post: 'in order to fly autonomously, we have to install the ROS package'. That is not exactly true since, as you said before, the crazyflie python lib also enables you to fly autonomously as well. Could you give us an pointer of where this line you mentioned was located?

But if you really have a problem with installing the rospackage and you need to use it, it might be good to reinstall everything and start again with the instructions given here (https://crazyswarm.readthedocs.io/en/latest/). If you still have problems, than you can either notify this on the issue list of https://github.com/USC-ACTLab/crazyswarm/issues/132 or make another forumthread here.

Re: How to use flow deck as motion capture system in the ROS Workspace?

Posted: Thu Mar 05, 2020 9:41 pm
by santiagorg2401
I tried re-installing and the chooser.py is also giving troubles; I'll try the ROS Method to see if it works and I will post here the results