Ask Your Question
1

ROS Server Client communication

asked 2012-12-16 10:27:37 -0500

leva87x gravatar image

updated 2014-04-20 14:09:27 -0500

ngrennan gravatar image

Hello.

I want to use ROS as two parts application. Server and Client. I got a robotic arm that should run on server and i could be controlled by client over network. Is that posible? I mean is there allready a package that could be used by me? I find something like this, called http://www.ros.org/wiki/actionlib (actionlib) but i’m not sure if its the right one.

Greets Alex

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
3

answered 2012-12-16 16:00:22 -0500

Albert K gravatar image

If you're trying to connect the server computer from another client computer. You can follow this

First, assume that your server IP is [sIP], and client IP is [cIP]. Make sure that you can ping [sIP] from your client computer. And then type :

export ROS_HOSTNAME=[cIP]
export ROS_MASTER_URI=http://[sIP]:11311

in the terminal of the client computer.

Now you can try :

rostopic list

or

rosnode list

You should be able to see the nodes and topics existing on the server computer. And then you can do any operation as if in the same computer.

Actionlib is some kind of technique that is similar to service but provides more functions. It's widely used in arm navigation and controller as I know. This might not related to your original need.

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: 2012-12-16 10:27:37 -0500

Seen: 547 times

Last updated: Dec 16 '12