IMRCLab / motion_capture_tracking

ROS Package for different motion capture systems, including custom rigid body tracking support
MIT License
28 stars 23 forks source link

Errors with rviz when running motion capture tracking. (ROS2 Foxy + Vicon) #18

Open csanchez9427 opened 4 months ago

csanchez9427 commented 4 months ago

I am currently using Vicon and ROS2 Foxy. When I attempt to launch motion_capture_tracking, I get the following error

[INFO] [launch]: All log files can be found below /home/csanchez5/.ros/log/2024-06-04-04-51-40-492812-lnx-me001.ecn.uiowa.edu-1321991 [INFO] [launch]: Default logging verbosity is set to INFO [INFO] [motion_capture_tracking_node-1]: process started with pid [1321993] [INFO] [rviz2-2]: process started with pid [1321995] [motion_capture_tracking_node-1] logClouds=0 [rviz2-2] [INFO] [1717494701.597764147] [rviz2]: Stereo is NOT SUPPORTED [rviz2-2] [INFO] [1717494701.597950942] [rviz2]: OpenGl version: 4.6 (GLSL 4.6) [rviz2-2] [INFO] [1717494701.713982917] [rviz2]: Stereo is NOT SUPPORTED [rviz2-2] [ERROR] [1717494701.775150896] [rviz2]: PluginlibFactory: The plugin for class 'rviz_common/Time' failed to load. Error: According to the loaded plugin descriptions the class rviz_common/Time with base class type rviz_common::Panel does not exist. Declared types are

I do not receive any data from Vicon, RViz does not show any markers or frames and states Frame [world] does not exist, and no /poses topics are created. The hostname/ip in the config file should be correct, as we used to use ros2-vicon-receiver for our tracking.

I have read on other threads that this is because ROS2 Foxy does not support the rviz_common/Time panel. I have tried removing the following lines from the rviz.rviz file in the config folder to resolve this, but had no luck.

- Class: rviz_common/Time Experimental: false Name: Time SyncMode: 0 SyncSource: PointCloud2

Does anyone know how to resolve this? Any information would be appreciated.