Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No deck init parameter for lighthouse deck #439

Closed
benkuper opened this issue Jun 30, 2019 · 3 comments
Closed

No deck init parameter for lighthouse deck #439

benkuper opened this issue Jun 30, 2019 · 3 comments
Milestone

Comments

@benkuper
Copy link

benkuper commented Jun 30, 2019

After rebuilding the firmware with #define DISABLE_LIGHTHOUSE_DRIVER 0,
the bcLighthouse4 deck doesn't show up in the param list

EDIT : the console callback shows

SYS: ----------------------------
SYS: Crazyflie 2.1 is up and running!
19.02 +70) MODIFIED
SYS: I am 0x203937434848500E003A003F and I have 1024KB of flash!
CFGBLK: v1, verification [OK]
DECK_CORE: 2 deck(s) found
DECK_CORE: Calling INIT on driver bcLighthouse4 for deck 0
DECK_CORE: Calling INIT on driver bcLedRing for deck 1
IMU: BMI088 Gyro I2C connection [OK].
IMU: BMI088 Accel I2C connection [OK]
IMU: BMP388 I2C connection [OK]
ESTIMATOR: Using Kalman (2) estimator
CONTROLLER: Using PID (1) controller
EEPROM: I2C connection [OK].
STAB: Wait for sensor calibration...
SYS: Free heap: 10176 bytes
LH: Lighthouse bootloader version: 2
STAB: Ready to fly.
LH: Firmware version 1 verified, booting deck!
LH: Synchronized!

so it is recognized in the firmware

no_lighthouse_deck

@ataffanel
Copy link
Member

The console shows that the desk is initialized and you should see the red LED on the deck turning off ~4 seconds after startup which indicates that the deck is running.

Though, the deck init parameter for this deck has not been created yet and it should be.

@ataffanel ataffanel changed the title Lighthouse driver not init even with DISABLE_LIGHTHOUSE_DRIVER = 0 No deck init parameter for lighthouse deck Jul 1, 2019
@benkuper
Copy link
Author

benkuper commented Jul 1, 2019

The red leds turns off indeed after 4 seconds, but isn't it weird that the deck doesn't show up in the list ?

@ataffanel
Copy link
Member

This list is manually made on the firmware side, as I said this parameter should be added into the lighthouse deck driver. I will add it and close this ticket.

@krichardsson krichardsson added this to the next-release milestone Aug 12, 2019
cafeciaojoe pushed a commit to cafeciaojoe/crazyflie-firmware that referenced this issue Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants