Robotics StackExchange | Archived questions

How to send message from ROS to user defined TCP/IP Port?

Hi guys,

I have a listerner program in my Window 8 PC that listen on certain port number for socket connection and incomming message from ROS Navigation stack (move_base). The message is 9 bytes long.

The context is described in the Communication secton in page 5 of this document. I have created a simple client using Python actionlib to send series of goal to the movebase. Once the goal is reached, the client need to send a 9 Byte message to listener program at Window over TCP/IP socket. The listener program then send back a 1 Byte response message. After receiving this response, the client node should send next goal to the move_base.

I am not very good at programming :( so it would be very appreciatvie if someone share their programming experience here please.

Asked by niraj007 on 2016-04-13 04:04:36 UTC

Comments

Answers