-
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
Xsens MTI-G-700-2A5G4 Drifting largely even when stationary #41
Comments
Hello emil-jose, I noticed that your questions are already being answered on Xsens' BASE forum. If you have any questions specifically regarding Xsens' MTi ROS node, feel free to post them here. Raw GNSS Pvt messages are available via this driver as well. You can configure the MTi to output them by selecting output data mode 1 or 2 in the xsens.yaml configuration file. After running the node you can retrieve the data using: |
I did set the mode to 1 and 2. It does not give me any GPS output. After trying it out, I wanted to switch to my previous ros driver (https://github.com/rpng/xsens_mti_ros_node), but it seems setting the mode did change something in the sensor itself. Now my previous driver does not seems to work properly. |
Hello emil-jose, Are you getting any warnings or errors after using rostopic echo, or before that when launching the rosnode? Even without a GNSS fix, rostopic echo should return a list of 0-valued parameters. Upon startup the node takes the settings in the xsens.yaml file and uses them to configure the MTi. This means that its output configurations (output data mode/rate), filter profile and baudrate may change during the launch. |
Have you updated your MTi to run the lastest firmware version (v1.8.2) using our Firmware Updater? Also, are you using a direct USB connection or a serial to USB converter cable? |
I am using direct USB connection and firmware version is 1.3.1 |
In that case I highly recommend first updating the firmware of your device to 1.8.2. If that doesn't solve the problem, you might want to check out the solution here: #36 |
I tried updating the firmware. It updated with message "unknown error while updating firmware". But anyway, now it seems to output the raw Raw GNSS Pvt messages and is working in my laptop. The current version it is showing is 1.8.2. When I plugged into the mobile platform, I got an error as in #36. I tried the solutions of adding myself to the group but doesn't make any difference. I also tried "sudo chmod 777 /dev/ttyUSB0". The last suggestion in #36 is to update the firmware again to beta version. Should I go for it? I would rather have a stable version. Is there any other fix to this problem. |
Are you still seeing "TypeError: ord() expected a character, but string of length 0 found" upon launching the node? Your firmware version (1.8.2) is the latest available firmware version. There are no further beta firmwares available for your device. |
Yes, But only on my mobile platform(Segway). It works fine in my laptop. |
I was looking into the code for better understanding. I see a free acceleration output. Is free acceleration equivalent to gravity compensated? How can I configure the node to output free acceleration instead of raw imu or both. |
The Free acceleration output is indeed the 3D acceleration with the effects of gravity removed. Note however the difference in output frames:
The ROS node does not yet have support for a Free acceleration output, but the code in xsens_driver/src can be modified to configure, receive and print it. I have not yet been able to reproduce the error you are seeing on your mobile platform. We are still looking into this. |
You might have to do a magnetic field recalibration. |
Hi,
I am using Xsens MTI-G-700-2A5G4 to get imu data for a sensor fusion application and the imu measurements are observed to be drifting largely. I know the position estimation from IMU drift over time but the IMU data in my case makes me feel like the vehicle on which it is mounted is a high-speed train(I did the gravity compensation). I assumed Xsens MTI-G-700-2A5G4 is factory calibrated so this behavior is not expected I guess. Do I need to calibrate it? If yes could you point to some details on the same? Also, can I get raw GPS measurements from the sensor itself using the driver? I haven't tried it outdoors.
The text was updated successfully, but these errors were encountered: