Chico: Difference between revisions
Jump to navigation
Jump to search
Line 17: | Line 17: | ||
== Running a demo == | == Running a demo == | ||
1- Turn on the | 1 - Turn on chico2 | ||
set the namespace to /icub | |||
"yarp namespace /icub" | |||
run the yarp server | run the yarp server | ||
"yarp server" | "yarp server" | ||
run the yarp run server | run the yarp run server | ||
"yarp run --server / | "yarp run --server /chico2" | ||
2 - Turn on the laptop | |||
set the namespace to /icub | |||
"yarp namespace /icub" | |||
make sure the name server is visible | |||
"yarp where" should detect the name server (10.10.1.???) | |||
run the yarp run server | |||
"yarp run --server /icubsrv" | |||
2- Turn on the robot | 2- Turn on the robot | ||
It will mount the repository on the laptop | |||
set the namespace to /icub | set the namespace to /icub | ||
"yarp namespace /icub" | "yarp namespace /icub" | ||
make sure the name server is visible | make sure the name server is visible | ||
"yarp where" should detect 10.10.1. | "yarp where" should detect the name server (10.10.1.???) | ||
run the yarp run server | run the yarp run server | ||
"yarp run --server /pc104" | "yarp run --server /pc104" | ||
Line 38: | Line 55: | ||
3- (Skip this | 3- (Skip this for now) Start yarp run | ||
cd /iCub/app/default/scripts/ | cd /iCub/app/default/scripts/ | ||
Line 56: | Line 73: | ||
4- turn on cameras | 4- turn on cameras | ||
On chico2 do: | |||
cd /usr/local/src/robot/iCub/app/default/scripts | cd /usr/local/src/robot/iCub/app/default/scripts | ||
./cameras start | ./cameras start | ||
sometimes connections must be established manually | sometimes connections must be established manually | ||
"yarp connect /icub/cam/right /icub/view/right" | "yarp connect /icub/cam/right /icub/view/right" | ||
"yarp connect /icub/cam/left /icub/view/left" | "yarp connect /icub/cam/left /icub/view/left" | ||
To turn off the cameras do: | |||
./cameras stop | ./cameras stop | ||
Revision as of 11:51, 11 March 2009
Chico Instructions
Preliminaries
ICub has a PC104 with a flash disk configured to 10.10.1.50 It mounts the repositories that are on the laptop 10.10.1.51 (icub icub) There is a support machine called chico2 (10.10.1.51) for running the yarp server, launching scripts and visualization.
The laptop has 2 repositories
/export/code_64 for the laptop (compiled for 32bit)
/export/code_pc104 for the robot (compiled for 64bit)
They are anonymous, so changes are not commitable (DO NOT CHANGE)
Everything running with /icub namespace
Running a demo
1 - Turn on chico2
set the namespace to /icub "yarp namespace /icub"
run the yarp server "yarp server"
run the yarp run server "yarp run --server /chico2"
2 - Turn on the laptop
set the namespace to /icub "yarp namespace /icub"
make sure the name server is visible "yarp where" should detect the name server (10.10.1.???)
run the yarp run server "yarp run --server /icubsrv"
2- Turn on the robot
It will mount the repository on the laptop set the namespace to /icub "yarp namespace /icub"
make sure the name server is visible "yarp where" should detect the name server (10.10.1.???)
run the yarp run server "yarp run --server /pc104"
3- (Skip this for now) Start yarp run
cd /iCub/app/default/scripts/ ./icub-cluster.sh run ./icub-cluster.sh check there must be 3 ok messages
if some problem ./icub-cluster.sh check ./icub-cluster.sh stop killall yarp
killall yarp on pc104
./icub-cluster.sh run
4- turn on cameras
On chico2 do:
cd /usr/local/src/robot/iCub/app/default/scripts ./cameras start
sometimes connections must be established manually "yarp connect /icub/cam/right /icub/view/right" "yarp connect /icub/cam/left /icub/view/left"
To turn off the cameras do: ./cameras stop
5- Run iCubInterface (hardware except cameras)
open a pc104 console iCubInterface --config $ICUB_ROOT/app/iCubLisboa01/conf/icubSafe.ini wait for all boards to answer ( < 1 min ) control^C to cancel
6- Run demo
iCubDemoY3 --config /app/demoy3/fullBody.txt