-
Notifications
You must be signed in to change notification settings - Fork 392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Storing magnetometer caliberaton file locally #786
Comments
Hi @dineshrboson The ZED magnetometer does not demagnetize, the magnetometer readings are affected by hard and soft ironing effects introduced by the robot components and by the environment where the robot is performing. PS magnetometer calibration parameters are stored in the EEPROM of the camera and they are restored each time the camera is opened. |
It's not actually demagnetized, but distorted because of the metal objects near the camera placed. Can you give me an Idea of how to do calibration for a ground robot, do I need to write a python script to open zed_sensor_viewer and then manually drive the robot and perform rotations and then how can I save that from the code itself? Is there any chance that the calibration parameters stored in EEPROM memory will be affected by the magnetic distortions and then those will be saved further? |
Exactly what I wrote in my first reply.
The alternative is to retrieve raw values and use the ROS2 tools to perform your own magnetometer calibration or write your ROS node to perform the procedure while driving the robot...
The procedure will save the parameters calculated in the environment where the procedure is executed, so they are affected by the distortions present in that moment... |
Think about using the zed camera in a production robot. User will be taking the robot to different environmental conditions, and he can't perform the zed magnetometer calibration frequently following the visual instructions, so is there any way to tackle this problem?! |
Can you elaborate on how to retrieve raw values, (one way may be through ROS topic) and I am using ROS1 and is there any tool like you mentioned for ROS2 to perform calibration? |
Preliminary Checks
Proposal
I am performing GPS Waypoint Navigation and in order to calculate angle between coordinates and reach that angle I am using zed magnetometer topic as you are aware of the fact that we need to calibrate the magnetometer in the zed_sensor_viewer and set that calibration into the camera. As a matter of fact the magnetometer in the zed will demagnetize again after some time, and it is very difficult to take the zed camera out of the robot and do calibration and mount it back and its not a perfect way to do it I believe , so it there is a way to actually load the calibration from python code everyday once before launching the GPS waypoint navigation. As a side note whenever I am using mobile magnetometer topic using (android sensor app) giving way better results like going in a straight path and whenever using the zed magnetometer topic Its not actually perfect after doing hard iron calibration also.
Use-Case
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: