Hi all,
I built a 4inch LR quad and put the Matek S8M-5883 GPS+Compass on it. I’m trying to make sure i have the alignment right for the compass as it is currently not performing as expected. Today I locked 8 satellites, took off and went straight ahead of me about 300m and activated GPS return to home and the quad pointed directly away from me and kept flying.
The mateksys website says that standard setup (i.e., FC pointing forward and compass pointing forward) is CW270 Flip. My set up is different with both of them actually pointing backward and the GPS unit at a bit of a downward angle so when the quad tilts forward it will point more up. See very badly drawn schematic here:
I have it set to CW270 (since they are both still pointing in the same direction, I thought that would be the right setting). But I changed the mag_align_pitch from 180 to 135 (to account for the 45 degree pitch angle it is on). I have the use magnetometer on RTH turned on.
Does this seem right? Should it be 225 on pitch? Should the yaw be different? Is there something else altogether I’m missing? I’m not actually going medium or long range until i’m really confident that this unit will perform as expected and for some reason can’t figure this part out!
Thank you!
I built a 4inch LR quad and put the Matek S8M-5883 GPS+Compass on it. I’m trying to make sure i have the alignment right for the compass as it is currently not performing as expected. Today I locked 8 satellites, took off and went straight ahead of me about 300m and activated GPS return to home and the quad pointed directly away from me and kept flying.
The mateksys website says that standard setup (i.e., FC pointing forward and compass pointing forward) is CW270 Flip. My set up is different with both of them actually pointing backward and the GPS unit at a bit of a downward angle so when the quad tilts forward it will point more up. See very badly drawn schematic here:
I have it set to CW270 (since they are both still pointing in the same direction, I thought that would be the right setting). But I changed the mag_align_pitch from 180 to 135 (to account for the 45 degree pitch angle it is on). I have the use magnetometer on RTH turned on.
Does this seem right? Should it be 225 on pitch? Should the yaw be different? Is there something else altogether I’m missing? I’m not actually going medium or long range until i’m really confident that this unit will perform as expected and for some reason can’t figure this part out!
Thank you!