Page 1 of 1

[FEATURE ADDED] CareFree Mode

Posted: Thu Aug 14, 2014 10:44 pm
by capriele
I've added carefree mode in crazyflie-client.
You can check it to my git fork:
https://github.com/capriele/crazyflie-clients-python

Have fun :D

Re: [FEATURE ADDED] CareFree Mode

Posted: Sun Aug 17, 2014 10:13 pm
by capriele
I've added even CareFree mode into the firmware:

https://github.com/capriele/crazyflie-firmware

Have fun :D

Re: [FEATURE ADDED] CareFree Mode

Posted: Mon Aug 18, 2014 6:35 am
by erlingrj
Would you care to explain what CareFree-mode is and how you enable and use it? From what I can understand you've implemented a position-hold, and I am very eager to see how well this works :D Also I notice that in commander.py where youve updated a whole bit, much of the new functionality is written after a "#", i.e. not executed code. Why is that?

Re: [FEATURE ADDED] CareFree Mode

Posted: Mon Aug 18, 2014 12:06 pm
by capriele
erlingrj wrote:Would you care to explain what CareFree-mode is and how you enable and use it? From what I can understand you've implemented a position-hold, and I am very eager to see how well this works :D Also I notice that in commander.py where youve updated a whole bit, much of the new functionality is written after a "#", i.e. not executed code. Why is that?
For the CareFree mode you can see at: http://www.multiwii.com/wiki/index.php? ... areFree%29.
However CareFree mode simply makes the copter's head pointing every times at the some direction (simpler piloting).
The commented part of commander.py is not executed because now i've implemented this modes in crazyflie's firmware and so all the computation are made by the copter and the client's computation are unuseful.

To switch the modes i've configured the ps3 controller so that when i press R1 it switch mode.

Re: [FEATURE ADDED] CareFree Mode

Posted: Mon Aug 18, 2014 1:45 pm
by erlingrj
Okay, very cool. But the positionHold mode is new too me, did you make that one too? Unfortunatly when I download your firmware+client it all ran very very slow. There was a delay of perhaps 10s between moving the cf and actually seeing changes in pitch/roll and so on in the client. So I had to change back to the original client+firmware.

Re: [FEATURE ADDED] CareFree Mode

Posted: Mon Aug 18, 2014 4:45 pm
by capriele
erlingrj wrote:Okay, very cool. But the positionHold mode is new too me, did you make that one too? Unfortunatly when I download your firmware+client it all ran very very slow. There was a delay of perhaps 10s between moving the cf and actually seeing changes in pitch/roll and so on in the client. So I had to change back to the original client+firmware.
Hi, i'm working into the implementation of position-Mode.
However it's strange this behaviour because at me it go very fast.
On what machine you're running the client?

Re: [FEATURE ADDED] CareFree Mode

Posted: Tue Aug 19, 2014 5:34 am
by erlingrj
Im using the 0.5VM, it is possible that the poor performance was due to some changes I made to the code. And therefore was fixed when I changed back to the "original" client and firmware. I will try again later today with the new firmware and give you an update on how that works out.

Re: [FEATURE ADDED] CareFree Mode

Posted: Tue Aug 19, 2014 8:26 am
by capriele
erlingrj wrote:Im using the 0.5VM, it is possible that the poor performance was due to some changes I made to the code. And therefore was fixed when I changed back to the "original" client and firmware. I will try again later today with the new firmware and give you an update on how that works out.
I've updated the client for speed improvement...

Re: [FEATURE ADDED] CareFree Mode

Posted: Wed Aug 27, 2014 1:22 am
by otto
I don't mean to spoil the fun but I'm fairly certain this is the same thing as what I did in this thread: http://forum.bitcraze.se/viewtopic.php?f=6&t=847