Search found 477 matches

by kristoffer
Mon May 10, 2021 12:44 pm
Forum: Lighthouse positioning system
Topic: Receiving and Estimator Problem V2
Replies: 3
Views: 25

Re: Receiving and Estimator Problem V2

It sounds like there is some problem receiving the base stations. How long are the base stations green and red? What happens if you hold the Crazyflie up towards one of the base stations so that the other base station is not visible from the Crazyflie? Is that base station stable on green in the cli...
by kristoffer
Mon May 10, 2021 12:21 pm
Forum: Developer Discussions
Topic: PositionHlCommander Localization system
Replies: 8
Views: 90

Re: PositionHlCommander Localization system

as far as I understood, the position is set in the init of PositionHlCommander class, but then I see no other function changing it. Will it be automatically updated on a low level at every new send_extpose command? The PositionHlCommander uses the initial position and adds any motion to it to keep ...
by kristoffer
Mon May 10, 2021 11:54 am
Forum: Lighthouse positioning system
Topic: [SOLVED] V2 configuration
Replies: 8
Views: 98

Re: [SOLVED] V2 configuration

Great!

Yes, the ID is a unique ID for each base station
by kristoffer
Fri May 07, 2021 6:59 am
Forum: Lighthouse positioning system
Topic: [SOLVED] V2 configuration
Replies: 8
Views: 98

Re: V2 configuration

I think the problem might be that your uses needs to be a member of the dialout grouop to access the serial port sudo adduser $USER dialout We have documented this for the LPS Tools (https://github.com/bitcraze/lps-tools/blob/master/readme.md#usb-access-right-on-linux) that also uses the serial port...
by kristoffer
Thu May 06, 2021 11:57 am
Forum: Developer Discussions
Topic: Logging frequency
Replies: 3
Views: 44

Re: Logging frequency

Yes, the SD card should be able to handle 500 Hz. The main limitation for the SD-card is the total data rate. Data is stored in RAM buffers (512 bytes I think) that are written to the SD card when full. If you log faster than can be written to the card, it will be discarded. When you stop logging I ...
by kristoffer
Thu May 06, 2021 11:46 am
Forum: Quadcopters
Topic: Mellinger and PID controllers
Replies: 7
Views: 128

Re: Mellinger and PID controllers

Ah, I see. The mellinger is more sensitive to errors in the position estimate and it is mainly useful with a good mocap system. I do not know a lot about the INDI controller, but I don't think it works without some tweaking. I think the PID controller is the best option for the flow deck, it is robu...
by kristoffer
Thu May 06, 2021 11:38 am
Forum: Lighthouse positioning system
Topic: [SOLVED] V2 configuration
Replies: 8
Views: 98

Re: V2 configuration

Great dumps, exactly what I was hoping for. Thanks! Unfortunately it looks very much like what I get on my base station so I don't know why it does not work on your setup. I tested on a base station with the exact same FW as your base station and it works, so that does not seem to be the problem. Co...
by kristoffer
Thu May 06, 2021 9:47 am
Forum: Lighthouse positioning system
Topic: No show: map
Replies: 3
Views: 52

Re: No show: map

If the position in the "Crazyflie status" is updated continuously my guess is that there is some issue with the 3D rendering since is seems as data is available. Could you tell us a bit more about the system you are using? Are you using a VM or not, python version, client version, python lib version...
by kristoffer
Wed May 05, 2021 8:03 am
Forum: Developer Discussions
Topic: Logging frequency
Replies: 3
Views: 44

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: 128

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 ...