Rosserial Script: Difference between revisions

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


== Sending the data to ROS ==
== Sending the data to ROS ==
[[File:Send data.png|x400px]]
[[File:Send data.png|x280px]]

Revision as of 17:14, 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

Send data.png