kinematics-dynamics
|
Now that you have installed the basic TEO repository, you're probably wondering what to do.
Our current implementation uses YARP for communication. Basic use of YARP requires the use of a centralized server. This server associates the low-level implementation of the communication ports with the names we give them. Before executing any TEO program or application, please launch a yarp server:
Launch with a single command:
You should get a window similar to the one depicted on Figure 1.
Each layer of TEO programs has parameters that can be modified three different ways. They are parsed in the following order (the second parsing overwrites the first, and the third one overwrites both):
Let's say, for example, our graphic card supports offscreen rendering and we want teoSim to load an enviroment that has cameras in the simulated environment. We can execute the program touching the parameters at the command line level which, as we have said, are parsed last:
This specific environment contains simulated cameras that Figure 2. You can learn how to make the connections in the testRaveBot documentation.
We can actually see the default parameters, and the final selected ones, with the --help parameter:
If we want to affect this parameter at a more persistent level, we can change the configuration file. For this specific case, the teoSim configuration file is located at $ROBOTICSLAB_KINEMATICS_DYNAMICS_ROOT/app/teoSim/conf/teoSim.ini. In this file, we can see that most parameters are commented out (the // characters). This is a common convention to indicate these are the default parameters set in the headers (the first parsed, as explained previously). Here, we would search to subsitute the line:
With a new, uncommented line:
We can interact with this program through port commands as described in testRaveBot and teoSim, or through the different language APIs as can be seen in the different TEO examples
Done! You are now probably interested in one of the following links: