tuw-robotics / tuw_marker_filter

Marker base slam
BSD 3-Clause "New" or "Revised" License
10 stars 9 forks source link

Tuw_marker slam launch issue #6

Closed randy950728 closed 6 years ago

randy950728 commented 6 years ago

Hello! I am trying to utilize the tuw_marker_slam package, everything compiled just fine, but upon run time I encountered the following error: [ERROR] [1527715667.693595053]: PluginlibFactory: The plugin for class 'tuw_geometry_rviz_plugin/PoseWithCovariance' failed to load. Error: According to the loaded plugin descriptions the class tuw_geometry_rviz_plugin/PoseWithCovariance with base class type rviz::Display does not exist. Declared types are marker_rviz_plugin/MarkerDetection marker_rviz_plugin/MarkerWithCovariance marker_rviz_plugin/MarkerWithCovarianceArray rviz/Axes rviz/Camera rviz/DepthCloud rviz/Effort rviz/FluidPressure rviz/Grid rviz/GridCells rviz/Illuminance rviz/Image rviz/InteractiveMarkers rviz/LaserScan rviz/Map rviz/Marker rviz/MarkerArray rviz/Odometry rviz/Path rviz/PointCloud rviz/PointCloud2 rviz/PointStamped rviz/Polygon rviz/Pose rviz/PoseArray rviz/PoseWithCovariance rviz/Range rviz/RelativeHumidity rviz/RobotModel rviz/TF rviz/Temperature rviz/WrenchStamped rviz_plugin_covariance/OdometryWithCovariance rviz_plugin_covariance/PoseWithCovariance rviz_plugin_tutorials/Imu tuw_geometry_rviz/LineSegments2D tuw_geometry_rviz/PoseWithCovariance tuw_nav_rviz/Path tuw_nav_rviz/PathVec tuw_nav_rviz/RouteSegments tuw_nav_rviz/Spline tuw_object_rviz/ObjectDetection

I have tried cloning the tuw_common directory from the git repository which contains tuw_rviz, but it seems not to be solving the issue. I have also tried cloning rviz directly into my catkin workspace, and still without luck. Would it be possible for anyone to suggest any potential reason that is causing such error? Thank you so much !

randy950728 commented 6 years ago

nvm, I found the problem, we need to replace the line containing: Class: tuw_geometry_rviz_plugin/PoseWithCovariance with: Class: tuw_geometry_rviz/PoseWithCovariance

in both stage.rviz and gazebo.rviz within the tuw_marker_filter/tuw_marker_slam/rviz folder