Rosserial Script

From Control Systems Technology Group
Jump to navigation Jump to search

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

Sending the data to ROS