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::JointModel JointModel
 
typedef JointModel::JointModelVariant JointModelVariant
 
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 41 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 59 of file bindings/python/multibody/model.hpp.

◆ Force

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

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

◆ Frame

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

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

◆ FrameIndex

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

◆ Index

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

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

◆ IndexVector

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

◆ Inertia

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

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

◆ JointIndex

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

◆ JointModel

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

◆ JointModelVariant

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

◆ Motion

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

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

◆ Scalar

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

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

◆ SE3

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

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

◆ VectorXs

Definition at line 61 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 237 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 247 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 263 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 281 of file bindings/python/multibody/model.hpp.

◆ expose()

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

Definition at line 311 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 297 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 66 of file bindings/python/multibody/model.hpp.


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


pinocchio
Author(s):
autogenerated on Thu Dec 19 2024 03:41:37