Search found 377 matches

by whoenig
Mon Mar 29, 2021 9:18 am
Forum: External positioning systems
Topic: What is the best approach to control CrazyFlies in a Vicon or Optitrack environment.
Replies: 3
Views: 401

Re: What is the best approach to control CrazyFlies in a Vicon or Optitrack environment.

If you are already using ROS, you could just use the Crazyswarm. You are not forced to use its Python API - you can directly communicate with the server using publishers and subscribers via rospy. For your question: this is unfortunately not easily possible, because the python-lib does not support b...
by whoenig
Wed Mar 24, 2021 9:26 am
Forum: General discussions
Topic: SyncCrazyflie object has no attribute scf
Replies: 5
Views: 378

Re: SyncCrazyflie object has no attribute scf

You are not forced to use the "with" statement. It essentially provides some more safety to you, as it will automatically clean-up if you leave the scope for any reason (e.g., an exception was thrown). You can, however, always create a Swarm object manually and replicate the with behavior (https://g...
by whoenig
Mon Mar 22, 2021 2:15 pm
Forum: General discussions
Topic: Fly two crazyflies with the motion capture
Replies: 3
Views: 778

Re: Fly two crazyflies with the motion capture

For new projects and especially if you want to fly multiple Crazyflies using ROS, it is recommended to use the Crazyswarm instead. If you encounter any issues, you might get better help by opening a discussion question on the Crazyswarm project.
by whoenig
Mon Mar 22, 2021 10:18 am
Forum: General discussions
Topic: SyncCrazyflie object has no attribute scf
Replies: 5
Views: 378

Re: 'scf' is not defined

Error: Could you share the full error message that you are getting? Also, I assume you are using crazyflie-lib-python ? Multiple drones: You can ran multiple scripts separately, as long as you use one radio per Crazyflie. If you share a radio, you will need to find another way, as only one script ca...
by whoenig
Sun Mar 21, 2021 3:39 pm
Forum: Autonomous flight
Topic: [SOLVED]Crazyflie 2.1 can't fly with three attached decks
Replies: 3
Views: 377

Re: Crazyflie 2.1 can't fly with three attached decks

Could you share what the Console Tab in the cfclient shows (reboot your Crazyflie, then connect to it; user guide)?
by whoenig
Sun Mar 21, 2021 3:36 pm
Forum: Support
Topic: Mocap markers for Crazyflie 2
Replies: 1
Views: 235

Re: Mocap markers for Crazyflie 2

https://store.bitcraze.io/collections/p ... ve-markers will work for any motion capture system, including VICON. You can also get markers directly from the motion capture vendor/reseller, or from https://bleng.com/.
by whoenig
Mon Mar 15, 2021 7:51 am
Forum: Developer Discussions
Topic: Help controlling Crazyflie using Web Bluetooth API
Replies: 5
Views: 289

Re: Help controlling Crazyflie using Web Bluetooth API

Great! Thanks for the update. I am looking forward to your new web client.
by whoenig
Sun Mar 14, 2021 8:38 pm
Forum: Developer Discussions
Topic: Help controlling Crazyflie using Web Bluetooth API
Replies: 5
Views: 289

Re: Help controlling Crazyflie using Web Bluetooth API

Very cool project! I wonder if you run into the thrust lock issue. Basically, you'll need to send at least one packet with thrust 0 first, to unlock the motors. This was done to avoid cases where one connects to the Crazyflie with a wrong joystick configuration (where motors would start spinning on ...
by whoenig
Sat Mar 13, 2021 12:06 pm
Forum: Autonomous flight
Topic: Flying Multiple Crazyfiles
Replies: 3
Views: 388

Re: Flying Multiple Crazyfiles

You can use the ROS Python API for subscribers (see http://wiki.ros.org/ROS/Tutorials/WritingPublisherSubscriber%28python%29 for a tutorial). Essentially, you would set-up a subscriber to listen on the "cf<id>/pose" topic. Then, every time you receive new data, a function will be called with the new...
by whoenig
Fri Mar 12, 2021 5:24 pm
Forum: Autonomous flight
Topic: Flying Multiple Crazyfiles
Replies: 3
Views: 388

Re: Flying Multiple Crazyfiles

Re: cflib Python API, Crazyflie ROS and Crazyswarm Crazyflie_ROS is deprecated for standalone use and new projects. You can find a good discussion on cflib vs. Crazyswarm at https://crazyswarm.readthedocs.io/en/latest/#how-is-crazyswarm-different-from-bitcraze-s-crazyflie-python-api. Re: Crazyswarm ...