Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node failing to launch #1

Open
kartheekmedathati opened this issue Jun 21, 2024 · 0 comments
Open

Node failing to launch #1

kartheekmedathati opened this issue Jun 21, 2024 · 0 comments

Comments

@kartheekmedathati
Copy link

Hi! I am trying this out on ros2 humble, even though the ffplay aptly captures the video from the device at /dev/video0 running this node is throwing an exception:

ros2 launch camera_node camera_node_demo.py camera_path:=/dev/video0
[INFO] [launch]: All log files can be found below /root/.ros/log/2024-06-21-22-10-24-976690-hms-6758
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [component_container-1]: process started with pid [6772]
[INFO] [component_container-2]: process started with pid [6774]
[component_container-1] [INFO] [1719007825.268665127] [camera_node.camera_node_container]: Load Library: /Work/SLAM_Experiments/ros2-camera-node/install/camera_node/lib/libcamera_node_component.so
[component_container-2] [INFO] [1719007825.269494465] [camera_node.frame_fetcher_container]: Load Library: /Work/SLAM_Experiments/ros2-camera-node/install/camera_node/lib/libframe_fetcher_node.so
[component_container-1] [INFO] [1719007825.319949224] [camera_node.camera_node_container]: Found class: rclcpp_components::NodeFactoryTemplate<camera_node::CameraNode>
[component_container-1] [INFO] [1719007825.319968550] [camera_node.camera_node_container]: Instantiate class: rclcpp_components::NodeFactoryTemplate<camera_node::CameraNode>
[component_container-2] [INFO] [1719007825.330884894] [camera_node.frame_fetcher_container]: Found class: rclcpp_components::NodeFactoryTemplate<camera_node::FrameFetcherNode>
[component_container-2] [INFO] [1719007825.330900843] [camera_node.frame_fetcher_container]: Instantiate class: rclcpp_components::NodeFactoryTemplate<camera_node::FrameFetcherNode>
[INFO] [launch_ros.actions.load_composable_nodes]: Loaded node '/frame_fetcher_node' in container '/camera_node/frame_fetcher_container'
[component_container-1] [ERROR] [1719007825.450991846] [camera_node.camera_node_container]: Component constructor threw an exception:
[ERROR] [launch_ros.actions.load_composable_nodes]: Failed to load node 'camera_node' of type 'camera_node::CameraNode' in container '/camera_node/camera_node_container': Component constructor threw an exception:
Unknown error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant