Skip to content
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

How to completely disable the magnetometer of GV7 Models? #335

Closed
karlji1021 opened this issue Jun 3, 2024 · 2 comments
Closed

How to completely disable the magnetometer of GV7 Models? #335

karlji1021 opened this issue Jun 3, 2024 · 2 comments
Labels
New This issue is new, and should not be marked as stale

Comments

@karlji1021
Copy link

karlji1021 commented Jun 3, 2024

Hello, I recently changed the IMU model from 3DM-GX5-AHRS to 3DM-GV7-AHRS.
Before changing the model, I used a code snippet like the one below to disable a magnetometer.

"""
mscl::HeadingUpdateOptions headingUpdateOptions;
headingUpdateOptions.useInternalMagnetometer = false;
node_->setHeadingUpdateControl(headingUpdateOptions);
"""

However, for the GV7 model, "setHeadingUpdateControl" method doesn't work anymore.
The method gives "Error_NotSupported" error.

So, what I've tried to solve this problem are the ones below.

  1. Disable aiding measurement source
    """
    enableDisableAidingMeasurement(InertialTypes::AidingMeasurementSource::MAGNETOMETER_AIDING, false);
    """

  2. Disable magnetometer usage in SensorConnect.
    The magnetometer usage was set to be disabled, and this setup is saved as the initial settings.
    I've checked that the disabled setting remained after disconnecting/reconnecting the IMU cable.

To test if the magnetometer is disabled, a small magnet was put close to the IMU.
Then, the estimated direction changed depending on the direction of the magnet.

I wonder how to completely disable its magnetometer.

Thank you.

@github-actions github-actions bot added the New This issue is new, and should not be marked as stale label Jun 3, 2024
@robbiefish
Copy link

Not relevant to the ROS driver, please do not cross post. Original question can be found at LORD-MicroStrain/MSCL#391

@karlji1021
Copy link
Author

@robbiefish Do you know anyone supporting the MSCL repository? I've been waiting for a long time but there's no response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New This issue is new, and should not be marked as stale
Projects
None yet
Development

No branches or pull requests

2 participants