photoneo / phoxi_camera

ROS Package for PhoXi Scanner/Camera. If you like us, STAR US! :P
MIT License
44 stars 32 forks source link

The ros node cannot connected to the photoneo camera #36

Open xywlpo opened 4 years ago

xywlpo commented 4 years ago

Hi, I am a computer vision engineer from SIASUN Company. Now I have met a problem about using your photoneo camera with ROS kinetic. I acquire the driver of photoneo camera with version 1.2.6, and install correctly ros node based on https://github.com/photoneo/phoxi_camera. But I cannot connect to the camera in my ros node, since the PhoXiControl has been connected to camera. The attachment show the phenomenont. Please give me some help for get data of photoneo camera from the ros. 1

MiroslavKohut commented 4 years ago

You should use available services for connecting to the scanner after starting the node scanner is not connected by default. If you want the scanner to be connected by default you should specify scanner_id in configuration file https://github.com/photoneo/phoxi_camera/blob/devel/config/phoxi_camera.yaml#L1 then you should use: roslaunch phoxi_camera phoxi_camera.launch to start the phoxi_camera node with loaded config.