Failed to load nodelet
See original GitHub issueHi !
I’m using robot_upstart to load some nodelet at startup.
I’m getting a weird issue, it seems that it fails to load nodelet as I’m getting this kind of fatal error:
Node: /ueye_cam_nodelet_2
Time: 11:14:39.055841859 (2017-10-13)
Severity: Fatal
Published Topics: /rosout
Failed to load nodelet '/ueye_cam_nodelet_2` of type `ueye_cam/ueye_cam_nodelet` to manager `nodelet_manager'
Location:
/tmp/binarydeb/ros-kinetic-nodelet-1.9.10/src/nodelet.cpp:loadNodelet:228
----------------------------------------------------------------------------------------------------
Lauching sudo job-start
on foreground is working fine (no permission issue).
Here is my launch file:
<launch>
<node name="check_ueye_api" pkg="ueye_cam" type="check_ueye_api" required="true" />
<arg name="nodelet_manager_name" value="nodelet_manager" />
<arg name="camera_name" value="camera" />
<node pkg="nodelet" type="nodelet" name="$(arg nodelet_manager_name)" args="manager"/>
<node pkg="nodelet" type="nodelet" name="ueye_cam_nodelet_1" respawn="true"
args="load ueye_cam/ueye_cam_nodelet $(arg nodelet_manager_name)">
<param name="camera_name" type="str" value="$(arg camera_name)1" /> <!-- == namespace for topics and services -->
<param name="camera_topic" type="str" value="image_raw" />
<param name="camera_id" type="int" value="1" /> <!-- 0 = any camera; 1+: camera ID -->
<param name="camera_intrinsics_file" type="string" value="" /> <!-- default: ~/.ros/camera_info/<camera_name>.yaml -->
<param name="camera_parameters_file" type="string" value="" /> <!-- default: ~/.ros/camera_conf/<camera_name>.ini -->
<param name="ext_trigger_mode" type="bool" value="False" />
<param name="color_mode" type="str" value="rgb8" />
<param name="image_width" type="int" value="800" />
<param name="image_height" type="int" value="1200" />
<param name="image_top" type="int" value="-1" /> <!-- -1: center -->
<param name="image_left" type="int" value="-1" /> <!-- -1: center -->
<param name="subsampling" type="int" value="1" /> <!-- supported by only some UEye cameras -->
<param name="binning" type="int" value="1" /> <!-- supported by only some UEye cameras -->
<param name="sensor_scaling" type="double" value="1.0" /> <!-- supported by only some UEye cameras -->
<param name="auto_gain" type="bool" value="True" />
<param name="master_gain" type="int" value="0" />
<param name="red_gain" type="int" value="0" />
<param name="green_gain" type="int" value="1" />
<param name="blue_gain" type="int" value="16" />
<param name="gain_boost" type="bool" value="False" />
<param name="auto_exposure" type="bool" value="True" />
<param name="exposure" type="int" value="33" /> <!-- in ms -->
<param name="auto_white_balance" type="bool" value="True" />
<param name="white_balance_red_offset" type="int" value="0" />
<param name="white_balance_blue_offset" type="int" value="0" />
<param name="flash_delay" type="int" value="0" /> <!-- in us -->
<param name="flash_duration" type="int" value="1000" /> <!-- in us -->
<param name="auto_frame_rate" type="bool" value="False" />
<param name="frame_rate" type="double" value="10.0" />
<param name="output_rate" type="double" value="0.0" /> <!-- >0: throttle rate for publishing frames -->
<param name="pixel_clock" type="int" value="24" />
<param name="flip_upd" type="bool" value="True" />
<param name="flip_lr" type="bool" value="False" />
</node>
<node pkg="nodelet" type="nodelet" name="ueye_cam_nodelet_2" respawn="true"
args="load ueye_cam/ueye_cam_nodelet $(arg nodelet_manager_name)">
<param name="camera_name" type="str" value="$(arg camera_name)2" /> <!-- == namespace for topics and services -->
<param name="camera_topic" type="str" value="image_raw" />
<param name="camera_id" type="int" value="2" /> <!-- 0 = any camera; 1+: camera ID -->
<param name="camera_intrinsics_file" type="string" value="" /> <!-- default: ~/.ros/camera_info/<camera_name>.yaml -->
<param name="camera_parameters_file" type="string" value="" /> <!-- default: ~/.ros/camera_conf/<camera_name>.ini -->
<param name="ext_trigger_mode" type="bool" value="False" />
<param name="color_mode" type="str" value="rgb8" />
<param name="image_width" type="int" value="800" />
<param name="image_height" type="int" value="1200" />
<param name="image_top" type="int" value="-1" /> <!-- -1: center -->
<param name="image_left" type="int" value="-1" /> <!-- -1: center -->
<param name="subsampling" type="int" value="1" /> <!-- supported by only some UEye cameras -->
<param name="binning" type="int" value="1" /> <!-- supported by only some UEye cameras -->
<param name="sensor_scaling" type="double" value="1.0" /> <!-- supported by only some UEye cameras -->
<param name="auto_gain" type="bool" value="True" />
<param name="master_gain" type="int" value="0" />
<param name="red_gain" type="int" value="0" />
<param name="green_gain" type="int" value="1" />
<param name="blue_gain" type="int" value="16" />
<param name="gain_boost" type="bool" value="False" />
<param name="auto_exposure" type="bool" value="True" />
<param name="exposure" type="int" value="33" /> <!-- in ms -->
<param name="auto_white_balance" type="bool" value="True" />
<param name="white_balance_red_offset" type="int" value="0" />
<param name="white_balance_blue_offset" type="int" value="0" />
<param name="flash_delay" type="int" value="0" /> <!-- in us -->
<param name="flash_duration" type="int" value="1000" /> <!-- in us -->
<param name="auto_frame_rate" type="bool" value="False" />
<param name="frame_rate" type="double" value="10.0" />
<param name="output_rate" type="double" value="0.0" /> <!-- >0: throttle rate for publishing frames -->
<param name="pixel_clock" type="int" value="24" />
<param name="flip_upd" type="bool" value="True" />
<param name="flip_lr" type="bool" value="False" />
</node>
<node name="web_video" type="web_video_server" pkg="web_video_server" respawn="true">
<param name="type" value="vp8"/>
<param name="address" value="10.42.0.1"/>
</node>
<node pkg="img_saver" type="img_saver_node" name="img_saver"/>
</launch>
Issue Analytics
- State:
- Created 6 years ago
- Comments:17 (2 by maintainers)
Top Results From Across the Web
Failed to load nodelet - ROS Answers: Open Source Q&A Forum
Hi all, I have been developing a nodelet of my own making reference to kobuki project's safety controller package, however after I have ......
Read more >Failed to load nodelet '/acquisition_node` of type `acquisition ...
Failed to load nodelet '/acquisition_node of type acquisition/capture_nodelet to manager vision_nodelet_manager' #108.
Read more >Failed to load nodelet [/local_planner_node] of type ...
Hello, I am trying to run the local_planner with the install folder (output of cantkin build with config --install) on an Intel compute ......
Read more >Something wrong with the PCL, failed to load nodelet.
Failed to load nodelet [/passthrough] of type [pcl/PassThrough]: According to the loaded plugin descriptions the class pcl/PassThrough with base class type ...
Read more >nodelet - ROS Answered - MetroRobots.com
Failed to load nodelet '/ekf_se` of type `RobotLocalization/EkfNodelet` to manager `/mobile_base_nodelet_manager', 0, False, willzoe, 2020-05-05 09:38:17 ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ejalaa12 we use the same solution as you do. Specifying after ueye in the.service file.
@ejalaa12 Yes, but obviously this mostly just matters for the cases where you actually have external dependencies, so basically, device drivers.