Skip to content

Latest commit

 

History

History
80 lines (56 loc) · 2.47 KB

README.md

File metadata and controls

80 lines (56 loc) · 2.47 KB

Icon

#image_ip_transform

Author/Maintainer: James Kuczynski,
      Undergraduate Researcher,
      Robotics Laboratory,
      University of Massachusetts Lowell.
Email: [email protected]

=====

###Index

###Project Synopsis

This project provides a framework for transformations between ROS topics and TCP/IP streams. Using this API, the user can create a simple subscriber and/or publisher to run on the ROS system. The syntax is almost identical to those provided by ROS, but these will implicitly carry out the specified transform.

###Dependencies

###Install

If you wish to use the websocket modules, install QT >= 5.3 using the installer script. Install it at /opt/Qt, which is QT's default installaction location.

Build: cd to the catkin directory where this package resides and execute:

catkin_make

This will build the two example programs (a client and a server), as well as generate a static library. Of course, the source files can be copied into a separate project location and linked and/or modified.

Run (standard TCP):

roslaunch openni2_launch openni2.launch
rosrun ros_ip_transform RosServer
rosrun ros_ip_transform RosClient

Run (websockets) Run eadh of the following commands in a different terminal:

roscore
rosrun ros_ip_transform rqt_server
rosrun ros_ip_transform rqt_chatterbot_001

rostopic echo /troup_001/robot_001/chatter
rostopic echo /user/chatter

Then start one or more clients by running the chatclient.html file located in the src folder.

###Future Work

Implementation has begun for RosTopic --> TCP conversions for other data types (for example, std_msgs to std types, or to character arrays to facilitate conversion by other languages on the client side). In addition, modifications will be made so that the server does not block even if a client is not requesting.