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

asked 2016-04-13 04:04:36 -0600

niraj007 gravatar image

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 action_lib to send series of goal to the move_base. 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.

edit retag flag offensive close merge delete