You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed newly added settings in linorobot2_hardware/config/custom/gendrv_wifi_config.h, see below. Just wondering how these settings relate to the magnetometer settings (//#define MAG_BIAS { 0, 0, 0 })? Or is this information in your Wiki?
The covariance matrix depends on the precision of the sensors. They are usually based on the datasheets. Covariance equals standard deviation squared. The lower covariance, the higher precision. If the sensor is very noisy, we can decrease the ratio of this sensor to fusion by increase the covariance. That is fine tuning. https://github.com/hippo5329/linorobot2_hardware/wiki#fine-tune-covariance
The covariance matrix for magnetometer may seem odd at first. It is because the unit for magnetometer is Telsa in ROS.
The magnetometer is quite noisy in my robots probably due to the location I mounted it. So I gave a higher covariance and madgwick orientation_stddev:=0.01 in the bring up launch. It would be better to mount the magnetometer on a pole higher away from the interference.
I am new to robotic. All the covariance matrix and magnetometer usage are based on the search and experiments result. I might be wrong..
I noticed newly added settings in linorobot2_hardware/config/custom/gendrv_wifi_config.h, see below. Just wondering how these settings relate to the magnetometer settings (//#define MAG_BIAS { 0, 0, 0 })? Or is this information in your Wiki?
Many thanks!
#define ACCEL_COV { 0.01, 0.01, 0.01 }
#define GYRO_COV { 0.001, 0.001, 0.001 }
#define ORI_COV { 0.01, 0.01, 0.01 }
#define MAG_COV { 1e-12, 1e-12, 1e-12 }
#define POSE_COV { 0.001, 0.001, 0.001, 0.001, 0.001, 0.001 }
#define TWIST_COV { 0.001, 0.001, 0.001, 0.003, 0.003, 0.003 }
The text was updated successfully, but these errors were encountered: