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

Discussions about autonomous flight in general, regardless of positioning method
Post Reply
santiagorg2401
Member
Posts: 46
Joined: Sun Sep 08, 2019 2:28 pm

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

Post 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?
kimberly
Bitcraze
Posts: 1050
Joined: Fri Jul 06, 2018 11:13 am

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

Post 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.
santiagorg2401
Member
Posts: 46
Joined: Sun Sep 08, 2019 2:28 pm

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

Post by santiagorg2401 »

So, if I use flow deck, I can't use the ROS workspace?
kimberly
Bitcraze
Posts: 1050
Joined: Fri Jul 06, 2018 11:13 am

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

Post 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.
santiagorg2401
Member
Posts: 46
Joined: Sun Sep 08, 2019 2:28 pm

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

Post 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
Post Reply