ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Connecting a 3d Camera Over a network

asked 2019-11-08 05:29:45 -0600

Tahir M. gravatar image

I am trying to connect to Astra Stereo S – Orbbec remotely. Setup: The camera is connected to a PC on the robot and the software is running on a remote PC.

Desired Solution: Setting up camera parameters on the internet and retrieving on the Ros parameters and changing the files appropriate to look for the camera parameters.

I have successfully changed the code (here 1. in OndeviceConnected() and 2. in initDevice()) to look for the parameters on the network if available.

But now the software is trying open device (it is connected on a robot PC and the software is looking in the local machine). I think the changes should be made here in OpenCamera() which actually takes UVCCameraConfig.

Currently I am not having the solution which sort of script should I run on the robot PC which allows to open a usb camera and how should I open the device from remote PC.

Sorry if the questions is silly (I am not an expert in vision).

Any suggestions and leads will highly be appreciated.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2019-11-08 15:19:08 -0600

ChriMo gravatar image

Hi, I hope, I understand your question right.

I use this powerful framework [ http://robotwebtools.org/ ] for this task.

My robot has installed a local webserver and I use ros_bridge and web_video_server nodes in combination with a small html/javascript page.

Easy job to control the robot and use robots cam, sensors and actuators... just sending json to ros_bridge.

Cheers Chrimo

edit flag offensive delete link more

Comments

Hi Thank you for your reply. I just came back to this after a week so sorry for being late in the reply. This library seems great, but I have a question just after going through the description of the project. Can I send the data over the network without any rosic way to the library because I don't want to run the camera driver on the robot as it will slow down the process.

Tahir M. gravatar image Tahir M.  ( 2019-11-18 08:28:55 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2019-11-08 05:29:45 -0600

Seen: 622 times

Last updated: Nov 08 '19