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 80 of file bindings/python/multibody/model.hpp.

Member Typedef Documentation

◆ Data

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

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

◆ Force

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

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

◆ Frame

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

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

◆ FrameIndex

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

◆ Index

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

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

◆ IndexVector

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

◆ Inertia

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

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

◆ JointIndex

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

◆ Motion

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

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

◆ Scalar

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

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

◆ SE3

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

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

◆ VectorXs

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

Member Function Documentation

◆ addJoint0()

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 216 of file bindings/python/multibody/model.hpp.

◆ addJoint1()

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 225 of file bindings/python/multibody/model.hpp.

◆ addJoint2()

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 239 of file bindings/python/multibody/model.hpp.

◆ createData()

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

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

◆ expose()

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

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

◆ index()

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 269 of file bindings/python/multibody/model.hpp.

◆ visit()

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

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


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


pinocchio
Author(s):
autogenerated on Fri Jun 23 2023 02:38:36