orbbec / ros_astra_camera

ROS wrapper for Astra camera
Apache License 2.0
68 stars 28 forks source link

Stream ir is not enabled. #201

Closed scybd closed 7 months ago

scybd commented 7 months ago

started roslaunch server http://thyc:46543/

SUMMARY

PARAMETERS

NODES /camera/ camera (astra_camera/astra_camera_node)

auto-starting new master process[master]: started with pid [75731] ROS_MASTER_URI=http://localhost:11311

setting /run_id to af4c2ac2-07a6-11ef-9f83-09dafca65488 process[rosout-1]: started with pid [75741] started core service [/rosout] process[camera/camera-2]: started with pid [75749] [ INFO] [1714559796.293863986]: Starting camera node... [ INFO] [1714559796.299676876]: Creating camera node...

[ INFO] [1714559796.300286813]: Initializing OBCameraNodeFactory... [ INFO] [1714559796.306828856]: init Done [ INFO] [1714559796.306849442]: Query device [ INFO] [1714559796.306869765]: Creating camera node done... [ INFO] [1714559796.306882069]: Found 1 devices [ INFO] [1714559796.407078216]: Device connected: (name, Astra) (uri, 2bc5/0401@3/6) (vendor, Orbbec) [ INFO] [1714559796.407101824]: Trying to open device: 2bc5/0401@3/6 [ INFO] [1714559796.507223507]: OBCameraNodeFactory::onDeviceConnected Open device start [ INFO] [1714559796.550708762]: OBCameraNodeFactory::onDeviceConnected Open device done, STATUS 0 [ INFO] [1714559796.550732752]: Device connected: Astra serial number: 19010420285 [ INFO] [1714559796.550744520]: Start device [ WARN] [1714559796.574782774]: Infrared and Color streams are enabled. Infrared stream will be disabled. [ INFO] [1714559796.574819731]: set depth video mode Resolution :640x480@30Hz format PIXEL_FORMAT_DEPTH_1_MM [ INFO] [1714559796.575013838]: set color video mode Resolution :640x480@30Hz format PIXEL_FORMAT_RGB888 [ WARN] [1714559796.575958487]: No color sensor found or transition is invalid , setting translation to 0 [ WARN] [1714559796.576048219]: Publishing dynamic camera transforms (/tf) at 10 Hz [ INFO] [1714559796.588097174]: using default calibration URL [ INFO] [1714559796.588127725]: camera calibration URL: file:///home/thy/.ros/camera_info/ir_camera.yaml [ INFO] [1714559796.588167601]: Unable to open camera calibration file [/home/thy/.ros/camera_info/ir_camera.yaml] [ WARN] [1714559796.588182569]: Camera calibration file /home/thy/.ros/camera_info/ir_camera.yaml not found. [ INFO] [1714559796.588209446]: using default calibration URL [ INFO] [1714559796.588220735]: camera calibration URL: file:///home/thy/.ros/camera_info/rgb_camera.yaml [ INFO] [1714559796.588491743]: OBCameraNode initialized [ INFO] [1714559796.588503765]: Start device done [ INFO] [1714559799.674602291]: Image stream ir subscribed [ WARN] [1714559799.674644123]: Stream ir is not enabled.


- 终端2无输出
- 我在launch中已经将**enable_ir**设置成了true,为什么还是会显示**Stream ir is not enabled.**
scybd commented 7 months ago

我知道了,launch文件中的enable_color和enable_ir同一时间只能一个为true