ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Issues regarding nodelet_manager and map_server

asked 2020-02-01 02:19:46 -0500

Nitin_J gravatar image

updated 2022-01-22 16:10:17 -0500

Evgeny gravatar image

Hello all, I am facing a startup issue with the nodelet_manager and also with the map_server. I am trying to setup this on a Nvidia Jetson Nano board, though the same setup is working on a Raspberry Pi 3B+ board. For Jetson, it's diving into certain issues, I resolved many but unable to resolve these ones. I am attaching the relevant output from the terminal which I get when I run the project.

process[robot2/tcp_server_node-7]: started with pid [17321]
process[robot2/rplidarNode-8]: started with pid [17326]
process[robot2/laser_filter-9]: started with pid [17333]
process[robot2/robot_controller_node-10]: started with pid [17339]
[ INFO] [1580541481.569816769]: RPLIDAR running on ROS package rplidar_ros. SDK Version:1.12.0
process[robot2/nodelet_manager-11]: started with pid [17341]
process[robot2/velocity_smoother-12]: started with pid [17350]
process[map_server-13]: started with pid [17353]
process[robot2/move_base-14]: started with pid [17354]
[ INFO] [1580541481.688089922]: BOX filter started
[ INFO] [1580541481.692382390]: invert filter not set, assuming false
process[robot2/r2amcl-15]: started with pid [17361]
[ WARN] [1580541481.725805073]: Using deprecated map server interface. Please switch to new interface.
[ERROR] [1580541481.845865565]: Failed to load nodelet [/robot2/velocity_smoother] of type [yocs_velocity_smoother/VelocitySmootherNodelet] even after refreshing the cache: According to the loaded plugin descriptions the class yocs_velocity_smoother/VelocitySmootherNodelet with base class type nodelet::Nodelet does not exist. Declared types are  SlamGMappingNodelet nodelet_tutorial_math/Plus pcl/BAGReader pcl/BoundaryEstimation pcl/ConvexHull2D pcl/CropBox pcl/EuclideanClusterExtraction pcl/ExtractIndices pcl/ExtractPolygonalPrismData pcl/FPFHEstimation pcl/FPFHEstimationOMP pcl/MomentInvariantsEstimation pcl/MovingLeastSquares pcl/NodeletDEMUX pcl/NodeletMUX pcl/NormalEstimation pcl/NormalEstimationOMP pcl/NormalEstimationTBB pcl/PCDReader pcl/PCDWriter pcl/PFHEstimation pcl/PassThrough pcl/PointCloudConcatenateDataSynchronizer pcl/PointCloudConcatenateFieldsSynchronizer pcl/PrincipalCurvaturesEstimation pcl/ProjectInliers pcl/RadiusOutlierRemoval pcl/SACSegmentation pcl/SACSegmentationFromNormals pcl/SHOTEstimation pcl/SHOTEstimationOMP pcl/SegmentDifferences pcl/StatisticalOutlierRemoval pcl/VFHEstimation pcl/VoxelGrid test_nodelet/ConsoleTest test_nodelet/FailingNodelet test_nodelet/NodehandleTest test_nodelet/Plus test_nodelet_topic_tools/NodeletLazyString test_nodelet_topic_tools/NodeletThrottleString
[ERROR] [1580541481.847912635]: The error before refreshing the cache was: According to the loaded plugin descriptions the class yocs_velocity_smoother/VelocitySmootherNodelet with base class type nodelet::Nodelet does not exist. Declared types are  SlamGMappingNodelet nodelet_tutorial_math/Plus pcl/BAGReader pcl/BoundaryEstimation pcl/ConvexHull2D pcl/CropBox pcl/EuclideanClusterExtraction pcl/ExtractIndices pcl/ExtractPolygonalPrismData pcl/FPFHEstimation pcl/FPFHEstimationOMP pcl/MomentInvariantsEstimation pcl/MovingLeastSquares pcl/NodeletDEMUX pcl/NodeletMUX pcl/NormalEstimation pcl/NormalEstimationOMP pcl/NormalEstimationTBB pcl/PCDReader pcl/PCDWriter pcl/PFHEstimation pcl/PassThrough pcl/PointCloudConcatenateDataSynchronizer pcl/PointCloudConcatenateFieldsSynchronizer pcl/PrincipalCurvaturesEstimation pcl/ProjectInliers pcl/RadiusOutlierRemoval pcl/SACSegmentation pcl/SACSegmentationFromNormals pcl/SHOTEstimation pcl/SHOTEstimationOMP pcl/SegmentDifferences pcl/StatisticalOutlierRemoval pcl/VFHEstimation pcl/VoxelGrid test_nodelet/ConsoleTest test_nodelet/FailingNodelet test_nodelet/NodehandleTest test_nodelet/Plus test_nodelet_topic_tools/NodeletLazyString test_nodelet_topic_tools/NodeletThrottleString
[FATAL] [1580541481.869766677]: Failed to load nodelet '/robot2/velocity_smoother` of type `yocs_velocity_smoother/VelocitySmootherNodelet` to manager `nodelet_manager'
[ INFO] [1580541481.947580235]: Subscribed to map topic.
[robot2/velocity_smoother-12] process has died [pid 17350, exit code 255, cmd /home/xena/catkin_ws/devel/lib/nodelet/nodelet `load yocs_velocity_smoother/VelocitySmootherNodelet nodelet_manager velocity_smoother/raw_cmd_vel:=cmd_vel/in velocity_smoother/smooth_cmd_vel:=cmd_vel/out velocity_smoother/robot_cmd_vel:=cmd_vel/out velocity_smoother/odometry:=odom __name:=velocity_smoother __log:=/tmp/f8f13060-44c2-11ea-b35d-00044be541e0/robot2-velocity_smoother-12.log].`
log file: /tmp/f8f13060-44c2-11ea-b35d-00044be541e0/robot2-velocity_smoother-12*.log
[ INFO] [1580541482.391220727]: Received a 1984 X 1984 map @ 0.050 m/pix
[ INFO] [1580541482 ...
(more)
edit retag flag offensive close merge delete

Comments

1

Failed to load nodelet [/robot2/velocity_smoother] of type [yocs_velocity_smoother/VelocitySmootherNodelet]

do you have the yocs_velocity_smoother package installed?

What is the output of rospack find yocs_velocity_smoother?

gvdhoorn gravatar image gvdhoorn  ( 2020-02-02 12:20:01 -0500 )edit

@gvdhoorn Thanks for the suggestion, I had already solved the problem by installing the concerned package, I've now edited the scenario of the problem with the current problems am facing.

Nitin_J gravatar image Nitin_J  ( 2020-02-03 02:36:18 -0500 )edit

Please don't do this.

This is not a forum, but a Q&A site, which works best with a 1-to-1 ratio of problems-to-answers.

Revert your edit, post how you solved your initial problem as an answer, accept your own answer.

Then post a new question with your current problem -- after having made sure you're not posting a duplicate (use Google to search, append site:answers.ros.org to your query).

gvdhoorn gravatar image gvdhoorn  ( 2020-02-03 02:41:39 -0500 )edit

Oh, and:

I tried all the solutions available but didn't made any difference

this sentence does not give any information. We don't know what you've tried, so we cannot avoid giving you the same advice/help.

Please always describe what you've already read and done, and why that didn't (seem to) help.

gvdhoorn gravatar image gvdhoorn  ( 2020-02-03 02:43:11 -0500 )edit

@gvdhoorn Thanks for the suggestions regarding the usage of the site. I've done the relevant changes and asked for another question regarding the problems currently. Am new to this site so mistakes, apologies for the same, I'll make sure to follow the ethics in the future.

Nitin_J gravatar image Nitin_J  ( 2020-02-03 03:28:06 -0500 )edit

No need to apologise.

Thanks for reverting.

gvdhoorn gravatar image gvdhoorn  ( 2020-02-03 04:04:39 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-02-03 03:09:47 -0500

Nitin_J gravatar image

I have solved the problem by installing the yocs_velocity_smoother. I used the following command to do the same

sudo apt install ros-melodic-yocs-velocity-smoother

Completing this operation the nodes, nodelet_manager and velocity_smoother have been started and started communicating as defined (publishing/subscribing to the topics).

edit flag offensive delete link more

Question Tools

Stats

Asked: 2020-02-01 02:19:46 -0500

Seen: 472 times

Last updated: Feb 03 '20