Search found 630 matches

by kristoffer
Mon Dec 07, 2020 10:47 am
Forum: Loco Positioning System
Topic: LPS with drones as anchors
Replies: 5
Views: 2463

Re: LPS with drones as anchors

Hi! The code looks good to me. The x/y/z should contain the position of the "anchor" and the distance should contain the measured distance to the point. It is possible that an outlier filter would help, but be careful. A kalman filter is essentially designed to use all samples but an outli...
by kristoffer
Mon Dec 07, 2020 10:27 am
Forum: Loco Positioning System
Topic: Base station detection using loco positioning system
Replies: 3
Views: 1503

Re: Base station detection using loco positioning system

With one LPS anchor the only information that will be available is the distance to the anchor, but you would not know the direction. Essentially you would know that you are somewhere on a sphere around the anchor positions and this would not be enough to understand where you are. You would need more...
by kristoffer
Mon Dec 07, 2020 10:17 am
Forum: General discussions
Topic: Getting distance from the base station
Replies: 3
Views: 10330

Re: Getting distance from the base station

If you are using the lighthouse system you need a lighthouse deck (https://store.bitcraze.io/collections/decks/products/lighthouse-positioning-deck) and preferably 2 lighthouse base stations. In this case you would know the position all the time and returning to the starting point would be as simple...
by kristoffer
Mon Dec 07, 2020 10:12 am
Forum: Lighthouse positioning system
Topic: Lighthouse V2 support
Replies: 7
Views: 3103

Re: Lighthouse V2 support

Unfortunately no date but we are working on it continuously. Most of the functionality in the Crazyflie is finished except a mechanism to update the binary in the deck. Apart from that it is mainly client work that remains.
by kristoffer
Mon Dec 07, 2020 7:58 am
Forum: Lighthouse positioning system
Topic: LH Heartbeat inaccuracy
Replies: 1
Views: 1031

Re: LH Heartbeat inaccuracy

This is a known issue we are working on, let me explain why it happens. The rotor in a lh2 base station spins at 50 revolutions/s but with a slight shift in frequency based on the channel it is configured for. The reason is that base stations interfere with each other when the light sweeps hit a sen...
by kristoffer
Wed Dec 02, 2020 10:53 am
Forum: Autonomous flight
Topic: Following a Trajectory with a Swarm
Replies: 1
Views: 1675

Re: Following a Trajectory with a Swarm

Hi!

Yes, the Swarm class is not as easy to use as one would like...

I improved the error reporting a bit, https://github.com/bitcraze/crazyflie-l ... issues/179
Pull in the latest version of the lib and run your code again. Hopefully you will get the call stack of the original exception
by kristoffer
Tue Dec 01, 2020 7:54 am
Forum: Loco Positioning System
Topic: TDOA2_decoder.py
Replies: 4
Views: 1621

Re: TDOA2_decoder.py

I'm not a windows expert, but I think you can pipe in windows as well. I don't have a windows machine to test on, but try something like this: from your normal command prompt (not in python), cd to the root of the repository Then run the scripts python tools\sniffer\sniffer_binary.py | python tools\...
by kristoffer
Mon Nov 30, 2020 11:01 am
Forum: Loco Positioning System
Topic: TDOA2_decoder.py
Replies: 4
Views: 1621

Re: TDOA2_decoder.py

Hi!

The general idea is to pipe the output from the sniffer into the decoder
Assuming you are using a unix shell you should do something like this

Code: Select all

./tools/sniffer/sniffer_binary.py | ./tools/sniffer/tdoa2_decoder.py
by kristoffer
Thu Nov 19, 2020 10:31 am
Forum: Lighthouse positioning system
Topic: ESTKALMAN: State out of bounds, resetting
Replies: 8
Views: 3098

Re: ESTKALMAN: State out of bounds, resetting

Hi! I'm not sure what the problem is, but will take a closer look. We are currently changing a lot for the lighthouse as we are trying to reach a first stable release. We are trying to keep it fairly clean and functional during the process but it is not unlikely that we break something temporarily. ...
by kristoffer
Wed Nov 11, 2020 9:06 am
Forum: Developer Discussions
Topic: Write led sequence to mem api
Replies: 3
Views: 975

Re: Write led sequence to mem api

The

Code: Select all

None
in

Code: Select all

mem[0].write_data(None)
just means that no callback is registered to tell you that the write was actually successful. In the trajectory example we did add a callback (_upload_done()) if you want to check out how to do that.