Page 1 of 2

Loco Positioning System Setup

Posted: Mon Aug 14, 2017 11:40 pm
by aeladl
Hi,

I have set up the loco positioning system exactly as described on the website but when I enter the positions of the nodes in the client and hit "write to nodes" nothing happens no matter how many times I retry or restart. 2 nodes are depicted correctly on the maps below but the others are just stacked at (0,0). When I look at the nodes the one led is blue, the other yellow, and the ranging led is usually red but it turns off when I tilt it in the right way. Hope you can let me know what the problem is as I have to get this working in a day or two at most. Sorry that I don't have detailed info as I do not have the stuff with me right now. Thanks.

-Alex

Re: Loco Positioning System Setup

Posted: Tue Aug 15, 2017 7:56 am
by arnaud
Hi Alex,

I have a couple of questions to understand a bit more the problem:

- How many nodes are you using?
- Have you setup 6 nodes with ID from 0 to 5?
- Do you see all anchor ranging status GREEN in the lps tab?
- What is the color of the anchor position fields?

Re: Loco Positioning System Setup

Posted: Tue Aug 15, 2017 3:05 pm
by aeladl
Hi Arnaud,

1) I am using 6 nodes.
2) The firmware of them as well as the drone is up to date and they are indexed 0-5.
3) The anchor ranging status does not appear in the lps tab as show in the tutorial. Those boxes are just not there.
4) The anchor position fields stay white no matter what I do. They never turn red or green.

Thanks,
Alex

Re: Loco Positioning System Setup

Posted: Wed Aug 16, 2017 9:49 am
by arnaud
Hi Alex,

For 3) it means that you have an old client, this is the first things to solve. If you got the client from source it could be that you are on the 'develop' branch and not on the master branch. You can solve that by changing branch and pulling the latest version:

Code: Select all

git checkout master
git pull
If you are using a binary version, you should download the latest one.

/Arnaud

Re: Loco Positioning System Setup

Posted: Wed Aug 16, 2017 3:55 pm
by aeladl
Thank you very much Arnaud. However this still does not solve the problem that nodes 0 and 1 are always green in the ranging in client even when they are off and 2, 3, 4, and 5 are always red even when in range.

Re: Loco Positioning System Setup

Posted: Wed Aug 16, 2017 7:13 pm
by arnaud
Could you double check the ID in the nodes? You can do that either by reprogramming the ID with the GUI or by opening the node serial port in a terminal, the current node ID will be displayed. If 0 and 1 are green even if they are OFF, it is likely that other nodes are setup to ID 0 and 1.
Just to check: are you using the latest version of the crazyflie firmware as well?

Re: Loco Positioning System Setup

Posted: Thu Aug 17, 2017 3:47 am
by aeladl
I will try this tomorrow but there did not seem to be certain nodes that caused this. I will reflash and reconfigure everything and let you know how it goes.

Re: Loco Positioning System Setup

Posted: Sat Jun 02, 2018 9:32 am
by teihoshi
arnaud wrote: Tue Aug 15, 2017 7:56 am Hi Alex,

I have a couple of questions to understand a bit more the problem:

- How many nodes are you using?
- Have you setup 6 nodes with ID from 0 to 5?
- Do you see all anchor ranging status GREEN in the lps tab?
- What is the color of the anchor position fields?
hi, arnaud,
I meet with a similar problem to Alex's.
1) I am using 6 nodes.
2) The firmware of them as well as the drone is up to date and they are indexed 0-5.The cfclient is the latest.
3) All the six anchors,from 0 to 5, in the crazyflie status tab, are green.
4) But the anchor position fields stay white no matter what I do. They never turn red or green.
It turns out like this
TIM20180601151951.png
Hope you can give me some suggestions,thanks!

Re: Loco Positioning System Setup

Posted: Mon Jun 04, 2018 10:45 am
by arnaud
Thanks for the detailed description :).
Have you tried to program the anchor position anyway with the write button? If there is no anchor position at all in the anchor it is possible that the fields stays white.

Re: Loco Positioning System Setup

Posted: Tue Apr 30, 2019 5:24 am
by Andy
Hi Arnaud,

I have a very similar problem to teihoshi, the anchor position fields stay white no matter what I do and the anchors do not show in the graphic.

Depending on which Crazyflie I use, I can sometimes also not connect to all anchors. Do you know how I can fix these issues?

Regards, Andy
Screenshot from 2019-04-30 15-17-44.png