Flowdeck is not working properly

Post here to get support
Post Reply
massout
Beginner
Posts: 1
Joined: Mon May 23, 2022 12:43 pm

Flowdeck is not working properly

Post by massout »

Flowdeck measures altitudate data incorrectly. While the drone is standing on a stable ground, when we look over the cfclient, the drone appears to be standing at 1136 meters. Also it is not reading flowdeck software. Although we formatted Flowdeck but we cannot install the driver.

Code: Select all

SYS: Crazyflie 2.1 is up and running!
SYS: Build 0:8c606d1f8f89 (2022.05) CLEAN
SYS: I am 0x203936564E4B50190025004C and I have 1024KB of flash!
CFGBLK: v1, verification [OK]
DECK_INFO: Warning! No driver found for deck.
DECK_CORE: 1 deck(s) found
IMU: BMI088: Using I2C interface.
IMU: BMI088 Gyro connection [OK].
IMU: BMI088 Accel connection [OK]
IMU: BMP388 I2C connection [OK]
ESTIMATOR: Using Complementary (1) estimator
CONTROLLER: Using PID (1) controller
MTR-DRV: Using brushed motor driver
SYS: About to run tests in system.c.
SYS: NRF51 version: 2022.0
EEPROM: I2C connection [OK].
STORAGE: Storage check [OK].
IMU: BMI088 gyro self-test [OK]
SYS: Self test passed!
STAB: Wait for sensor calibration...
SYS: Free heap: 20552 bytes
STAB: Ready to fly.
Attachments
Screenshot from 2022-05-23 15-39-43.png
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: Flowdeck is not working properly

Post by tobias »

It looks like the flow deck is not identified correctly. Possibly the 1-wire memory is corrupt or empty. Please try the following (assuming crazyflie-lib-python has been installed).
  • Download the write-ow-flow2.py python script
  • Connect only the flow v2 deck to the CF2.1, no other decks
  • Power on the CF2.1 and done have any other CF2.1 powered on.
  • Run the script above with "python write-ow-flow2.py"
  • The script should now connect and write the flow2 deck data to the 1-wire memory.
  • Restart the CF2.1 and hopefully now the flow2 deck works.
Attachments
write-ow-flow2.py
(5.89 KiB) Downloaded 334 times
Post Reply