Search found 518 matches

by kristoffer
Thu Jun 17, 2021 7:52 am
Forum: External positioning systems
Topic: How to set the default filter be kalman filter?
Replies: 8
Views: 115

Re: How to set the default filter be kalman filter?

I think your code looks OK. I tried to run it (without any decks) and got stateEstimate [0.9950857758522034, 2.0081491470336914, 2.9997260570526123] stateEstimate [0.9948585033416748, 2.0085127353668213, 2.9997098445892334] stateEstimate [0.9946269392967224, 2.0088863372802734, 2.9996941089630127] W...
by kristoffer
Wed Jun 16, 2021 8:54 am
Forum: Loco Positioning System
Topic: Ranging Light on Anchors Flickers, Connection Intermittent
Replies: 12
Views: 667

Re: Ranging Light on Anchors Flickers, Connection Intermittent

Interesting that you see the same problem on OSX

One more thing to try out would be to plot the "Pose" log block in the plotter. This log block is created by the client and is used to display the position, it should be very similar to the block you created but also contains roll, pitch and yaw.
by kristoffer
Wed Jun 16, 2021 8:37 am
Forum: Loco Positioning System
Topic: Automating position finding for anchors
Replies: 3
Views: 42

Re: Automating position finding for anchors

Now that I'm thinking of it, though, that would probably constrain the location of the anchors too much for my application When I played with this I think I used 3 positions of the CF to define the coordinate system: The first defined the origin The second was somewhere along the positive x-axis to...
by kristoffer
Wed Jun 16, 2021 5:37 am
Forum: External positioning systems
Topic: How to change the LED color at the same time?
Replies: 3
Views: 70

Re: How to change the LED color at the same time?

What you want to do is to set the parameter ring.fadeColor to the appropriate value. The example uses the cflib and not ROS as you noted and that is why you can not call the function. I don't use ROS my self but you probably need to start by figuring out how to set parameters. When you know how to s...
by kristoffer
Wed Jun 16, 2021 5:27 am
Forum: External positioning systems
Topic: How to set the default filter be kalman filter?
Replies: 8
Views: 115

Re: How to set the default filter be kalman filter?

The easiest way is to set the parameter stabilizer.estimator to 2 (an example in https://github.com/bitcraze/crazyflie-lib-python/blob/0.1.15/examples/qualisys/qualisys_hl_commander.py#L250) The difference of doing it through the config.mk file is that it will change the default value and the kalman...
by kristoffer
Tue Jun 15, 2021 6:31 am
Forum: Lighthouse positioning system
Topic: Failed Assert in .//src/utils/interface/cf_math.h:78
Replies: 3
Views: 256

Re: Failed Assert in .//src/utils/interface/cf_math.h:78

Did you switch both the Crazyflie and Lighthouse deck? If you have access to two CFs and decks it would be interesting to know which permutations of CFs and decks that trigger the assert to figure out if the problem is in the CF or deck.
by kristoffer
Tue Jun 15, 2021 6:27 am
Forum: Loco Positioning System
Topic: Automating position finding for anchors
Replies: 3
Views: 42

Re: Automating position finding for anchors

Hi! This should be possible to do, but we never put enough time into a working solution. I did write some code a few years ago but I did not think it was good enough and threw it away. You need different approaches depending on which mode you are using. In TWR you get the distance from the CF to eac...
by kristoffer
Fri Jun 11, 2021 8:06 am
Forum: Loco Positioning System
Topic: Ranging Light on Anchors Flickers, Connection Intermittent
Replies: 12
Views: 667

Re: Ranging Light on Anchors Flickers, Connection Intermittent

Perfect, thanks! The console log looks OK, no problem there. I also think the plot looks pretty OK. My guess is that the Crazyflie is working but the main problem is the client I think the first thing to do is to get the client stable, it seems to be a bit shaky which makes it hard to understand if ...
by kristoffer
Fri Jun 11, 2021 6:49 am
Forum: Lighthouse positioning system
Topic: Failed Assert in .//src/utils/interface/cf_math.h:78
Replies: 3
Views: 256

Re: Failed Assert in .//src/utils/interface/cf_math.h:78

Yeah, the problem with the assert log is that it does not give you any clue of what code that called the arm_sqrt(). What firmware are you using? Do you see this problem on the latest official release (2021.03) flashed from the python client as well? As far as I know, we have not heard about similar...