Search found 12 matches
- Tue Feb 02, 2021 5:24 am
- Forum: Developer Discussions
- Topic: Why doesn't the EKF use the compass?
- Replies: 1
- Views: 1346
Why doesn't the EKF use the compass?
Some Crazyflie users are using a motion capture system with a single marker. In this mode we get an accurate position measurement but no attitude (like GPS). If we hover in one place, the yaw estimate drifts over time due to gyro error. The only way to avoid this is by moving the Crazyflie around, w...
- Sat Aug 26, 2017 5:53 am
- Forum: Developer Discussions
- Topic: reversed VUSB and GND, any hope?
- Replies: 1
- Views: 1867
reversed VUSB and GND, any hope?
I "let the smoke out" of a Crazyflie today :( :( . I am using the Crazyflie 2.0 as flight controller in my hexarotor build. I power it over VUSB from the power distribution board. I was getting sloppy at end of day, and put the Crazyflie in upside down, so GND and VUSB were swapped. Now my...
- Fri Aug 04, 2017 8:52 am
- Forum: Developer Discussions
- Topic: How to speed up I2C writes
- Replies: 6
- Views: 5626
Re: How to speed up I2C writes
I implemented the separate task approach using a one-element queue. It works, but introduces some timing jitter of around 200 usec. However the input PWM frequency of my ESCs is only 400Hz (2500 usec period), so I don't think the effect of the jitter will be significant. I will wait until flight tes...
- Tue Aug 01, 2017 5:46 am
- Forum: Developer Discussions
- Topic: How to speed up I2C writes
- Replies: 6
- Views: 5626
Re: How to speed up I2C writes
By the way, my data payload is a single 24-byte write. According to my calculations, at 400kHz this should take about 580 uSec, which agrees with what I see on my oscilloscope. The pca9685 supports 1MHz "fast mode plus" i2c. EDIT: some others in the STM series do too , but apparently the s...
- Tue Aug 01, 2017 4:38 am
- Forum: Developer Discussions
- Topic: How to speed up I2C writes
- Replies: 6
- Views: 5626
How to speed up I2C writes
Hi all, based on my discussion with arnaud , I got an Adafruit I2C 16-channel PWM deck so I can use the Crazyflie as a flight controller for a hexarotor. I am now getting the board up and running. Unfortunately, it takes a long time to transfer the I2C commands for 6 motors over I2C: about 500 usec ...
- Thu Jul 27, 2017 5:36 am
- Forum: Developer Discussions
- Topic: BigHex deck?
- Replies: 5
- Views: 3944
Re: BigHex deck?
OK, that makes sense about the long wires and data integrity. Getting an 0xFF instead of an 0x00 would be really bad when controlling motors :shock:. But the header pin connection from the Crazyflie to the Adafruit board should be OK, right? In my code, should I be using the interface provided by i2...
- Tue Jul 25, 2017 4:42 pm
- Forum: Developer Discussions
- Topic: Crazyflie restarts in air using experimental firmware
- Replies: 11
- Views: 8651
Re: Crazyflie restarts in air using experimental firmware
You might also try increasing STABILIZER_TASK_STACKSIZE in src/config/config.h. I haven't used Mike's controller, but I assume it's more complex than the default and thus might use more stack.
- Tue Jul 25, 2017 7:01 am
- Forum: Developer Discussions
- Topic: BigHex deck?
- Replies: 5
- Views: 3944
Re: BigHex deck?
That I2C PWM solution looks cool... I ordered one, I will try it out. I do think it's kind of funny how we go from the flight controller, to PWM, and then the ESC digitizes the signal again in its firmware... I guess it's a relic of R/C airplane heritage? I have Afro ESCs that also accept I2C input,...
- Wed Jul 19, 2017 12:56 am
- Forum: Developer Discussions
- Topic: BigHex deck?
- Replies: 5
- Views: 3944
BigHex deck?
I'm wondering how difficult it would be to extend the BigQuad deck design to support six motors? I have no PCB design experience, but would this be a project suitable for an undergrad over one semester? I like hacking the CF firmware, I'm trying to avoid using pixhawk 

- Sat Jun 25, 2016 3:24 am
- Forum: Developer Discussions
- Topic: Long JTAG cable for high-bandwidth logging
- Replies: 1
- Views: 2111
Long JTAG cable for high-bandwidth logging
I would like to log 500hz IMU data + internal controller states during flight. The Crazyradio doesn't have enough bandwidth for this task. I am considering making a long 6-connector cable out of very lightweight wire so we can log to a JTAG debugger during flight. Tethers are fairly common in resear...