Search found 395 matches

by whoenig
Thu Mar 04, 2021 10:35 pm
Forum: Loco Positioning System
Topic: Formation Control of Crazyfile using LPS
Replies: 3
Views: 1701

Re: Formation Control of Crazyfile using LPS

You can have multiple logging configurations per quadrotor. Each logging configuration packet will be timestamped with the local clock. The 26 bytes are sufficient to get the current state estimate of the quadrotor within a single, timestamped, packet. For a swarm, you would configure each quadrotor...
by whoenig
Thu Mar 04, 2021 7:47 pm
Forum: Loco Positioning System
Topic: Formation Control of Crazyfile using LPS
Replies: 3
Views: 1701

Re: Formation Control of Crazyfile using LPS

Software: The position information for LPS is only known onboard the drone. However, you can easily setup a logging configuration that streams that information back to your PC using the Crazyradio. Then, you can process this information for all drones, and send commander setpoints back over the radi...
by whoenig
Thu Mar 04, 2021 7:58 am
Forum: External positioning systems
Topic: What is the best approach to control CrazyFlies in a Vicon or Optitrack environment.
Replies: 3
Views: 32512

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

[I am one of the authors of the Crazyswarm, so I am biased.] In general, I'd still recommend the Crazyswarm if you are planning to control more than 5 CFs. The Crazyswarm server is written in C++ and directly interfaces with the VICON/Optritrack libraries (in the same binary) to minimize latency. Yo...
by whoenig
Mon Mar 01, 2021 1:13 pm
Forum: General discussions
Topic: Nonparametric machine learning model written in CF2.1 firmware.
Replies: 3
Views: 1257

Re: Nonparametric machine learning model written in CF2.1 firmware.

I am only aware of parametric ML models (e.g., Deep FeedForward Neural Networks: https://github.com/TaoChenOSU/quad_nn) with online inference (not learning). However, if you can find any pure C implementation of your desired nonparametric model, it should be possible to add to the firmware. Note tha...
by whoenig
Wed Feb 24, 2021 7:54 am
Forum: General discussions
Topic: Query about mathematical model of CF2.1
Replies: 1
Views: 1024

Re: Query about mathematical model of CF2.1

The 2.1 has the same system ID as the CF 2.0, as only the IMU has been changed (& some other mechanical improvements). You can find most system identification parameters at https://www.research-collection.ethz.ch ... 850/214143.
by whoenig
Mon Feb 15, 2021 12:31 pm
Forum: Developer Discussions
Topic: Latency measurement between PC and Crazyflie
Replies: 6
Views: 1874

Re: Latency measurement between PC and Crazyflie

We have added this in an experimental branch here: https://github.com/bitcraze/crazyflie-lib-python/blob/dev-nativedriver/sys_test/single_cf_grounded/test_link.py#L82-L113. The measured (roundtrip) latency is around 4ms on our systems, so for your control system you can expect about 2ms of latency. ...
by whoenig
Tue Feb 09, 2021 9:27 am
Forum: Support
Topic: Crazyflie does not fly properly
Replies: 29
Views: 6437

Re: Crazyflie does not fly properly

The ROS topic for /cf2/log1 uses a generic topic and is not aware of which variable you are trying to inspect. The proper way of visualizing is:

Code: Select all

rqt_plot /cf2/log1/values[0]
The order in the array matches the order of your configuration.
by whoenig
Fri Jan 29, 2021 7:41 pm
Forum: Support
Topic: Crazyflie does not fly properly
Replies: 29
Views: 6437

Re: Crazyflie does not fly properly

For the error, please make sure you source your ROS workspace (source devel/setup.bash) in the shell you run rqt_plot from.
by whoenig
Fri Jan 29, 2021 7:53 am
Forum: Support
Topic: Crazyflie does not fly properly
Replies: 29
Views: 6437

Re: Crazyflie does not fly properly

You can configure your logging variables at https://github.com/USC-ACTLab/crazyswarm/blob/master/ros_ws/src/crazyswarm/launch/hover_swarm.launch#L14 and enable logging at https://github.com/USC-ACTLab/crazyswarm/blob/master/ros_ws/src/crazyswarm/launch/hover_swarm.launch#L48. The information will be...
by whoenig
Wed Jan 27, 2021 9:18 pm
Forum: Developer Discussions
Topic: downloading a log file from the SD
Replies: 7
Views: 1760

Re: downloading a log file from the SD

Thanks for the PR - we'll take a look (it will take a few days). For the speed we are aware that Python does not seem to be able to use the radio as efficiently as the CPP version. One option we are currently working on is a native C++ backend for the lowest-level communication with the Crazyradio o...