-
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 modes #45
Comments
Hello Harold, Yes, you can define a new mode, but you can also modify existing modes. For example, if you modify mtiMode == 3 to enable: ...then the MTi will also be configured to output Acceleration and Rate of Turn. You can receive the data using:
Another solution is to configure the MTi once using MT Manager before using the ROS node. Then, simply disable the configure_on_startup parameter in xsens.yaml. The ROS node is merely a starting point, so not all outputs have been defined. In order to configure and receive Free Acceleration using the ROS node, you will first need to define this output in the source code. A start would be:
In mtnode.py, define a publisher and other related packet handling info. You can take the other output definitions as an example. |
Thank you @StevenXsens ; About Free accelerations: if the sensor is completely static, should accelerations be equal to zero?, in my case they are not null: |
Hello Harold, The inertial sensor data (Rate of Turn, Acceleration) are never exactly 0 because of noise and sensor bias. These inaccuracies will therefore also show up in the FreeAcceleration output. Although the MTi is constantly estimating its biases and aims to reduce their impact on the Free Acceleration output, some non-zero offset will always remain. What you can do is to apply some dynamics (i.e. rotations, accelerations) after you power up the device. This will allow the onboard filter of the MTi to better estimate the sensor biases. |
Hi,
I'm using your node to configure a Mti-30 with ROS Kinetic. I'm interested in a implementation of a pose-estimation system based on the IMU. I understand Mti-30 has a kalman filter for pitch/roll orientation. However if I choose Mti-Mode = 3 I have not information about accelerations, and when I chose Mti-Mode=[1,2] I have not information about estimated pitch/roll angles. ¿ How can I configure to obtain all the information even the free_accelerations ? ¿ Modes are defined based on Mti capacities or can I edit to create a new mode?
The text was updated successfully, but these errors were encountered: