Difference between revisions of "HOAP3 - Developer Info"

From Asibot & HOAP3 & TEO Wiki
Jump to navigation Jump to search
Line 2: Line 2:
 
There are several ways to control the robot, the most usual is the wireless mode.  
 
There are several ways to control the robot, the most usual is the wireless mode.  
  
* The first step is to switch on the robot. First you have to switch the '''logic power'''(internal computer of the robot) and then, the '''motor power'''(servos of the robot). Change the order may cause damage to the robot.
+
* The first step is to switch on the robot. First you have to switch the '''logic power''' (internal computer of the robot) and then, the '''motor power''' (servos of the robot). Change the order may cause damage to the robot.
 
[[File:Power.png]]
 
[[File:Power.png]]
  

Revision as of 12:50, 19 August 2010

Starting the robot

There are several ways to control the robot, the most usual is the wireless mode.

  • The first step is to switch on the robot. First you have to switch the logic power (internal computer of the robot) and then, the motor power (servos of the robot). Change the order may cause damage to the robot.
Error creating thumbnail: Unable to save thumbnail to destination
  • You have to connect to HOAP wifi router, called corega. To do it you may log in the HOAP PC or connect from your own laptop. If you connect from your own laptop, skip this step, to start HOAP PC:
login: root
password: default
  • Once you are logged in corega you have to connect to HOAP robot through telnet. Open a terminal and follow the instructions:
$ telnet 10.59.145.197
login: guest
password: guest
$ su
password: default
  • Now you are inside the robot, you have to initialize the encoders. The relative encoders will try to reach their origin, if you get an error, don't panic, do it again.
# cd /usr/local/hoap3/data
# sh start.sh
  • Finally you can send a trajectory to the robot.
# sh walk.sh
  • Or you can move its head.
# ../bin/sendone
command:1,3,22,e,15
command:1,3,22,e,75


Stopping the robot

  • To stop the robot first you have to stop the servos.
# svoff
  • Then you have to shut down the internal computer of the robot.
# poff
  • Finally you have to switch off the motor power and then the logic power. Change the order may cause damage to the robot.


Collection of trajectories

All the trajectories are stored in data folder. To send a trajectory to the robot we use the instruction sendseq (for more details see the manual).

# ../bin/sendseq < m03.csv