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

No data on any Ros-topics although logs look fine #26

Open
Victorsoeby opened this issue Nov 8, 2024 · 0 comments
Open

No data on any Ros-topics although logs look fine #26

Victorsoeby opened this issue Nov 8, 2024 · 0 comments

Comments

@Victorsoeby
Copy link

Victorsoeby commented Nov 8, 2024

I am running with a MTi-100-2A8G4 connected to my PC. Started connecting it through MTI viewer, where i could see the data fine. Now i wanted to implement it in my robotics system in a docker container and have tried this driver. I am running on the galactic branch, and after building and starting the node with "ros2 launch bluespace_ai_xsens_mti_driver xsens_mti_node.launch.py" i get what appears to be normal logs, but i get no data out on the ros topics. I have veryfied this is not a networking issue, as i can publish other data from within my IMU container that is passed through. Any ideas as to what goes wrong here? Aren't my logs indicating everything is fine

xsens-imu | [INFO] [launch]: Default logging verbosity is set to INFO
xsens-imu | [INFO] [xsens_mti_node-1]: process started with pid [77029]
xsens-imu | [xsens_mti_node-1] RCUTILS_CONSOLE_STDOUT_LINE_BUFFERED is now ignored. Please set RCUTILS_LOGGING_USE_STDOUT and RCUTILS_LOGGING_BUFFERED_STREAM to control the stream and the buffering of log messages.
xsens-imu | [xsens_mti_node-1] [INFO] [1731056574.471279932] [xsens_mti_node]: Creating XsControl object...
xsens-imu | [xsens_mti_node-1] [INFO] [1731056574.477325075] [xsens_mti_node]: Scanning for devices...
xsens-imu | [xsens_mti_node-1] [INFO] [1731056574.563778352] [xsens_mti_node]: Found a device with ID: 01782A5C @ port: /dev/ttyUSB0, baudrate: 115200
xsens-imu | [xsens_mti_node-1] [INFO] [1731056574.563841831] [xsens_mti_node]: Opening port /dev/ttyUSB0 ...
xsens-imu | [xsens_mti_node-1] [INFO] [1731056574.747382070] [xsens_mti_node]: Device: MTi-100-2A8G4, with ID: 01782A5C opened.
xsens-imu | [xsens_mti_node-1] [INFO] [1731056574.921080017] [xsens_mti_node]: Measuring ...
^CGracefully stopping... (press Ctrl+C again to force)
[+] Stopping 1/0
✔ Container xsens-imu Stopped 0.1s
canceled

Topics and the node is coming up as expected:
`
ros2 node info /xsens_mti_node
/xsens_mti_node
Subscribers:
/parameter_events: rcl_interfaces/msg/ParameterEvent
Publishers:
/filter/free_acceleration: geometry_msgs/msg/Vector3Stamped
/filter/positionlla: geometry_msgs/msg/Vector3Stamped
/filter/quaternion: geometry_msgs/msg/QuaternionStamped
/filter/twist: geometry_msgs/msg/TwistStamped
/filter/velocity: geometry_msgs/msg/Vector3Stamped
/gnss: sensor_msgs/msg/NavSatFix
/imu/acceleration: geometry_msgs/msg/Vector3Stamped
/imu/angular_velocity: geometry_msgs/msg/Vector3Stamped
/imu/data: sensor_msgs/msg/Imu
/imu/dq: geometry_msgs/msg/QuaternionStamped
/imu/dv: geometry_msgs/msg/Vector3Stamped
/imu/mag: sensor_msgs/msg/MagneticField
/imu/time_ref: sensor_msgs/msg/TimeReference
/parameter_events: rcl_interfaces/msg/ParameterEvent
/pressure: sensor_msgs/msg/FluidPressure
/rosout: rcl_interfaces/msg/Log
/temperature: sensor_msgs/msg/Temperature
/tf: tf2_msgs/msg/TFMessage
Service Servers:
/xsens_mti_node/describe_parameters: rcl_interfaces/srv/DescribeParameters
/xsens_mti_node/get_parameter_types: rcl_interfaces/srv/GetParameterTypes
/xsens_mti_node/get_parameters: rcl_interfaces/srv/GetParameters
/xsens_mti_node/list_parameters: rcl_interfaces/srv/ListParameters
/xsens_mti_node/set_parameters: rcl_interfaces/srv/SetParameters
/xsens_mti_node/set_parameters_atomically: rcl_interfaces/srv/SetParametersAtomically
Service Clients:

Action Servers:

Action Clients:
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant