Page 1 of 1

loco positioning No data displayed

Posted: Fri Mar 23, 2018 11:39 am
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

Re: loco positioning No data displayed

Posted: Mon Mar 26, 2018 10:25 am
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: ... #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 ;-).