dusty-nv / ros_deep_learning

Deep learning inference nodes for ROS / ROS2 with support for NVIDIA Jetson and TensorRT
879 stars 257 forks source link

Failed to load nodelet #6

Closed RossPLloyd closed 5 years ago

RossPLloyd commented 5 years ago

Hi I saw the other thread on this and despite apparently having the latest github version, I am still running into the same error. I am trying to run 'roslaunch ros_deep_learning imagenet.launch' from the command line. I am on TX2 and the onboard camera is working. I am running Jetpack 3.3.

[ERROR] [1546810726.555692500]: Failed to load nodelet [/gst_camera] of type [ros_jetson_video/gst_camera] even after refreshing the cache: According to the loaded plugin descriptions the class ros_jetson_video/gst_camera with base class type nodelet::Nodelet does not exist. Declared types are depth_image_proc/convert_metric depth_image_proc/crop_foremost depth_image_proc/disparity depth_image_proc/point_cloud_xyz depth_image_proc/point_cloud_xyz_radial depth_image_proc/point_cloud_xyzi depth_image_proc/point_cloud_xyzi_radial depth_image_proc/point_cloud_xyzrgb depth_image_proc/register image_proc/crop_decimate image_proc/crop_nonZero image_proc/crop_non_zero image_proc/debayer image_proc/rectify image_proc/resize image_publisher/image_publisher image_rotate/image_rotate image_view/disparity image_view/image kinect2_bridge/kinect2_bridge_nodelet kobuki_safety_controller/SafetyControllerNodelet 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 ros_deep_learning/ros_imagenet rtabmap_ros/data_odom_sync rtabmap_ros/data_throttle rtabmap_ros/disparity_to_depth rtabmap_ros/icp_odometry rtabmap_ros/obstacles_detection rtabmap_ros/obstacles_detection_old rtabmap_ros/point_cloud_aggregator rtabmap_ros/point_cloud_xyz rtabmap_ros/point_cloud_xyzrgb rtabmap_ros/pointcloud_to_depthimage rtabmap_ros/rgbd_odometry rtabmap_ros/rgbd_sync rtabmap_ros/rgbdicp_odometry rtabmap_ros/rtabmap rtabmap_ros/stereo_odometry rtabmap_ros/stereo_sync rtabmap_ros/stereo_throttle rtabmap_ros/undistort_depth stereo_image_proc/disparity stereo_image_proc/point_cloud2 yocs_velocity_smoother/VelocitySmootherNodelet [FATAL] [1546810726.556271854]: Failed to load nodelet '/gst_camera of type ros_jetson_video/gst_camera to manager standalone_nodelet'

[gst_camera-3] process has died [pid 3008, exit code 255, cmd /opt/ros/kinetic/lib/nodelet/nodelet load ros_jetson_video/gst_camera standalone_nodelet ~image_raw:=/image_raw __name:=gst_camera __log:=/home/nvidia/.ros/log/b7ad226c-11f1-11e9-ad09-00044b8d1fa7/gst_camera-3.log].

And from log file: /home/nvidia/.ros/log/b7ad226c-11f1-11e9-ad09-00044b8d1fa7/gst_camera-3*.log:

[ INFO] [1546810723.368886481]: Loading nodelet /gst_camera of type ros_jetson_video/gst_camera to manager standalone_nodelet with the following remappings:
[ INFO] [1546810723.369030799]: /gst_camera/image_raw -> /image_raw
[ INFO] [1546810723.383950585]: waitForService: Service [/standalone_nodelet/load_nodelet] has not been advertised, waiting...
[ INFO] [1546810723.415831639]: waitForService: Service [/standalone_nodelet/load_nodelet] is now available.

I needed to change the target folders in the config yaml to match my installation of jetson-inference which resolved some other errors, but I am unable to get past these. Any suggestions please? I can submit other logs if useful, they are rather sizeable and I did not want to flood the post.

Thank you!

EDIT: Also from master.log:

File "/opt/ros/kinetic/lib/python2.7/dist-packages/rosmaster/threadpool.py", line 218, in run result = cmd(*args) File "/opt/ros/kinetic/lib/python2.7/dist-packages/rosmaster/master_api.py", line 210, in publisher_update_task ret = xmlrpcapi(api).publisherUpdate('/master', topic, pub_uris) File "/usr/lib/python2.7/xmlrpclib.py", line 1243, in __call__ return self.__send(self.__name, args) File "/usr/lib/python2.7/xmlrpclib.py", line 1602, in __request verbose=self.__verbose File "/usr/lib/python2.7/xmlrpclib.py", line 1283, in request return self.single_request(host, handler, request_body, verbose) File "/usr/lib/python2.7/xmlrpclib.py", line 1316, in single_request return self.parse_response(response) File "/usr/lib/python2.7/xmlrpclib.py", line 1493, in parse_response return u.close() File "/usr/lib/python2.7/xmlrpclib.py", line 800, in close raise Fault(**self._stack[0]) Fault: <Fault -1: 'publisherUpdate: unknown method name'>

RossPLloyd commented 5 years ago

I have opened this as a forum post over on the nvidia forums, so will close this one