loco positioning No data displayed

Discussions about all things Bitcraze
Post Reply
Posts: 19
Joined: Thu Mar 22, 2018 6:34 am

loco positioning No data displayed

Post by skeletonSir »

Why does the client have no location data?

Self-check data is adopted.

SYS: Crazyflie 2.0 is up and running!
SYS: Build 21:5383d70b2114 (2018.01.1-21) MODIFIED
SYS: I am 0x3830373833365106003F0059 and I have 1024KB of flash!
CFGBLK: v1, verification [OK]
DECK_DRIVERS: Found 11 drivers
DECK_INFO: Found 0 deck memory.
DECK_INFO: compile-time forced driver bcDWM1000 added
DECK_CORE: 1 deck enumerated
MPU9250 I2C connection [OK].
AK8963 I2C connection [OK].
LPS25H I2C connection [OK].
ESTIMATOR: Using estimator 2
PLATFORM: Low interference mode. NRF51 TX power reduced by -12db.
EEPROM: I2C connection [OK].
AK8963: Self test [OK].
DECK_CORE: Deck 0 test [OK].
SYS: Free heap: 16456 bytes
DWM: Automatic mode: detected TWR

Posts: 2275
Joined: Tue Feb 06, 2007 12:36 pm

Re: loco positioning No data displayed

Post by arnaud »

The LPS tab is detecting the LPS deck presence from the deck memory presence, since your deck does not have a programmed memory it is not detected. You can force the tab to enable by changing this line: https://github.com/bitcraze/crazyflie-c ... #L662-L663

Ideally we should check deck presence using parameters which allows to check forced driver. Apparently the LPS deck enable parameter has already been added, if you want to add a check of the parameter to the tab detection a pull request is welcome ;-).

Post Reply