Difference between revisions of "MYRAbot's arm control (bioloid+arduino)"

From robotica.unileon.es
Jump to: navigation, search
(Arduino IDE and rosserial)
(Arduino IDE and rosserial)
Line 22: Line 22:
 
When the installation of [http://www.arduino.cc arduino] software ends, we will install the [http://www.ros.org ROS] ''package''. For this, we will execute the next command in a terminal:
 
When the installation of [http://www.arduino.cc arduino] software ends, we will install the [http://www.ros.org ROS] ''package''. For this, we will execute the next command in a terminal:
  
<syntaxhighlight>sudo apt-get install ros-NUESTRA_VERSIÓN_ROS-rosserial</syntaxhighlight>
+
<syntaxhighlight>sudo apt-get install ros-ROS_DISTRO-rosserial</syntaxhighlight>
 +
 
 +
When we will have installed [http://www.arduino.cc arduino] IDE and the ''package'' rosserial, we must copy the libraries for the ''package'' rosserial_arduino to the sketchbook of [http://www.arduino.cc arduino].
 
    
 
    
 
<!--
 
<!--
Una vez realizada la instalación del software de [http://www.arduino.cc arduino] se procedera a la instalación del ''package'' de [http://www.ros.org ROS] ejecutando en un terminal el siguiente comando:
 
  
<syntaxhighlight>sudo apt-get install ros-NUESTRA_VERSIÓN_ROS-rosserial</syntaxhighlight>
 
  
 
Instalados [http://www.arduino.cc arduino] IDE y el ''package'' rosserial debemos copiar las librerial de ''stack'' rosserial_arduino a el sketchbook de [http://www.arduino.cc arduino], carpeta que se encuentra habitualmente en la carpeta personal, para lo que ejecutaremos en un terminal los siguientes comandos:
 
Instalados [http://www.arduino.cc arduino] IDE y el ''package'' rosserial debemos copiar las librerial de ''stack'' rosserial_arduino a el sketchbook de [http://www.arduino.cc arduino], carpeta que se encuentra habitualmente en la carpeta personal, para lo que ejecutaremos en un terminal los siguientes comandos:

Revision as of 12:56, 23 December 2013

< go back to main

Bioloid arm

The arm that we will use is that Carlos Rodríguez Hernández developed in the project MYRA Robot: Hardware Update . The main components are:

Photograph of Bioloid arm.
  • Arduino mega 2560 board.
  • 74LS241 chip (tree-state Buffer).
  • Voltage regulator circuit.
  • 5 serial servo motors Dynamixel AX-12A.
  • Mounting components of Bioloid kit.
  • Parts made for the gripper and to fix to MYRAbot.

Arduino IDE and rosserial

For the communication among arduino and ROS, we install arduino IDE and rosserial (package de ROS which include the package rosserial_arduino with the libraries for arduino. We will start to installing arduino IDE, for this, we will execute the next commands in a terminal:

sudo apt-get update
sudo apt-get install arduino arduino-core

When the installation of arduino software ends, we will install the ROS package. For this, we will execute the next command in a terminal:

sudo apt-get install ros-ROS_DISTRO-rosserial

When we will have installed arduino IDE and the package rosserial, we must copy the libraries for the package rosserial_arduino to the sketchbook of arduino.


< go back to main