Commit 7e523928 authored by Gabriele Buondonno's avatar Gabriele Buondonno
Browse files

[examples] Remove prefixes

parent 946876e9
# Loading the model
## Python
\include a-model.py
\include model.py
## C++
\include a-model.cpp
\include model.cpp
# Computing the dynamics RNEA, bias forces b(q,v), gravity g(q), CRBA M(q)
## Python
\include b-dynamics.py
\include dynamics.py
## C++
\include b-dynamics.cpp
\include dynamics.cpp
# Contact dynamics
## Python
\include c-contact.py
\include contact.py
## C++
\include c-contact.cpp
\include contact.cpp
# Loading and displaying the model
## Python
\include d-display.py
\include display.py
## C++
\include d-display.cpp
\include display.cpp
# Collision detection and distances
## Python
\include e-collisions.py
\include collisions.py
## C++
\include e-collisions.cpp
\include collisions.cpp
# Derivatives of the dynamics (with finite diff checking)
## Python
\include f-derivatives.py
\include derivatives.py
## C++
\include f-derivatives.cpp
\include derivatives.cpp
# Code generation
## Python
\include g-code-generation.py
\include code-generation.py
## C++
\include g-code-generation.cpp
\include code-generation.cpp
# Inverse geometry
## Python
\include h-inverse-geometry.py
\include inverse-geometry.py
## C++
\include h-inverse-geometry.cpp
\include inverse-geometry.cpp
......@@ -4,7 +4,7 @@ This example shows how to position the end effector of a manipulator robot to a
The example employs a simple Jacobian-based iterative algorithm, which is called closed-loop inverse kinematics (CLIK).
## Python
\includelineno i-inverse-kinematics.py
\includelineno inverse-kinematics.py
### Explanation of the code
First of all, we import the necessary libraries and we create the `Model` and `Data` objects:
......@@ -62,7 +62,7 @@ At the end of the loop, we display the result:
## C++
The equivalent C++ implemetation is given below
\includelineno i-inverse-kinematics.cpp
\includelineno inverse-kinematics.cpp
### Explanation of the code
The code follows exactly the same steps as Python.
......@@ -75,7 +75,7 @@ This allows to always use the same memory space, avoiding re-allocation and achi
The second difference consists in the way the velocity is computed
\dontinclude i-inverse-kinematics.cpp
\dontinclude inverse-kinematics.cpp
\skip svdOptions
\until SVD
\skipline svd.compute
......
# Task space inverse dynamics
## Python
\include j-tsid.py
\include tsid.py
## C++
\include j-tsid.cpp
\include tsid.cpp
# QP (normal forces) unilateral contact dynamics (if we can write it concise enough)
## Python
\include k-qp.py
\include qp.py
## C++
\include k-qp.cpp
\include qp.cpp
# Posture generation using derivatives (if we can write it concise enough)
## Python
\include l-postures.py
\include postures.py
## C++
\include l-postures.cpp
\include postures.cpp
# A RRT planner for a robot arm (if we can write it concise enough)
## Python
\include m-rrt.py
\include rrt.py
## C++
\include m-rrt.cpp
\include rrt.cpp
# A RL tensorflow example (if we can write it concise enough)
## Python
\include n-rl.py
\include rl.py
## C++
\include n-rl.cpp
\include rl.cpp
......@@ -3,7 +3,7 @@
#
SET(${PROJECT_NAME}_EXAMPLES
i-inverse-kinematics
inverse-kinematics
overview-simple
overview-lie
overview-SE3
......@@ -32,7 +32,7 @@ ENDFOREACH(EXAMPLE ${${PROJECT_NAME}_EXAMPLES})
IF(BUILD_PYTHON_INTERFACE)
SET(${PROJECT_NAME}_PYTHON_EXAMPLES
i-inverse-kinematics
inverse-kinematics
overview-simple
overview-urdf
kinematics-derivatives
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment