Search found 9 matches

by huizerd
Wed Oct 27, 2021 9:27 am
Forum: Loco Positioning System
Topic: Big jumps in LPS position in one spot
Replies: 8
Views: 15303

Re: Big jumps in LPS position in one spot

Thanks! We have indeed set the tx power on both crazyflie and anchors to max. And indeed, we're logging the ranging.distance0-7 variables. We'll try with adding the rejection of negative values; if it works, I'll let you know and we could maybe put it in master. Also, I saw that there's another &quo...
by huizerd
Wed Oct 27, 2021 6:08 am
Forum: Loco Positioning System
Topic: Big jumps in LPS position in one spot
Replies: 8
Views: 15303

Re: Big jumps in LPS position in one spot

Yes, the anchors are in the corners of the flight space, which is 8x16x3 (xyz) meters. We did two flights where the drone was controlled manually (data shown before), and it seems to be roughly the same spot. The anchor distance logging also shows that in both cases, anchor 2 gives weird measurement...
by huizerd
Thu Oct 21, 2021 8:58 am
Forum: Loco Positioning System
Topic: Big jumps in LPS position in one spot
Replies: 8
Views: 15303

Re: Big jumps in LPS position in one spot

I have more data from another flight, also with these strange jumps and missing data. But now, we also logged the individual TWR distances. Also, we observed that a disconnect happened during the flight, which could explain the missing data? Please find the plots below. Thanks!

bitcraze.png
by huizerd
Wed Oct 20, 2021 10:59 am
Forum: Loco Positioning System
Topic: Big jumps in LPS position in one spot
Replies: 8
Views: 15303

Big jumps in LPS position in one spot

Hi all, Our setup involves a larger drone with a Crazyflie 2.1 strapped on top for position estimation in combination with 8 LPS nodes. When flying a rectangle in XY, the position estimate seems to be correct most of the time, however large jumps in position occur in one of the corners, and sometime...
by huizerd
Tue Aug 31, 2021 11:51 am
Forum: Developer Discussions
Topic: Code for automatic reconnect
Replies: 2
Views: 993

Re: Code for automatic reconnect

Hi Jonas,

Thanks! Using the callbacks gave me recursive reconnection attempts, but creating a separate reconnect function that is called in an outside loop worked for me.
by huizerd
Fri Aug 27, 2021 2:59 pm
Forum: Developer Discussions
Topic: Code for automatic reconnect
Replies: 2
Views: 993

Code for automatic reconnect

Hi all, I'm working with the basic asynchronous logging example (https://github.com/bitcraze/crazyflie-lib-python/blob/master/examples/basiclog.py) and trying to 1) keep trying to make an initial connection until it finds a Crazyflie, and 2) keep trying to reconnect if the logger has lost connection...
by huizerd
Tue Aug 03, 2021 12:01 pm
Forum: Developer Discussions
Topic: CPU usage when logging from Raspberry Pi
Replies: 2
Views: 1598

Re: CPU usage when logging from Raspberry Pi

Hi Arnaud,

Alright, that's good to know. Thanks for the suggestions, we'll try them out. Looking forward to the new radio ;)

Jesse
by huizerd
Mon Aug 02, 2021 7:56 am
Forum: Developer Discussions
Topic: CPU usage when logging from Raspberry Pi
Replies: 2
Views: 1598

CPU usage when logging from Raspberry Pi

Hi all, When running the basic asynchronous logging example (https://github.com/bitcraze/crazyflie-lib-python/blob/master/examples/basiclog.py) on a Raspberry Pi 4, we found that it used up more than 30% of the CPU, even with the logging frequency set to 1 Hz. Is this known, or might there be someth...