Search found 8 matches

by unario
Mon Feb 19, 2018 6:24 pm
Forum: Developer Discussions
Topic: Absolute orientation with magnetometer
Replies: 3
Views: 2252

Re: Absolute orientation with magnetometer

Hi @arnaud, I noticed that in another thread someone posted a method to calibrate the magnetometer (https://github.com/ak1394/crazyflie-magnetometer-calibration). In that thread, the thread said that he is using a Crazyflie 1.0. So I am not sure the method also applies to Crazyflie 2.0. 1. What is t...
by unario
Mon Feb 12, 2018 6:06 pm
Forum: Developer Discussions
Topic: Initialization failed with two decks
Replies: 9
Views: 3505

Re: Initialization failed with two decks

I am using color sensors TCS34725 and its address is 0x29.
by unario
Fri Feb 09, 2018 4:15 pm
Forum: Developer Discussions
Topic: Initialization failed with two decks
Replies: 9
Views: 3505

Re: Initialization failed with two decks

OK, then I think it is an I2C address conflict. The address of the sensors I am using is just 0x29 (0b0101001) and the address is unchangeable. I checked the datasheet of VL53 and it says the address is 0x52, so I did not suspect address conflict. I notice that the VL53 will initialize using the def...
by unario
Thu Feb 08, 2018 9:58 pm
Forum: Developer Discussions
Topic: Absolute orientation with magnetometer
Replies: 3
Views: 2252

Absolute orientation with magnetometer

Hi, forum, The quaternions from the Kalman estimator seem to give the orientation of the drone relative to the initial position of the drone when it was turned on, instead of absolute orientation with respect to a fixed frame of reference, say the earth. I notice that in the Kalman estimator code of...
by unario
Thu Feb 08, 2018 6:11 pm
Forum: Developer Discussions
Topic: Initialization failed with two decks
Replies: 9
Views: 3505

Re: Initialization failed with two decks

With the latest firmware release, the initialization works fine with the two decks (flow deck and my own). So I guess it was a software issue instead of hardware, but I am not sure. I have a PCB and I don't think there are long wires. I am connecting the bus to an I2C multiplexer (PCA9540B) and I al...
by unario
Wed Feb 07, 2018 8:44 pm
Forum: Developer Discussions
Topic: Initialization failed with two decks
Replies: 9
Views: 3505

Re: Initialization failed with two decks

Hi @arnaud, After some debug print, I found that the execution got stuck here in the function vl53l0xGetSpadInfo: startTimeout(); uint8_t val = 0x00; while (val == 0x00) { i2cdevReadByte(dev->I2Cx, dev->devAddr, 0x83, &val); if (checkTimeoutExpired()) { return false; } }; Any suggestions? Thanks!
by unario
Tue Feb 06, 2018 4:39 pm
Forum: Developer Discussions
Topic: Initialization failed with two decks
Replies: 9
Views: 3505

Initialization failed with two decks

Hi forum, I have made my own deck which communicates with the board using the I2C interface. The crazyflie also connects to a flow deck at the same time. But often (not always), when I turn on the board, the drone cannot finish the initialization. The board is stuck at a point where the two blue LED...
by unario
Mon Jan 15, 2018 4:05 pm
Forum: Developer Discussions
Topic: Where to buy deck female socket
Replies: 4
Views: 2388

Where to buy deck female socket

Hi, forum, I am trying to manufacture my own deck. But I could not find where to buy the 2mm pitch SMD female socket connector. I found this one (https://www.sparkfun.com/products/10030) which is quite similar except that the directions of the pins are opposite to the deck PCB template or the real e...