
HGLRC M100 PRO orientation for correct compass heading
I have HGLRC M100 PRO GPS module (with compass) physically setup on drone as shown in image right bottom corner (3D printed a little holder so it's a bit farther away from battery and other electronics. Cable wrapped in Cu foil and grounded also with insulating tape around it).
This is the orientation I found also in the supplier docs. Docs also says to adjust Betaflight orientation to CW 180 flip. Since I'm using Ardupilot and not Betaflight, what is the correct setting for GPS orientation in Mission Planner?
I calibrated the compass (outdoors using radio switch to start calibration so I'm far from PC or any other electronics) and it autodetects rotation as Yaw270. That can't be right...
In Mission planner I can also see the drone heading is off (not pointing in right direction on map) and I'm getting pre-arm error: check mag field (xy diff: 218>125). I guess I need to manually set the compass orientation...but what is the correct setting?
Log files show GPS works fine when I fly around (some pre-arm checks disabled to get airborne) and maps the correct flight path.