Vizzy: Difference between revisions

From ISRWiki
Jump to navigation Jump to search
Line 68: Line 68:


It is recommended to add this variable to the /etc/bash.bashrc (as root)
It is recommended to add this variable to the /etc/bash.bashrc (as root)
    export PLXCANAPI_DIR=/usr/local/src/robot/drivers/plxCanApi


2) Uncompress the file http://eris.liralab.it/iCub/downloads/drivers/linux/pc104etchnhalf-bin-1.2.tgz in the folder /usr/local/src/robot/.
2) Uncompress the file http://eris.liralab.it/iCub/downloads/drivers/linux/pc104etchnhalf-bin-1.2.tgz in the folder /usr/local/src/robot/.

Revision as of 14:00, 4 February 2011

Vizzy is a nice and new robot.


Plan

1week - 29May

Head cabling done

Motor control board fixation projected

2week

Definition of computation power, check if iCub version is enough

3week

One shoulder/arm + hand cabled to test

Control board supports built and ready

Shell completly projected

4week



Hardware

Motors

Faulhaber motors

Shell

Still missing the project of one connection


Cabling

Where to connect the cameras???? Sensors???

Computation power

Debian Linux installation on the PC104

Due to the constraints of PCAN bus module, the Debian version must be 4.0 (etch)

  Linux version 2.6.24-etchnhalf.1-686

The repositories of this version are not online anymore, so in order to install the system, you should:

  • Download the netinstaller and the DVDs containing the packages, http://www.debian.org/releases/etch/debian-installer/
  • During installation, there will be a problem due to the unavailability of the packages. At this point continue the install procedure and when rebooting the system you will be able to add manually all the packages you need.


Installation of PCAN bus driver

The original installation procedure is on the robotCub wiki, http://eris.liralab.it/wiki/The_Linux_on_the_pc104 and http://eris.liralab.it/wiki/Compilation_on_the_pc104 . We follow the same procedure,

1) In addition to the iCub and YARP environment variables, and depending on the device you use you will also need:

 PLXCANAPI_DIR=/usr/local/src/robot/drivers/plxCanApi

It is recommended to add this variable to the /etc/bash.bashrc (as root)

   export PLXCANAPI_DIR=/usr/local/src/robot/drivers/plxCanApi

2) Uncompress the file http://eris.liralab.it/iCub/downloads/drivers/linux/pc104etchnhalf-bin-1.2.tgz in the folder /usr/local/src/robot/.

3) Compilation of the iCub repository, which it needs to enable the follwing flags:

ENABLE_icubmod_pcan
ENABLE_icubmod_canmotioncontrol
ENABLE_icubmod_dragonfly2
ENABLE_icubmod_logpolarclient
ENABLE_icubmod_logpolargrabber
ENABLE_icubmod_xsensmtx

ToDo: Check the source code provided by IIT in order to compile it against newer or other Linux versions.

Start up script for PCAN bus driver

Add the following lines to /etc/rc.local script:

  declare -x PLX_SDK_DIR=/usr/local/src/robot/drivers/plxCanApi
  bash -c "$PLX_SDK_DIR/Bin/Plx_load 9030"

The lines above allow the PLX module loading during the pc104 boot.

Enviroment variables for running the iCubInterface

Add the following lines to /etc/bash.bashrc (as root)

   export ICUB_DIR=/iCub
   export ICUB_ROOT=/iCub
   export YARP_DIR=/yarp2
   export YARP_ROOT=/yarp2

We recommend to add the lines above before the following lines on /etc/bash.bashrc

   # If not running interactively, don't do anything
   [ -z "$PS1" ] && return

The proper placing of the environment variables will allow to access their values on a non-interactive login.

Enviroment variables for remote login

For remote access such as ssh (putty on Windows), you should add the following line to /etc/profile (as root), right at the beginning:

   /source /etc/bash.bashrc

Motor Control Boards

Head

2x M4C, 1 MCP status electric specification: projected status fixation: done

Torso and Shoulder

status electric specification: projected, one may be short in current status fixation: projected, under verification

Hands

status electric specification: projected status fixation: under project

Battery

Power demand: ???? Supplier: Kokam Typical 25A - 5Kg - 16x30x5 cm

Charger:?


Segway

Software to be developed

Payload is over the limit, check

Sensors

Cameras

Dragonfly2

Inertial sensor

XSens

Expressions

Shapes, aesthetics, done

Under definition supports, electronic, ...


Tactile sensors

Still some parts missing, magnets

Sensors bought

Electronic board, waiting for PCB, ...

Software under development

http://www.pressureprofile.com/products-fingertps

Laser

Kyoko

Fixation: inside front cover Media:Example.ogg