Hi Alex,
I tested the dev Version where one can enable the old stability mode. The stability works better for me now.
But I think I have a small problem there, it seems that the compass mode works different now - my xopter is twitiching back and forth all the time while trying to keep the current heading.
Can you help me out of it? I isolated the part wih the different stability mode and inserted it into the patch2 code to keep all my changes.
Nils
Compass Mode differences
- jevermeister
- Posts: 708
- Joined: Wed Jul 20, 2011 8:56 am
- Contact:
Re: Compass Mode differences
Please check the magnetometer if reacts accordingly.
How should be the sensor axis directions
TILT the MULTI to the RIGHT (left side up):
MAG_ROLL, ACC_ROLL and GYRO_ROLL goes up
MAG_Z and ACC_Z goes down
TILT the MULTI forward (tail up):
MAG_PITCH, ACC_PITCH and GYRO_PITCH goes up
MAG_Z and ACC_Z goes down
Rotating the copter clockwise (YAW):
GYRO_YAW goes up
The copter stays level:
MAG_Z is positive ; ACC_Z is positive
How should be the sensor axis directions
TILT the MULTI to the RIGHT (left side up):
MAG_ROLL, ACC_ROLL and GYRO_ROLL goes up
MAG_Z and ACC_Z goes down
TILT the MULTI forward (tail up):
MAG_PITCH, ACC_PITCH and GYRO_PITCH goes up
MAG_Z and ACC_Z goes down
Rotating the copter clockwise (YAW):
GYRO_YAW goes up
The copter stays level:
MAG_Z is positive ; ACC_Z is positive
-
- Posts: 1630
- Joined: Wed Jan 19, 2011 9:07 pm
Re: Compass Mode differences
Hi,
That's why I prefer to stay and improve the 1.8 LEVEL mode.
The 1.7 LEVEL is ok, but with a very simple implementation of heading deduction.
I've just uploaded a new dev version with some tweaking about the level mode.
Could you try ?
That's why I prefer to stay and improve the 1.8 LEVEL mode.
The 1.7 LEVEL is ok, but with a very simple implementation of heading deduction.
I've just uploaded a new dev version with some tweaking about the level mode.
Could you try ?
- jevermeister
- Posts: 708
- Joined: Wed Jul 20, 2011 8:56 am
- Contact:
Re: Compass Mode differences
Hi Alex,
in the meantime I analyzed the sourcecode and saw that the compass heading is way more simple, I tried to inject the new one into the old code but this is far above my udnerstanding.
I will try the new code as soon as possible and report back.
@dramida: The compass is ok, I tested it with 1.8 and tuned the code according to Alex's guide - as Alex just stated, it is the code .
Thanks for your help I appreciate that!
Nils
in the meantime I analyzed the sourcecode and saw that the compass heading is way more simple, I tried to inject the new one into the old code but this is far above my udnerstanding.
I will try the new code as soon as possible and report back.
@dramida: The compass is ok, I tested it with 1.8 and tuned the code according to Alex's guide - as Alex just stated, it is the code .
Thanks for your help I appreciate that!
Nils