Page 1 of 1

[SOLVED] Swapped Axes

Posted: Wed May 15, 2013 3:40 am
by sobsen
Hi all,

first thanks for all the effort, the crazyflie is really awesome. I first tried it using Windows and a PS3 controller and got it working just fine, but I don't like the MotionInJoy thing. So I installed the bitcraze VM and it turned out that roll and pitch are swapped? I checked the flight data tab and to check that moving the stick up is pitch, but during flight it seems the software sends a roll command instead and the other way around. I checked cables and propellers, and since it worked it Windows I'm sure it's correctly assembled. Any ideas?
Yes, I could just configure roll to be pitch and pitch to be roll, but that should be just a temporary solution.

Cheers,
Sobsen

Re: Swapped Axes

Posted: Wed May 15, 2013 6:30 am
by tobias
The cfclient in the current VM is a bit old and needs to be updated. That's why.

Re: Swapped Axes

Posted: Wed May 15, 2013 6:45 am
by tobias
When you update it make sure to make a clean update as the configuration system has changed:

Code: Select all

bitcraze@bitcraze-ubuntu:~$ cd projects/crazyflie-pc-client/
bitcraze@bitcraze-ubuntu:~/projects/crazyflie-pc-client$ rm -r *
bitcraze@bitcraze-ubuntu:~/projects/crazyflie-pc-client$ hg update -C
Hope it solves the issue and please report back with the result!

Re: Swapped Axes

Posted: Wed May 15, 2013 11:55 am
by sobsen
Hi Tobias,

I updated the client and now everything works perfectly.

Thanks a lot!
Sobsen