@rmackay9 @Yuri_Rage @Yuri_Rage
So. I started over again, just to make sure it was i fresh setup, with no old parameters around.
I follow the checklist i used for the past tree years, when configured my drones. This includes the Xer X8 and X12, that i developed over the past years. For example the X8 with hybrid engine works perfect with this exact setup, however it uses the 4.1.5 version.
I uploaded the checklist and logs here: QUADLOGS - Google Drive
After initial setup ( in shop ) according to uploaded checklist, i went out to the field, with no magnetic interference at all.
At the field:
After init, shows " YAW INCONCISTENT WITH 135 DEGRESS", " COMPASS NOT CALIBRATED".
It however shows heading 90 degrees of to the left.
After calibration, both rtk modules shows a YAW offset of 270 degrees. This is despite that i didnt check the box “Automatic lern offset”.
Started RC controller and waited a couple of minutes. Still shows 90-10 degrees of to the left. Then i moved the drone around abit, and suddely it started showing correct heading.
Tried to arm in “STABILIZE”, and it worked.
Change to “LOITER” and got " Prearm: “GPS(2) YAW NOT AVILABLE”. Tried to arm anyway, didnt work.
Change to “ALT_HOLD”, and managed to arm.
Change back to “LOITER”, same result: " Prearm: “GPS(2) YAW NOT AVILABLE”
Restarted the drone, and again got GPS1 3D FIX and GPS2 RTK FIX. Shows 90 degrees of to the left.
Able to arm in “STABILIZE”, but not “ALT_HOLD” or “LOITER”
After 3 min the GPS1 changed to 3D DGPS.
Manually changed the COMPASS_ORIENT 2 and 3 to 0 instead of 6 and restarted the drone.
After restart it still shows 90 degrees of to the left…
Unmarked “Use Compass 1” ( internal), and restarted the drone.
Still schows 90-100 degrees of to the left, and " Prearm: “GPS(2) YAW NOT AVILABLE”.
Able to arm in “STABILIZE” and “ALT_HOLD” thou.
At this stage, i just tried to rule out errors. So i switched the RTK modules positions, to make sure that the GPS_POS1_Y and GPS2_POS_Y was correct.
Restarted, and got the same result, 90-100 degrees of to the left.
Now i unboxed the use of compass 1 ( internal ), and restarted the drone.
Result: Off by 90-100 degrees to the left, GPS1 3D fix, GPS2 RTK fix, able to arm in “STABILIZE” and “ALT_HOLD” but not “LOITER”.
I hope you guys have some input… To me it seems like a possible hardware issue, but the autopilot and rtk´s are brand new, and after this accured from the beginning, i even updated both RTK modules firmware to the latest.