PX4-SITL_gazebo-classic
PX4-SITL_gazebo-classic copied to clipboard
Check magnetic table readout
There was a bug in ECL regarding the readout of the magnetic tables sometimes resulting in a large error in magnetic declination and inclination. We need to check that the same error is not present in SITL
@CarlOlsson Any updates regarding this issue?
No, I think we should use the same library for calculating the magnetic field in ECL and SITL. I.e. moving the ecl geo functionality to its own submodule and also include that in SITL would probably be the best
It's perhaps a bit convoluted, but you could include ecl in sitl_gazebo and use only the ecl_geo library.
either that or include ecl_geo in ecl and sitl_gazebo, which one do you prefer?
I do prefer the approach of bringing ecl_geo
to its own submodule and probably rename it, so it becomes agnostic for both sitl_gazebo
and ecl
.
@Jaeyoung-Lim Could you have a look?