Search found 108 matches

by kristoffer
Tue Sep 24, 2019 7:56 am
Forum: Autonomous flight
Topic: Swarm with LPS and Polynomial Trajectory
Replies: 2
Views: 159

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

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

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

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

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

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

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

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...
by kristoffer
Thu Jul 25, 2019 8:26 am
Forum: Developer Discussions
Topic: Understanding the Controller Structure
Replies: 4
Views: 796

Re: Understanding the Controller Structure

Sounds reasonable to me
Unrelated: Is there any reason the thrust field in control_t is a float while the others are int16?
Not sure. When something is a bit weird it is usually due to historical reasons
by kristoffer
Tue Jul 23, 2019 10:56 am
Forum: Developer Discussions
Topic: Understanding the Controller Structure
Replies: 4
Views: 796

Re: Understanding the Controller Structure

Hi! I'm not an expert on the controllers but I'll give it a go 1. The modeAbs and modeVelocity signals if a setpoint value contains a coordinate or velocity so that the controller knows if it should do position or velocity control. Since your controller mainly is for educational purposes you probabl...