Public Types | Public Member Functions | Static Public Member Functions | List of all members
pinocchio::python::ModelPythonVisitor< Model > Struct Template Reference

#include <model.hpp>

Inheritance diagram for pinocchio::python::ModelPythonVisitor< Model >:
Inheritance graph
[legend]

Public Types

typedef Model::Data Data
 
typedef Model::Force Force
 
typedef Model::Frame Frame
 
typedef Model::FrameIndex FrameIndex
 
typedef Model::Index Index
 
typedef Model::IndexVector IndexVector
 
typedef Model::Inertia Inertia
 
typedef Model::JointIndex JointIndex
 
typedef Model::Motion Motion
 
typedef Model::Scalar Scalar
 
typedef Model::SE3 SE3
 
typedef Model::VectorXs VectorXs
 

Public Member Functions

template<class PyClass >
void visit (PyClass &cl) const
 

Static Public Member Functions

static JointIndex addJoint0 (Model &model, JointIndex parent_id, const JointModel &jmodel, const SE3 &joint_placement, const std::string &joint_name)
 
static JointIndex addJoint1 (Model &model, JointIndex parent_id, const JointModel &jmodel, const SE3 &joint_placement, const std::string &joint_name, const VectorXs &max_effort, const VectorXs &max_velocity, const VectorXs &min_config, const VectorXs &max_config)
 
static JointIndex addJoint2 (Model &model, JointIndex parent_id, const JointModel &jmodel, const SE3 &joint_placement, const std::string &joint_name, const VectorXs &max_effort, const VectorXs &max_velocity, const VectorXs &min_config, const VectorXs &max_config, const VectorXs &friction, const VectorXs &damping)
 
static Data createData (const Model &model)
 
static void expose ()
 
template<typename T >
static Index index (std::vector< T > const &x, typename std::vector< T >::value_type const &v)
 Provide equivalent to python list index function for vectors. More...
 

Detailed Description

template<typename Model>
struct pinocchio::python::ModelPythonVisitor< Model >

Definition at line 77 of file bindings/python/multibody/model.hpp.

Member Typedef Documentation

template<typename Model >
typedef Model::Data pinocchio::python::ModelPythonVisitor< Model >::Data

Definition at line 94 of file bindings/python/multibody/model.hpp.

template<typename Model >
typedef Model::Force pinocchio::python::ModelPythonVisitor< Model >::Force

Definition at line 90 of file bindings/python/multibody/model.hpp.

template<typename Model >
typedef Model::Frame pinocchio::python::ModelPythonVisitor< Model >::Frame

Definition at line 91 of file bindings/python/multibody/model.hpp.

Definition at line 85 of file bindings/python/multibody/model.hpp.

template<typename Model >
typedef Model::Index pinocchio::python::ModelPythonVisitor< Model >::Index

Definition at line 83 of file bindings/python/multibody/model.hpp.

Definition at line 86 of file bindings/python/multibody/model.hpp.

template<typename Model >
typedef Model::Inertia pinocchio::python::ModelPythonVisitor< Model >::Inertia

Definition at line 92 of file bindings/python/multibody/model.hpp.

Definition at line 84 of file bindings/python/multibody/model.hpp.

template<typename Model >
typedef Model::Motion pinocchio::python::ModelPythonVisitor< Model >::Motion

Definition at line 89 of file bindings/python/multibody/model.hpp.

template<typename Model >
typedef Model::Scalar pinocchio::python::ModelPythonVisitor< Model >::Scalar

Definition at line 81 of file bindings/python/multibody/model.hpp.

template<typename Model >
typedef Model::SE3 pinocchio::python::ModelPythonVisitor< Model >::SE3

Definition at line 88 of file bindings/python/multibody/model.hpp.

Definition at line 96 of file bindings/python/multibody/model.hpp.

Member Function Documentation

template<typename Model >
static JointIndex pinocchio::python::ModelPythonVisitor< Model >::addJoint0 ( Model model,
JointIndex  parent_id,
const JointModel jmodel,
const SE3 joint_placement,
const std::string &  joint_name 
)
inlinestatic

Definition at line 211 of file bindings/python/multibody/model.hpp.

template<typename Model >
static JointIndex pinocchio::python::ModelPythonVisitor< Model >::addJoint1 ( Model model,
JointIndex  parent_id,
const JointModel jmodel,
const SE3 joint_placement,
const std::string &  joint_name,
const VectorXs max_effort,
const VectorXs max_velocity,
const VectorXs min_config,
const VectorXs max_config 
)
inlinestatic

Definition at line 220 of file bindings/python/multibody/model.hpp.

template<typename Model >
static JointIndex pinocchio::python::ModelPythonVisitor< Model >::addJoint2 ( Model model,
JointIndex  parent_id,
const JointModel jmodel,
const SE3 joint_placement,
const std::string &  joint_name,
const VectorXs max_effort,
const VectorXs max_velocity,
const VectorXs min_config,
const VectorXs max_config,
const VectorXs friction,
const VectorXs damping 
)
inlinestatic

Definition at line 234 of file bindings/python/multibody/model.hpp.

template<typename Model >
static Data pinocchio::python::ModelPythonVisitor< Model >::createData ( const Model model)
inlinestatic

Definition at line 251 of file bindings/python/multibody/model.hpp.

template<typename Model >
static void pinocchio::python::ModelPythonVisitor< Model >::expose ( )
inlinestatic

Definition at line 279 of file bindings/python/multibody/model.hpp.

template<typename Model >
template<typename T >
static Index pinocchio::python::ModelPythonVisitor< Model >::index ( std::vector< T > const &  x,
typename std::vector< T >::value_type const &  v 
)
inlinestatic

Provide equivalent to python list index function for vectors.

Parameters
[in]xThe input vector.
[in]vThe value of to look for in the vector.
Returns
The index of the matching element of the vector. If no element is found, return the size of the vector.

Definition at line 264 of file bindings/python/multibody/model.hpp.

template<typename Model >
template<class PyClass >
void pinocchio::python::ModelPythonVisitor< Model >::visit ( PyClass &  cl) const
inline

Definition at line 104 of file bindings/python/multibody/model.hpp.


The documentation for this struct was generated from the following file:


pinocchio
Author(s):
autogenerated on Tue Jun 1 2021 02:45:06