Anibalch

GPS configuration and Magnetic declination
« on: May 10, 2018, 05:58:09 pm »
Good morning, I have come to ask for help once more, my GPS is an M8N with compass, my board is a REVO and I am with doubt function in the figure
Doubt:
 
1- Gotta stabilize the magnetometer including 25 positive pitch
and yaw, my Magnetic declination is -21 ° 22 (Brazil SP) would it be in that place that it should include? I have not done any flight tests yet

2 - Does X AXIS, Y AXIS and ZAXIS need to be reset? (zero level)

My GPS:  https://www.banggood.com/Radiolink-M8N-GPS-Module-UBX-M8030-for-Naze32-APM-CC3D-SP-F3-Naze32-Flip32-PX4-Flight-Controller-p-1051291.html?rmmds=search&cur_warehouse=CN

Re: GPS configuration and Magnetic declination
« Reply #1 on: May 10, 2018, 06:02:53 pm »
Those settings are the mounting orientation, not declination.  :)

For I2C mag they should be either 0,180,0 or 180,0,180

Edit: That assumes that the GPS/mag is mounted so that the arrow is pointing forward and so that the GPS/mag is level during hover.  If you have "race mount" (angled forward) motors, you will need to adjust the center number accordingly.

https://librepilot.atlassian.net/wiki/spaces/LPDOC/pages/18382863/Aux+Mag+Setup+and+Calibration
See section about Tilt Motors and realize that you can now make the changes in Configuration->Attitude->Magnetometer
« Last Edit: May 10, 2018, 06:09:39 pm by TheOtherCliff »

Anibalch

Re: GPS configuration and Magnetic declination
« Reply #2 on: May 12, 2018, 04:00:24 am »
Thanks for the response, I was able to configure