nickcharron / waypoint_nav

This package performs outdoor GPS waypoint navigation using move_base, robot_localization, gmapping and others. It can navigate while building a map, avoiding obstacles, and can navigate continuously between each goal.
325 stars 151 forks source link

Why does the value of magnetic-declination radiance change by every running of calibrate_heading.cpp file?!!! #34

Open Masoumehrahimi opened 2 years ago

Masoumehrahimi commented 2 years ago

hi nick

Why does the value of magnetic-declination radiance change by every running of calibrate_heading.cpp file? every time that i put the vehicle at the initial point and move it for 5 meters, the vale of magnetic-declination radiance is changing!!!

how to fix it? thanks

nickcharron commented 2 years ago

See Important Notes point 2 in the readme. This calibration is a hack to fix improperly calibrated magnetomers. It does this by setting the magnetic declination to a value that would correct the wrong initial heading