-
Notifications
You must be signed in to change notification settings - Fork 49
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
MTi-10 rostopic output and magfieldmapper_gui #52
Comments
Hello William, The Magnetic Field Mapper is a tool used to calibrate the magnetometers of your device for any static magnetic disturbances such as batteries or metal structures that are part of your setup. For more information, please see our Magnetic Calibration Manual. |
@NTUwilliam, my apologies for the confusion. I read past the fact that you are using an MTi-10. The MTi-10 is an IMU, which means that it is only capable of outputting calibrated and timestamped sensor data (i.e. acceleration, rate of turn, magnetic field). Sensor fusion outputs such as quaternion or free acceleration are only available with VRU, AHRS or GNSS/INS devices (i.e. MTi-20, MTi-30, MTi-G-710). The same holds for the magnetic field mapper: it can be used to recalibrate your magnetometers, but it requires onboard sensor fusion to do so. Therefore, the MFM is not available for your device. |
@StevenXsens Thanks.
By this, do you mean that the MTi-10 can not do the recalibration by any methods? |
Yes, that is correct. In order to do a magnetometer calibration, the MTi has to measure the magnetic field for various orientations. As the MTi-10 cannot determine its own orientation, this is therefore not possible. The only way to recalibrate an MTi-10, is by returning it to Xsens for a recalibration. |
@StevenXsens By the way, the output of the magnetometer is in arbitrary units ( |
@NTUwilliam The output of the magnetometers is indeed in arbitrary units. During in-house calibration (Enschede, the Netherlands), the magnetometers are calibrated such that the norm of the 3D magnetic field vector for any orientation equals 1. In fact, according to the current World Magnetic Model, this results in one a.u. being approximately equal to 49 uT. |
@StevenXsens
If can not get the Any hint or advice for this? |
@NTUwilliam Yes, it is possible to determine the Yaw output based on the magnetic field itself. However, do note that the magnetic field may be influenced by hard and soft iron effects, such as magnets, batteries, metal structures, etc. This will disturb the Yaw you calculate. The MTi-30 for example can filter out these effects. The MTi-10 does not have a world/earth-related coordinate frame, because it is not aware of its orientation and position on Earth. It only has sensor outputs based on its own XYZ sensor-fixed frame. |
@NTUwilliam Yes, that is correct. You can simply use the X and Y components of the magnetic field for determining where North is. Do note however that the hard and soft iron effects of your robot will introduce a constant error in your magnetic North estimate, and any metal objects in the environment may introduce dynamic errors. |
@StevenXsens |
@StevenXsens
Thanks a lot!! |
@NTUwilliam
|
@StevenXsens |
@StevenXsens With regards to the resolution of MTi-10, I'm thinking is there any possibility that the change in the magnetic field is smaller than the resolution of the IMU so the IMU may give me almost the same output(can not distinguish these two different places)? For example, I moved the IMU horizontally in the x-direction for 2cm, then the /imu/mag output are both (-0.33, 0.44, 0.32) before and after movement. The decimal from scale 3 to the end is floating(jumping) so I don't know how to judge whether the ambient magnetic field are the same before and after the 2cm movement. The resolution of MTi-10 is 0.25 mGauss(mG)=0.025 micro-Tesla(μT), right? If so, normally what's the minimum distance (only moving in one direction, keep the position in other two directions unchanged) MTi-10 need to distinguish two different places? Any hint or advice is appreciated. |
@NTUwilliam The resolution of the magnetometer components inside the MTi is indeed 0.25 μT. |
@NTUwilliam The Magnetic Field Mapper is the tool to be used for recalibration of the magnetometers, especially when the MTi is integrated into an application. However, this requires the MTi to have an understanding of its orientation in space. The MTi-10 does not have this understanding, which means that it cannot be recalibrated with the Magnetic Field Mapper either. MTi's can be returned to Xsens for recalibration, but since the magnetometers are simply normalized to the local Earth's magnetic field and the noise levels and alignment are checked, there is no recommended recalibration period or metric for doing so. Usually MTi's are returned for recalibration because the gyroscopes or accelerometers are out of spec. |
@StevenXsens |
@StevenXsens
Thanks! |
@NTUwilliam
|
@StevenXsens
|
@NTUwilliam
|
@StevenXsens |
@StevenXsens So I'm wondering is it possible to launch multiple xsens_mti_driver in one laptop? Because I want to use these three sensors synchronously to collect data at the same time. Thanks! |
@NTUwilliam This is indeed possible by copying the existsing launch file and creating two additional launch files from it, i.e. "xsens_mti_node_2.launch" and "xsens_mti_node_3.launch". Open the new launch files and edit them to make sure that each node gets a different name. See also:http://answers.ros.org/question/151971/how-to-run-same-pakcage-twice-at-the-same-time/ |
@StevenXsens |
@WilliamWoo45 No problem! It is important that the RateOfTurn output of the MTi is enabled. The angular velocity plot in MT Manager can also display dq or RateOfTurnHR data, after translating those data to deg/s. Could you check this on your side? |
@StevenXsens Thanks for your suggestion! It works. Best Regards, |
@StevenXsens Recently I found that my MTi-10 needs to be re-calibrated because the measured magnitude (magnetic norm) is less than 0.6 in most cases. If MTi-10 can not be re-calibrated by itself, may I use the Thanks! Best Regards, |
@WilliamWoo45 I am sorry, but the Magnetic Field Mapper is simply not supported by the MTi-10 IMU (or vice versa). The Magnetic Field Mapper algorithm requires the magnetic field data as measured by the device itself during a calibration trial (hence why you cannot use another tracker), as well as the orientation estimates produced by the device for that same calibration trial (which are not produced by the MTi-10). Technically it could be possible if the Magnetic Field Mapper would produce orientation estimates for the recorded sensor data of an MTi-10, but this functionality is currently not implemented. |
Hi!
I just started to use MTi-10 IMU. And I'm wondering is it only able to output 4 kinds of data ? Which are:
According to the mti_driver ros document page, I tried to echo some other topics like
rostopic echo /imu/data
or/imu/acceleration
, but got nothing (as shown below):Besides, I failed to start the
magfieldmapper_gui
executable to start Magfield Mapper in the magfieldmapper_linux-x64_version.tar.gz :(Is the
magfieldmapper_gui
something similar with the Magnetic Field mapping of the inertial data mapping in the Xsens MT Manager (as shown below)?Any hint or advice is appreciated. Thanks!
The text was updated successfully, but these errors were encountered: