orbbec / ros_astra_camera

ROS wrapper for Astra camera
Apache License 2.0
65 stars 26 forks source link

wait for device to be connected #185

Open camelator opened 1 year ago

camelator commented 1 year ago

I am inside a container based on noetic & focal. Here is the display with command : roslaunch astra_camera astra_pro.launch

SUMMARY

PARAMETERS

NODES /camera/ camera (astra_camera/astra_camera_node)

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

setting /run_id to eb3828d8-d651-11ed-9444-08fbeac23c84 process[rosout-1]: started with pid [23176] started core service [/rosout] process[camera/camera-2]: started with pid [23186] [ INFO] [1680988286.528103450]: Starting camera node... [ INFO] [1680988286.559964607]: Creating camera node...

[ INFO] [1680988286.563530921]: Initializing OBCameraNodeFactory... [ INFO] [1680988286.602057152]: init Done [ INFO] [1680988286.602183739]: Creating camera node done... [ INFO] [1680988286.602309326]: Query device [ INFO] [1680988286.602482581]: Found 1 devices [ INFO] [1680988286.603888748]: Device connected: (name, Astra) (uri, 2bc5/0403@7/9) (vendor, Orbbec) [ INFO] [1680988286.604044794]: Trying to open device: 2bc5/0403@7/9 [ INFO] [1680988286.704315196]: OBCameraNodeFactory::onDeviceConnected Open device start Warning: USB events thread - failed to set priority. This might cause loss of data... [ INFO] [1680988287.602058510]: wait for device to be connected [ INFO] [1680988288.601937949]: wait for device to be connected [ INFO] [1680988289.601905473]: wait for device to be connected [ INFO] [1680988290.602131297]: wait for device to be connected [ INFO] [1680988291.601903690]: wait for device to be connected

lsusb inside the container: root@rockpi:~/ros_ws# lsusb Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 007 Device 010: ID 2bc5:0502
Bus 007 Device 009: ID 2bc5:0403 USB2.0 Hub

lsusb outside the container: root@rockpi:/sys/module/usb_storage/parameters# lsusb Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 007 Device 010: ID 2bc5:0502 Orbbec 3D Technology International, Inc Astra Pro FHD Camera Bus 007 Device 009: ID 2bc5:0403 Orbbec 3D Technology International, Inc Astra Pro Bus 007 Device 008: ID 05e3:0610 Genesys Logic, Inc. Hub

docker-compose file:

version: "2.1"

services: alan4: image: cvotava/alan-ros1v0:latest environment:

I am using a rockpi 4b device

any help????