Robotics StackExchange | Archived questions

Use GoPro cameras with ROS

Hey guys,

We are using 3 GoPro cameras for our experiment. I'd like to get the control of all cameras from one computer, so that we can control all the cameras at the same time or separately from this computer. I got a GoPro Python API and it works well. But the problem is that if I want to connect my computer to the GoPro camera, I have to connect to a wifi network established by the camera. So I just can connect to one camera at a time, and then switch the networks.

I googled and I still cannot find a way to get all 3 cameras in a same network.

So, we came up with a potential solution. We planed to use 3 computers. Each computer will connect one camera via wifi, and connect to the router where the ROS master is via Ethernet cable. So there are two different network in each computer.

I know that ROSMASTERURI is an IP address with a port, and the GoPro API also needs the camera's IP. The two IP are in two different environment.

My question is that shall I run every thing as if the camera API or the ROS is running separately? Will there be any conflict when I use these two network at the same time? When I tell the computer the IP address of ROSMASTERURI, does the computer know that I mean the exact computer with ROS master in the Ethernet network?

Or I have to do something else to help ROS choose which network should it use?

Thank you very much!

Asked by Caili Li on 2016-04-15 13:31:20 UTC

Comments

Answers

Hi Caili:

If you have a network, you can connect all pc with a same network roscore. Then you can publish with a one node in every pc to server (where you run roscore).

Multiple Machines, ros.org

Asked by jncjaen on 2016-04-15 15:46:57 UTC

Comments