Rosserial Script: Difference between revisions

From Control Systems Technology Group
Jump to navigation Jump to search
Line 7: Line 7:


== Reading the data from a text-file ==
== Reading the data from a text-file ==
[[File:Read file.png|x400px]]


== Sending the data to ROS ==
== Sending the data to ROS ==

Revision as of 16:12, 20 June 2016

This is a brief explanation of the code used to read data from a file containing the angles controlling the AMIGO's arms and sending these angles to an Ubuntu machine to publish them on a ROS topic.

This code is part of a project to create a robot technique that allows users to hug someone when separated by a disctance like a phone call.

Setting up the connection to ROS

Setup.png

Reading the data from a text-file

Read file.png

Sending the data to ROS