BallFollowingDemo: Difference between revisions
Jump to navigation
Jump to search
(New page: You neet to use two Cortex pc's for this demo. I will use Cortex1 and Cortex2 in the wiki. 0 - Turn on the iCub: cameras, iCubInterface, etc. 1 - Run the image rectifier. as dem...) |
No edit summary |
||
Line 6: | Line 6: | ||
as demo@cortex1: | as demo@cortex1: | ||
cd 0.icub_3D_ball_tracker | cd 0.icub_3D_ball_tracker | ||
./0.LEFT_320x240_image_rectifier.sh | ./0.LEFT_320x240_image_rectifier.sh | ||
Line 13: | Line 12: | ||
as demo@cortex2: | as demo@cortex2: | ||
cd 0.icub_3D_ball_tracker | cd 0.icub_3D_ball_tracker | ||
./1.LEFT320x240.iCub_set_parameters_of_framegrabber_REALISTIC.sh | ./1.LEFT320x240.iCub_set_parameters_of_framegrabber_REALISTIC.sh | ||
Line 21: | Line 19: | ||
on the computer you're using for visualization (e.g. chico2): | on the computer you're using for visualization (e.g. chico2): | ||
yarpview /viewer | yarpview /viewer | ||
Line 36: | Line 33: | ||
./5.connect_LeftEyeToRoot.sh | ./5.connect_LeftEyeToRoot.sh | ||
6 - OPTIONAL - Read the 3D position of the ball in the root reference frame | 6 - OPTIONAL - Read the 3D position of the ball in the root reference frame | ||
yarp read ... /LeftEyeToRoot/ballPositionOut | |||
as anybody@anywhere | |||
yarp read ... /LeftEyeToRoot/ballPositionOut | |||
Revision as of 15:28, 31 March 2009
You neet to use two Cortex pc's for this demo. I will use Cortex1 and Cortex2 in the wiki.
0 - Turn on the iCub: cameras, iCubInterface, etc.
1 - Run the image rectifier.
as demo@cortex1: cd 0.icub_3D_ball_tracker ./0.LEFT_320x240_image_rectifier.sh
2 - Set the color parameters of the left camera, run the tracker.
as demo@cortex2: cd 0.icub_3D_ball_tracker ./1.LEFT320x240.iCub_set_parameters_of_framegrabber_REALISTIC.sh ./2.execute_the_tracker.sh
3 - OPTIONAL - Run a viewer
on the computer you're using for visualization (e.g. chico2): yarpview /viewer
4 - Run the module that converts coordinates from eye to belly button (root).
as demo@cortex1: cd 0.icub_3D_ball_tracker ./4.execute_LeftEyeToRoot.sh
5 - Connect all ports. CAREFUL: the robot should start moving after this step.
as demo@cortex1: ./3.LEFT.iCub_connect_ports.sh ./5.connect_LeftEyeToRoot.sh
6 - OPTIONAL - Read the 3D position of the ball in the root reference frame
as anybody@anywhere yarp read ... /LeftEyeToRoot/ballPositionOut