Template Struct ModelPythonVisitor
Defined in File model.hpp
Inheritance Relationships
Base Type
public boost::python::def_visitor< ModelPythonVisitor< Model > >
Struct Documentation
-
template<typename Model>
struct ModelPythonVisitor : public boost::python::def_visitor<ModelPythonVisitor<Model>> Public Types
Public Static Functions
-
static inline JointIndex addJoint0(Model &model, JointIndex parent_id, const JointModel &jmodel, const SE3 &joint_placement, const std::string &joint_name)
-
static inline 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 inline 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)
-
template<typename T>
static inline Index index(std::vector<T> const &x, typename std::vector<T>::value_type const &v) Provide equivalent to python list index function for vectors.
- Parameters:
x – [in] The input vector.
v – [in] The 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.
-
static inline void expose()
-
static inline JointIndex addJoint0(Model &model, JointIndex parent_id, const JointModel &jmodel, const SE3 &joint_placement, const std::string &joint_name)