KavenYau / ros2_astra_camera

ROS2 wrapper for Astra camera
Apache License 2.0
23 stars 6 forks source link

Insufficient Permission #7

Closed Zephyr69 closed 1 year ago

Zephyr69 commented 1 year ago

Platform: Jetson OS: 20.04 ROS dist: Foxy

I got this error:

Log: [INFO] [launch]: Default logging verbosity is set to INFO [INFO] [component_container-1]: process started with pid [92684] [INFO] [astra_camera_node-2]: process started with pid [92686] [INFO] [uvc_camera_node-3]: process started with pid [92688] [INFO] [robot_state_publisher-4]: process started with pid [92690] [robot_state_publisher-4] [WARN] [1668760922.168249535] [robot_state_publisher]: No robot_description parameter, but command-line argument available. Assuming argument is name of URDF file. This backwards compatibility fallback will be removed in the future. [uvc_camera_node-3] [WARN] [1668760922.175996977] [rcl.logging_rosout]: Publisher already registered for provided node name. If this is due to multiple nodes with the same name then all logs for that logger name will go out over the existing publisher. As soon as any node with that name is destructed it will unregister the publisher, preventing any further logs for that name from being published on the rosout topic. [component_container-1] [INFO] [1668760922.183427942] [depth_image_proc_container]: Load Library: /opt/ros/foxy/lib/libdepth_image_proc.so [robot_state_publisher-4] Parsing robot urdf xml string. [robot_state_publisher-4] Link camera_depth_frame had 1 children [robot_state_publisher-4] Link camera_depth_optical_frame had 0 children [robot_state_publisher-4] Link camera_rgb_frame had 1 children [robot_state_publisher-4] Link camera_rgb_optical_frame had 0 children [robot_state_publisher-4] [INFO] [1668760922.198695469] [robot_state_publisher]: got segment camera_depth_frame [robot_state_publisher-4] [INFO] [1668760922.198866955] [robot_state_publisher]: got segment camera_depth_optical_frame [robot_state_publisher-4] [INFO] [1668760922.198974282] [robot_state_publisher]: got segment camera_link [robot_state_publisher-4] [INFO] [1668760922.199070025] [robot_state_publisher]: got segment camera_rgb_frame [robot_state_publisher-4] [INFO] [1668760922.199164584] [robot_state_publisher]: got segment camera_rgb_optical_frame [astra_camera_node-2] [INFO] [1668760922.239098263] [astra_wrapper]: Device "2bc5/0403@1/25" found. [astra_camera_node-2] [INFO] [1668760922.262275567] [astra_camera_node]: ir_frame_id = 'camera_ir_optical_frame' [astra_camera_node-2] [INFO] [1668760922.262687755] [astra_camera_node]: rgb_frame_id = 'camera_rgb_optical_frame' [astra_camera_node-2] [INFO] [1668760922.262776362] [astra_camera_node]: depth_frame_id = 'camera_depth_optical_frame'

[uvc_camera_node-3] [INFO] [1668760922.281947945] [uvc_camera_node]: Opening camera with vendor=0x2bc5, product=0x502, serial="", index=0 [astra_camera_node-2] [INFO] [1668760922.295903965] [astra_camera_node]: No matching device found.... waiting for devices. Reason: astra_camera::AstraDevice::AstraDevice(const string&) @ /home/jetson/ros2_ws/src/ros2_astra_camera/ros2_astra_camera/src/astra_wrapper/astra_device.cpp @ 69 : Device open failed [astra_camera_node-2] Could not open "2bc5/0403@1/25": Access denied (insufficient permissions)! [astra_camera_node-2] [astra_camera_node-2] [uvc_camera_node-3] uvc_find_device: No such device (-4) [uvc_camera_node-3] terminate called after throwing an instance of 'std::runtime_error' [uvc_camera_node-3] what(): camera driver start failed. [component_container-1] [INFO] [1668760922.599684979] [depth_image_proc_container]: Found class: rclcpp_components::NodeFactoryTemplate [component_container-1] [INFO] [1668760922.599863633] [depth_image_proc_container]: Found class: rclcpp_components::NodeFactoryTemplate [component_container-1] [INFO] [1668760922.599936625] [depth_image_proc_container]: Found class: rclcpp_components::NodeFactoryTemplate [component_container-1] [INFO] [1668760922.600008784] [depth_image_proc_container]: Found class: rclcpp_components::NodeFactoryTemplate [component_container-1] [INFO] [1668760922.600075023] [depth_image_proc_container]: Instantiate class: rclcpp_components::NodeFactoryTemplate [INFO] [launch_ros.actions.load_composable_nodes]: Loaded node '/point_cloud_xyz_node' in container '/depth_image_proc_container' [ERROR] [uvc_camera_node-3]: process has died [pid 92688, exit code -6, cmd '/home/jetson/ros2_ws/install/ros2_astra_camera/lib/ros2_astra_camera/uvc_camera_node --ros-args -r __node:=uvc_camera_node --params-file /home/jetson/ros2_ws/install/ros2_astra_camera/share/ros2_astra_camera/launch/params/astra_pro.yaml']. [astra_camera_node-2] [INFO] [1668760925.326944726] [astra_camera_node]: No matching device found.... waiting for devices. Reason: astra_camera::AstraDevice::AstraDevice(const string&) @ /home/jetson/ros2_ws/src/ros2_astra_camera/ros2_astra_camera/src/astra_wrapper/astra_device.cpp @ 69 : Device open failed [astra_camera_node-2] Could not open "2bc5/0403@1/25": Access denied (insufficient permissions)! [astra_camera_node-2] [astra_camera_node-2] [astra_camera_node-2] [INFO] [1668760928.352116043] [astra_camera_node]: No matching device found.... waiting for devices. Reason: astra_camera::AstraDevice::AstraDevice(const string&) @ /home/jetson/ros2_ws/src/ros2_astra_camera/ros2_astra_camera/src/astra_wrapper/astra_device.cpp @ 69 : Device open failed [astra_camera_node-2] Could not open "2bc5/0403@1/25": Access denied (insufficient permissions)! [astra_camera_node-2] [astra_camera_node-2] ^C[WARNING] [launch]: user interrupted with ctrl-c (SIGINT)