Vizzy Cartesian Interface: Difference between revisions
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
* kinematics_file: indicates the path and name of the file with the kinematic chain description. | * kinematics_file: indicates the path and name of the file with the kinematic chain description. | ||
* part: indicates which part of the robot is going to be solved, the right_arm or left_arm part. The selected part does not only affect the part referred but also the respective shoulder and torso. | * part: indicates which part of the robot is going to be solved, the right_arm or left_arm part. The selected part does not only affect the part referred but also the respective shoulder and torso. | ||
If there is an interest in blocking a motor the dof parameter can be used to do that, this can be set through the ini file or dynamically. | |||
==Server== | ==Server== |
Revision as of 11:43, 17 November 2011
Introduction
The Cartesian Interface used with Vizzy to reach a XYZ point using its inverse kinematics is based in the tutorial "Customizing the Cartesian Interface for a Generic Robot"[1] by Ugo Pattacini. Reading Ugo's tutorial is strongly advised.
For the Cartesian Interface to work the iCubInterface (Vizzy adapted version) needs to be running, and the desired arm, shoulders and torso ports open.
The interface makes use of three distinct modules. A solver which solves the motors position for a desired XYZ position given a kinematic chain. A server which controls the motors directly while it tries to confer human like movements to the robot. Finally a client which calls the server and solver methods through a defined interface.
The modules used for the Vizzy robot are based and very similar to the ones available in the tutorial "Customizing the Cartesian Interface for a Generic Robot". The most important differences are in the ini files.
Solver
The solver ini file for the Vizzy robot has two extra paramaters besides the ones presented in the original tutorial. The 'kinematics_file' and 'part' parameters.
- kinematics_file: indicates the path and name of the file with the kinematic chain description.
- part: indicates which part of the robot is going to be solved, the right_arm or left_arm part. The selected part does not only affect the part referred but also the respective shoulder and torso.
If there is an interest in blocking a motor the dof parameter can be used to do that, this can be set through the ini file or dynamically.