Page 1 of 1

RED light in anchor ranging for TDOA anchor

Posted: Sat Oct 21, 2017 11:48 pm
by chilli65
I couldnt get the anchor ranging status to GREEN for TDOA mode, even after I key in the position. Is it normal?

Re: RED light in anchor ranging for TDOA anchor

Posted: Mon Oct 23, 2017 1:26 pm
by tobias
The TDOA algorithm is not using the GREEN led (only TWR) so it should be fine.

Re: RED light in anchor ranging for TDOA anchor

Posted: Mon Nov 06, 2017 2:46 pm
by chilli65
Do I need to set the anchor position for TDOA as like TWR? I am unable to set the position. Please advise. Sorry that I am asking such a noob questions.

Re: RED light in anchor ranging for TDOA anchor

Posted: Mon Nov 06, 2017 3:07 pm
by kristoffer
The TDoA mode is still experimental and the client is only supporting the default Two Way ranging mode. Some functionality is shared though and is useful in TDoA mode as well.

The position of anchors must be set in the firmware code for TDoA. Set the anchor positions in src/deck/drivers/src/locodeck.c, line 127. If you have more than 6 anchors add more positions and also update LOCODECK_NR_OF_ANCHORS in src/deck/drivers/interface/locodeck.h to the appropriate nr of anchors. Compile the firmware using the LPS_TDOA_ENABLE=1 flag and flash to the Crazyflie

In the Loco Positioning tab, the following functionality is working/not working when using TDoA
* Anchor positions and estimated position in graphs, in "Position estimation" mode - working
* "Anchor identification" mode - NOT working
* Anchor ranging status - NOT working (always red)
* "Get from anchors" button - working. It will retrieve the anchor positions and set the spin boxes, these are the numbers from the locodeck.c file.
* "Write to anchors" button - NOT working. Set anchor positions in the locodec.c file

Re: RED light in anchor ranging for TDOA anchor

Posted: Tue Nov 07, 2017 4:17 pm
by chilli65
Does the timestamp in the .anchorPosition denote the node number? E.g. node 1 is timestamp 1?

Re: RED light in anchor ranging for TDOA anchor

Posted: Wed Nov 08, 2017 9:52 am
by kristoffer
I'm not sure which timestamp you are referring to, could you please provide some more context.
If the question is not directly related to the original topic, please start a new topic