Code Monkey home page Code Monkey logo

Comments (13)

Steven-GH avatar Steven-GH commented on July 4, 2024

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:
rostopic echo /mti/sensor/gnssPvt

from xsens_mti_ros_node.

emil-jose avatar emil-jose commented on July 4, 2024

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.
Is there any way to reset it? and what could be the reason that 'rostopic echo' didn't show me any msg at all?

from xsens_mti_ros_node.

Steven-GH avatar Steven-GH commented on July 4, 2024

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.

from xsens_mti_ros_node.

emil-jose avatar emil-jose commented on July 4, 2024

The rostopic echo display nothing and launching the node does not show any error. Even I tried outdoors and indoors. Its the same. I set the filter profile to 1 and changed the output data mode to 1 and 2 .
screenshot from 2018-09-10 10-37-48

from xsens_mti_ros_node.

Steven-GH avatar Steven-GH commented on July 4, 2024

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?

from xsens_mti_ros_node.

emil-jose avatar emil-jose commented on July 4, 2024

I am using direct USB connection and firmware version is 1.3.1

from xsens_mti_ros_node.

Steven-GH avatar Steven-GH commented on July 4, 2024

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
(note that you are using a 4th generation device, so the latest firmware version is 1.8.2, in contrast to the 5th generation MTi's which are currently at 1.7.4.)

from xsens_mti_ros_node.

emil-jose avatar emil-jose commented on July 4, 2024

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.

from xsens_mti_ros_node.

Steven-GH avatar Steven-GH commented on July 4, 2024

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.

from xsens_mti_ros_node.

emil-jose avatar emil-jose commented on July 4, 2024

Yes, But only on my mobile platform(Segway). It works fine in my laptop.

from xsens_mti_ros_node.

emil-jose avatar emil-jose commented on July 4, 2024

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.

from xsens_mti_ros_node.

Steven-GH avatar Steven-GH commented on July 4, 2024

The Free acceleration output is indeed the 3D acceleration with the effects of gravity removed. Note however the difference in output frames:

  • The regular Acceleration output is defined in the sensor (body-fixed) frame;
  • The Free Acceleration output is defined in the local frame (same as orientation/velocity output, ENU frame by default).

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.

from xsens_mti_ros_node.

wujiang avatar wujiang commented on July 4, 2024

You might have to do a magnetic field recalibration.

from xsens_mti_ros_node.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.