Search found 479 matches

by kristoffer
Wed May 05, 2021 8:03 am
Forum: Developer Discussions
Topic: Logging frequency
Replies: 3
Views: 81

Re: Logging frequency

The log framework can not handle that high sampling frequency.

Another options that I can think of is to write data to a RAM buffer and dump it to the console (slowly) after the test is finished. The RAM is fairly limited in size though.
by kristoffer
Wed May 05, 2021 7:56 am
Forum: Quadcopters
Topic: Mellinger and PID controllers
Replies: 7
Views: 221

Re: Mellinger and PID controllers

You can change controller using the stabilizer.controller parameter The available types are defined in https://github.com/bitcraze/crazyflie-firmware/blob/master/src/modules/interface/controller.h#L31-L37 PID = 1 Mellinger = 2 INDI = 3 You can find an example of how to set the parameter from python ...
by kristoffer
Wed May 05, 2021 7:50 am
Forum: Lighthouse positioning system
Topic: No show: map
Replies: 3
Views: 78

Re: No show: map

Hi!

do you get any other realtime information in the client?
by kristoffer
Wed May 05, 2021 7:00 am
Forum: Lighthouse positioning system
Topic: [SOLVED] V2 configuration
Replies: 8
Views: 134

Re: V2 configuration

Hi! First question is if you clicked the "Scan base station" button? My guess is that you did as it found a port (/dev/ttyACM0 in your case). What is missing though is the current channel and id that should have been filled in when the base station was scanned. I don't know exactly what the problem ...
by kristoffer
Tue May 04, 2021 11:28 am
Forum: Loco Positioning System
Topic: How can i get distance from Sniffer mode?
Replies: 6
Views: 245

Re: How can i get distance from Sniffer mode?

I think there is a misunderstanding, I will try to clear it up. In TDoA the anchors are actually doing Two Way Ranging with each other. This is not obvious, but if you look at the third diagram in the TDoA description here https://www.bitcraze.io/documentation/repository/lps-node-firmware/2020.09/fu...
by kristoffer
Tue May 04, 2021 10:57 am
Forum: Loco Positioning System
Topic: How can i get distance from Sniffer mode?
Replies: 6
Views: 245

Re: How can i get distance from Sniffer mode?

This is posted on behalf of cmh0818. Due to some technical issues posting did not work. -------- Well... Actually i forgot the measurement sry.... So i did this experiment again. and this time, i measured the distance between anchors and Tag. anchor 0 and Tag distance was 3.825m anchor 1 and Tag dis...
by kristoffer
Tue May 04, 2021 6:59 am
Forum: Lighthouse positioning system
Topic: Erratic and Conflicting Roll, Pitch and Yaw values.
Replies: 5
Views: 114

Re: Erratic and Conflicting Roll, Pitch and Yaw values.

As a side note: there is some work on-going to convert all values in the firmware to SI-units and I assume all angles would be converted to radians as well (radians is a valid assumption). Not sure when it will happen but it would make life easier.
by kristoffer
Tue May 04, 2021 6:54 am
Forum: Lighthouse positioning system
Topic: Erratic and Conflicting Roll, Pitch and Yaw values.
Replies: 5
Views: 114

Re: Erratic and Conflicting Roll, Pitch and Yaw values.

Hi!

Roll, pitch and yaw are all in degrees, I think it looks pretty good :-)
by kristoffer
Mon May 03, 2021 12:43 pm
Forum: Loco Positioning System
Topic: How can i get distance from Sniffer mode?
Replies: 6
Views: 245

Re: How can i get distance from Sniffer mode?

Yes, that looks OK :-) Was the distance between anchor 0 and 1 about 0.35m when you did the measurement? Note that that this is the measured distance between the anchors. From your data you can see that anchor 1 is reporting that the distance to anchor 0 is 02 81 => 33026 => 0.35 m while anchor 0 is...
by kristoffer
Fri Apr 30, 2021 8:37 am
Forum: Loco Positioning System
Topic: How can i get distance from Sniffer mode?
Replies: 6
Views: 245

Re: How can i get distance from Sniffer mode?

Hi! Yes, in the TDoA modes the anchors are essentially doing TWR with each other, and as a "side effect" Tags can extract TDoA data by listening to the packets. You can use either TDoA2 or TDoA3, I would personally use TDoA3 since it is more robust but both should work. There is some documentation i...