Flow Deck issues
Flow Deck issues
Hello,
I have setup the flow deck on the crazyflie but no I'm having issues when I run the sequence code example the motors start really hard and after that the red led will stop blinking and keep being on until I restart the crazyflie so it is not working
any idea how I deal wih this ?
I have setup the flow deck on the crazyflie but no I'm having issues when I run the sequence code example the motors start really hard and after that the red led will stop blinking and keep being on until I restart the crazyflie so it is not working
any idea how I deal wih this ?
Re: Flow Deck issues
I think that the first time I mounted it with the x inside the circle facing down but the arrow was not facing to the front of the crazyflie would that cause the deck to be damaged because now I'm putting it in the right position and when I launch the script the crazyflie gets all crazy and unstable
Re: Flow Deck issues
My initial thought, have you flashed the latest FW to the CR2?
Re: Flow Deck issues
Yes I did 06/2017
Re: Flow Deck issues
This is what I get after I execute the flowseq script and restart the crazyflie
SYS: ----------------------------
SYS: Crazyflie 2.0 is up and running!
SYS: Build 0:ab6d531c7ca7 (2017.06) CLEAN
SYS: I am 0x31313931353551143A004E and I have 1024KB of flash!
CFGBLK: v1, verification [OK]
DECK_DRIVERS: Found 10 drivers
DECK_INFO: Found 1 deck memory.
DECK_CORE: 1 deck enumerated
Motion chip is: 0x49
si pihc noitoM: 0xB6
MPU9250 I2C connection [OK].
AK8963 I2C connection [OK].
LPS25H I2C connection [OK].
ESTIMATOR: Using estimator 2
EEPROM: I2C connection [OK].
MPU6500: Self test gyro X [FAIL]. low: -14.0, high: 14.0, measured: -45.28
MPU6500: Self test gyro Y [FAIL]. low: -14.0, high: 14.0, measured: 52.77
MPU6500: Self test gyro X [FAIL]. low: -14.0, high: 14.0, measured: 14.60
MPU6500: Self test gyro Y [FAIL]. low: -14.0, high: 14.0, measured: -16.44
MPU6500: Self test acc X [FAIL]. low: -14.0, high: 14.0, measured: 15.31
AK8963: Self test [OK].
DECK_CORE: Deck 0 test [OK].
SYS: Free heap: 15344 bytes
SYS: ----------------------------
SYS: Crazyflie 2.0 is up and running!
SYS: Build 0:ab6d531c7ca7 (2017.06) CLEAN
SYS: I am 0x31313931353551143A004E and I have 1024KB of flash!
CFGBLK: v1, verification [OK]
DECK_DRIVERS: Found 10 drivers
DECK_INFO: Found 1 deck memory.
DECK_CORE: 1 deck enumerated
Motion chip is: 0x49
si pihc noitoM: 0xB6
MPU9250 I2C connection [OK].
AK8963 I2C connection [OK].
LPS25H I2C connection [OK].
ESTIMATOR: Using estimator 2
EEPROM: I2C connection [OK].
MPU6500: Self test gyro X [FAIL]. low: -14.0, high: 14.0, measured: -45.28
MPU6500: Self test gyro Y [FAIL]. low: -14.0, high: 14.0, measured: 52.77
MPU6500: Self test gyro X [FAIL]. low: -14.0, high: 14.0, measured: 14.60
MPU6500: Self test gyro Y [FAIL]. low: -14.0, high: 14.0, measured: -16.44
MPU6500: Self test acc X [FAIL]. low: -14.0, high: 14.0, measured: 15.31
AK8963: Self test [OK].
DECK_CORE: Deck 0 test [OK].
SYS: Free heap: 15344 bytes
Re: Flow Deck issues
and when I do task dump I get this
SYS: Assert failed at src/modules/src/sysload.c:89
and the red led blinks three times in a raw
SYS: Assert failed at src/modules/src/sysload.c:89
and the red led blinks three times in a raw
Re: Flow Deck issues
Looks like the flow deck is initiated correctly which I can see from this output:
The problems from the MPU6500 could be because you hold the CF2 in the hand. If you remove the flow deck and turn it on and place it on a stable surface what does the console output say then?
Code: Select all
DECK_CORE: 1 deck enumerated
Motion chip is: 0x49
si pihc noitoM: 0xB6
Re: Flow Deck issues
this is the output
SYS: ----------------------------
SYS: Crazyflie 2.0 is up and running!
SYS: Build 0:ab6d531c7ca7 (2017.06) CLEAN
SYS: I am 0x31313931353551143A004E and I have 1024KB of flash!
CFGBLK: v1, verification [OK]
DECK_DRIVERS: Found 10 drivers
DECK_INFO: Found 1 deck memory.
DECK_CORE: 1 deck enumerated
Motion chip is: 0x49
si pihc noitoM: 0xB6
MPU9250 I2C connection [OK].
AK8963 I2C connection [OK].
LPS25H I2C connection [OK].
ESTIMATOR: Using estimator 2
EEPROM: I2C connection [OK].
AK8963: Self test [OK].
DECK_CORE: Deck 0 test [OK].
SYS: Free heap: 15344 bytes
But when I launch the flowsequence script again it get unstable after that the red LED is on all the time and not blinking and the error is back again
SYS: ----------------------------
SYS: Crazyflie 2.0 is up and running!
SYS: Build 0:ab6d531c7ca7 (2017.06) CLEAN
SYS: I am 0x31313931353551143A004E and I have 1024KB of flash!
CFGBLK: v1, verification [OK]
DECK_DRIVERS: Found 10 drivers
DECK_INFO: Found 1 deck memory.
DECK_CORE: 1 deck enumerated
Motion chip is: 0x49
si pihc noitoM: 0xB6
MPU9250 I2C connection [OK].
AK8963 I2C connection [OK].
LPS25H I2C connection [OK].
ESTIMATOR: Using estimator 2
EEPROM: I2C connection [OK].
AK8963: Self test [OK].
DECK_CORE: Deck 0 test [OK].
SYS: Free heap: 15344 bytes
But when I launch the flowsequence script again it get unstable after that the red LED is on all the time and not blinking and the error is back again
Re: Flow Deck issues
One other thing when I connect it to the client on my mac the actual height value is always 0.00
Re: Flow Deck issues
That might be something, maybe there is a problem with the VL53L0 distance sensor. Can you create a log block and plot the range.zrange value with the flow deck connected.One other thing when I connect it to the client on my mac the actual height value is always 0.00