Search found 1832 matches

by arnaud
Wed Jan 16, 2019 9:18 am
Forum: Loco Positioning System
Topic: Crazyflie choose a LPSAnchor to communicate
Replies: 3
Views: 51

Re: Crazyflie choose a LPSAnchor to communicate

Hi, after each ranging this code is executed: https://github.com/bitcraze/crazyflie-firmware/blob/master/src/deck/drivers/src/lpsTwrTag.c#L376-L425. More precisely, the next anchor to range with is decided in the "initiate_ranging()" function: https://github.com/bitcraze/crazyflie-firmware/blob/mast...
by arnaud
Wed Jan 16, 2019 9:11 am
Forum: Loco Positioning System
Topic: TWR to TDoA2 Mode Failure
Replies: 2
Views: 56

Re: TWR to TDoA2 Mode Failure

Hi, First of all, you should check that you have the latest firmware version both in the Crazyflie and in the LPS nodes. When switching mode it is normal that all anchor goes 'red', but they should re-appear when you switch the Crazyflie to the new mode. [A1]: Yes you can set the TDoA mode in the LP...
by arnaud
Wed Jan 16, 2019 9:02 am
Forum: Loco Positioning System
Topic: EKF variance and CMSIS nan values
Replies: 2
Views: 37

Re: EKF variance and CMSIS nan values

With what firmware version have you observed this? We have seen some occurence of the EKF diverging mostly when starting the Crazyflie well outside the TDOA system. We have tried to isolate the points where a NaN could appear and solve it over time but maybe there is still some left. Can you see a p...
by arnaud
Mon Jan 07, 2019 2:31 pm
Forum: Developer Discussions
Topic: Implementing ble mesh on CF2
Replies: 1
Views: 61

Re: Implementing ble mesh on CF2

Hi, Updating the bluetooth stack is possible but if you want to work with that you should install a debug adapter to your Crazyflie and use an SWD debugger to flash and debug your firmware. The reason is that the bootloader is using the softdevice and so updating the softdevice means losing the boot...
by arnaud
Mon Jan 07, 2019 10:31 am
Forum: Developer Discussions
Topic: Limit on # of Decks?
Replies: 6
Views: 104

Re: Limit on # of Decks?

The Qi deck needs to be very close to the charger in order to work and it does not have through-holes to mount a deck bellow it so it needs to be the deck at the bottom.
by arnaud
Tue Dec 18, 2018 10:07 am
Forum: Developer Discussions
Topic: Flow deck initiation
Replies: 4
Views: 150

Re: Flow deck initiation

Hi, What to do depends of what is your goal. If you want to make you Crazyflie autonomous, you can control the Crazyflie from a python script or by modifying the firmware itself. Making a python script is the easiest and is most likely what you want to start with. In that case you will still have a ...
by arnaud
Thu Dec 13, 2018 10:12 am
Forum: Developer discussions
Topic: info about scheduling in loco position system
Replies: 1
Views: 348

Re: info about scheduling in loco position system

Hi, In what mode are you running the LPS system? TWR and TDoA2 have fixed packet scheduling (012345670...), TDoA3 is completely random. The best way to observe what is happening is to use an UWB sniffer, you can switch one of your node in sniffer mode by connecting a serial port terminal program to ...
by arnaud
Thu Dec 13, 2018 6:30 am
Forum: Developer Discussions
Topic: Battery management module for Python
Replies: 2
Views: 75

Re: Battery management module for Python

Hi, Yes this is doable but not with a ready-to-use battery module, though such a module might actually be a good idea to have now that the Crazyflie is more autonomous. The way to do it for now is like a lot of things with Crazyflie: setting up a log. You can log "pm.batteryLevel" to get a number fr...
by arnaud
Wed Dec 12, 2018 1:20 pm
Forum: Support
Topic: [SOLVED] LP deck turns off when both LP and Flow v2 decks are mounted
Replies: 2
Views: 75

Re: LP deck turns off when both LP and Flow v2 decks are mounted

You are most likely hitting this bug: https://github.com/bitcraze/crazyflie-f ... issues/368. The bug only seems to be present in TWR mode, so if you switch to TDoA it should work fine.
by arnaud
Wed Dec 12, 2018 7:54 am
Forum: Loco Positioning System
Topic: Positioning deck suddenly stopped working- appears broken
Replies: 4
Views: 102

Re: Positioning deck suddenly stopped working- appears broken

I actually meant the Crazyflie console in the console tab of the client, I am interested to see if there is any error message in there and if the deck memory has been detected at all.