Skip to content

abhinavjain241/comm_tcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

comm_tcp: Package in ROS for TCP/IP communication

A ROS Catkin package with client and server nodes to communicate with other frameworks on different operating systems using TCP/IP.

Before running the package, make sure the ROS master is up and running:

$ roscore

Once the master is up, run the following commands:

For Server Node: (Replace 'port_number' by the specific port)

$ rosrun comm_tcp server_node <port_number>

To communicate with Piaget, simply run the script l-runServer.sh present in the scripts directory.

$ ./scripts/l-runServer.sh

For Client Node: (Replace 'server_address' and 'port_number' by the correct values)

$ rosrun comm_tcp client_node <server_address> <port_number>

To communicate with Piaget, simply run the script l-runClient.sh present in the scripts directory.

$ ./scripts/l-runClient.sh <server_address>

TODO:

  • Refactor the sockets code (in C) to a more object oriented C++ version.
  • Refactor code according to C++ style guide convention.
  • Follow ROS package guidelines and hopefully publish package.

About

ROS Package for communication over TCP/IP.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published