Writing /var/lib/dokuwiki/data/meta/tutorials/object_manipulation_robot_simulator.meta failed
tutorials:object_manipulation_robot_simulator
Differences
This shows you the differences between two versions of the page.
tutorials:object_manipulation_robot_simulator [2019/11/14 02:19] – [Starting the vfclik system for the real robot (AAMAS 2019 experiments). Only runs on the right arm/hand] admin | tutorials:object_manipulation_robot_simulator [2022/09/20 00:08] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 586: | Line 586: | ||
* You can use the -f option to do a " | * You can use the -f option to do a " | ||
+ | === Finger tip pushing calibration === | ||
+ | Once you followed the [[tutorials: | ||
+ | a marker to the fingertip of the selected pushing finger. Then orient the hand (using run_right.sh "/ | ||
+ | |||
+ | Step-by-step instructions: | ||
+ | |||
+ | * Run the ros_to_yarp marker bridge without any object transform: | ||
+ | |||
+ | cd ar_pose_marker_yarp_bridge/ | ||
+ | ./ | ||
+ | |||
+ | * This will give the pure marker pose with no extra object transforms. | ||
+ | * Edit the webcam_calibration_values.py file. Set rel_pose_marker_finger transform to an identity homomatrix. | ||
+ | * Set the finger_pushing_pos joint angles in the exploration.py file to select your desired finger pushing configuration. | ||
+ | * Glue a marker to an object of interest. | ||
+ | * Position the object on a reachable pose on top of a table. | ||
+ | * Run exploration.py | ||
+ | |||
+ | cd local/ | ||
+ | ./ | ||
+ | |||
+ | * Follow the program instructions until this appears: | ||
+ | |||
+ | < | ||
+ | Getting initial object position | ||
+ | Box global pose [[ 0.99903308 | ||
+ | | ||
+ | [ 0.04315164 | ||
+ | [ 0. 0. 0. 1. ]] | ||
+ | If right, press " | ||
+ | </ | ||
+ | |||
+ | * If the position looks file press y and enter. The robot should move the finger behind the object with the fingertip aligned to the marker of the object (more or less). | ||
+ | * Remove the object. (hide this marker) | ||
+ | * Glue a marker to the finger tip. | ||
+ | * Ctrl-C (cancel) exploration.py | ||
+ | * Using run_right.sh / | ||
+ | * Get the finger_tip pose and the marker pose: | ||
+ | * In one console run (To_m): | ||
+ | |||
+ | yarp read ... / | ||
+ | |||
+ | * In another console run (To_f): | ||
+ | |||
+ | yarp read ... / | ||
+ | |||
+ | * Anotate both homomatrix. Calculate Tf_m =((To_f)^-1)*To_m | ||
+ | * Use Tf_m in webcam_calibration_values.py file with the rel_pose_marker_finger variable. | ||
+ | * Run exploration.py again. Check that the pushing orientation is the desired one. | ||
+ | |||
+ | === Exploring for the object parameters === | ||
+ | |||
+ | ./ | ||
==== Running in simulation the same conf as in real life ==== | ==== Running in simulation the same conf as in real life ==== | ||
tutorials/object_manipulation_robot_simulator.1573697959.txt.gz · Last modified: 2022/09/20 00:08 (external edit)