[SOLVED] Swapped Axes

Post here to get support
Post Reply
sobsen
Beginner
Posts: 2
Joined: Wed May 15, 2013 3:34 am

[SOLVED] Swapped Axes

Post 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
Last edited by sobsen on Wed May 15, 2013 11:56 am, edited 1 time in total.
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: Swapped Axes

Post by tobias »

The cfclient in the current VM is a bit old and needs to be updated. That's why.
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: Swapped Axes

Post 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!
sobsen
Beginner
Posts: 2
Joined: Wed May 15, 2013 3:34 am

Re: Swapped Axes

Post by sobsen »

Hi Tobias,

I updated the client and now everything works perfectly.

Thanks a lot!
Sobsen
Post Reply