Ask Your Question
2

Use GoPro cameras with ROS

asked 2016-04-15 13:31:20 -0500

Caili Li gravatar image

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 ROS_MASTER_URI 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 ROS_MASTER_URI, 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!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-04-15 15:46:57 -0500

jncjaen gravatar image

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

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2016-04-15 13:31:20 -0500

Seen: 1,653 times

Last updated: Apr 15 '16