photoneo / phoxi_camera

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

how to set the argument about the service "/get_frame". #31

Open ou-ais opened 4 years ago

ou-ais commented 4 years ago

Hi, Thank you for your package. I just launched the node "phoxi_camera.launch" and called a series of services . But I really don't know how to set the argument about the service of "/get_frame" . Could you tell me how to set it for getting the frame of point_cloud.

Best wish. ying

MatejBartosovic commented 4 years ago

Hi, get_frame require id parameter returned by /trigger_image service (/trigger_image trigger scan and /get_frame to publish point cloud to ros topics). If you call /get_frame service with argument -1 trigger image is called automatically and you do not have to call /trigger_image service (you call only /get_frame with argument -1 )

If you have any questions about service argument in future please see corresponding service file in srv folder first, usually, there are some notes to arguments.