Skip to content
Snippets Groups Projects
Commit c566e082 authored by jcarpent's avatar jcarpent
Browse files

[Doc] Continue global doc

parent 570e32cf
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@
/** \page pinocchio_page_crtp Curiously recurring template pattern
Like Eigen, Pinocchio library makes intensive use of the so called CRTP design
Similarly to Eigen, Pinocchio library makes intensive use of the so called CRTP design
pattern. This pattern is used for performance reasons in the
implementation of static polymorphism, avoiding dynamic casts and calls to virtual methods.
All in all, CRTP plays a central role in the performance of Pinocchio.
......
......@@ -35,7 +35,9 @@ To load an urdf file in C++ code, copy the following lines:
#include <pinocchio/multibody/parser/urdf.hpp>
#include <pinocchio/multibody/parser/utils.hpp>
#include <pinocchio/multibody/joint.hpp>
bool verbose = false;
const std::string filename = "path/to/file/model.urdf";
se3::JointModelFreeflyer rootJoint;
se3::Model model = se3::urdf::buildModel (filename, rootJoint, verbose);
se3::Data data (model);
......@@ -51,6 +53,7 @@ To load an lua file in C++ code, copy the following lines:
#include <pinocchio/multibody/joint.hpp>
bool freeflyer = true;
const std::string filename = "path/to/file/model.lua";
se3::Model model = se3::lua::buildModel (filename, freeflyer);
se3::Data data (model);
\endcode
......
......@@ -23,7 +23,8 @@ This library implements highly efficient kinematic and dynamic algorithms for mu
\section pinocchio_section_installation Installation
Please refer to the GitHub page of the project for installation details:
The full installation procedure can be found at https://github.com/stack-of-tasks/pinocchio/wiki/Installation.
For further details about the project, please visit the GitHub page:
https://github.com/stack-of-tasks/pinocchio
\section pinocchio_section_introduction Introduction
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment