Search found 110 matches

by kristoffer
Thu Nov 21, 2019 9:05 am
Forum: Loco Positioning System
Topic: Unable to Configure Anchor Positions
Replies: 2
Views: 318

Re: Unable to Configure Anchor Positions

I'll start with a short explanation of how this mechanism works. 1. When you click the "Write to anchors" button, the client sends a message per anchor to the Crazyflie with the new anchor position information. 2. The message is forwarded to the LPS deck that transmits the same information over the ...
by kristoffer
Thu Nov 07, 2019 9:24 am
Forum: General discussions
Topic: How to do PID tuning and log the data
Replies: 2
Views: 121

Re: How to do PID tuning and log the data

Hi! There are a few options for this. If you want to do it from the Client it will be a bit more manual, but it is easy to play around with parameters. You will have to fly manually though, since it is not possible to be connected to the client and a script at the same time. 1. In the client make su...
by kristoffer
Tue Sep 24, 2019 7:56 am
Forum: Autonomous flight
Topic: Swarm with LPS and Polynomial Trajectory
Replies: 2
Views: 247

Re: Swarm with LPS and Polynomial Trajectory

This is interesting (and unexpected)! I assume you are running from python using the Swarm class and the high level commander? You mention that you use polynomial trajectories so that should mean that you upload the trajectories and essentially just send the start command? Is there a lot of other co...
by kristoffer
Mon Aug 12, 2019 12:04 pm
Forum: Bitcraze
Topic: print log in port.c
Replies: 9
Views: 419

Re: print log in port.c

A common solution to let other tasks run, is to wait on a queue
If you search for xQueueReceive you will find a bunch of examples that might give you some inspiration

Good luck!
by kristoffer
Wed Aug 07, 2019 8:08 am
Forum: Loco Positioning System
Topic: Max Distance Ranging
Replies: 11
Views: 1191

Re: Max Distance Ranging

1. If I attach the tag on the drone, and I place the anchor at a distance of 2m, I measure roughly 1.9m with LPS with a 0.1m offset. There is usually some offset, I also think there is some non linearity involved for short distances, probably in the 0.1 m range. 2. However, if I place the tag on a ...
by kristoffer
Tue Aug 06, 2019 11:08 am
Forum: Bitcraze
Topic: print log in port.c
Replies: 9
Views: 419

Re: print log in port.c

But I also think that sys ticks is a periodical setting, so everytime the timer overflows, the ISR function should be run into.Even at the very first beginning, the buffer is not ready , later when the rtos runs normally, the debug info should be printed out. As far as I understand, vPortSetupTimer...
by kristoffer
Tue Aug 06, 2019 9:25 am
Forum: Bitcraze
Topic: print log in port.c
Replies: 9
Views: 419

Re: print log in port.c

I don't think it will be possible to print in the vPortSetupTimerInterrupt() function. I have not checked exactly when it is called in the start up sequence, but it is very likely that sys ticks (very basic OS functionality) is set up before the debug module and that there are not yet any debug buff...
by kristoffer
Wed Jul 31, 2019 9:01 am
Forum: Bitcraze
Topic: Forum Spam Cleanup
Replies: 1
Views: 1004

Re: Forum Spam Cleanup

We have now installed CleanTalk and hope that this will keep the forum clean from spam and rouge users.
Let's hope for the best!

Please let us know if you run into any problems when creating users or posting.
by kristoffer
Wed Jul 31, 2019 8:59 am
Forum: Bitcraze
Topic: How to generate the zip file for upgrade?
Replies: 8
Views: 507

Re: How to generate the zip file for upgrade?

Hi! The zip file is the top level of our releases, bundling binaries from multiple repositories, so this is done in the https://github.com/bitcraze/crazyflie-release repo. The actual ziping is done in https://github.com/bitcraze/crazyflie-release/blob/master/tools/build/package#L50. This script pull...
by kristoffer
Tue Jul 30, 2019 8:52 am
Forum: Developer Discussions
Topic: Automatic propeller test
Replies: 3
Views: 283

Re: Automatic propeller test

To get the text for the console you would have to set up the console logging which is a bit tricky. I would recommend to take a look in the python client source code if you are interested in this. Otherwise I have added log variables that you can use to get the result of the test, see https://github...