1 #ifndef BIORBD_ACTUATORS_ACTUATOR_H
2 #define BIORBD_ACTUATORS_ACTUATOR_H
5 #include "biorbdConfig.h"
6 #include "Actuators/ActuatorEnums.h"
7 #include "Utils/Scalar.h"
71 unsigned int index()
const;
77 int direction()
const;
83 biorbd::actuator::TYPE type()
const;
97 std::shared_ptr<biorbd::actuator::TYPE>
m_type;
107 #endif // BIORBD_ACTUATORS_ACTUATOR_H
std::shared_ptr< biorbd::actuator::TYPE > m_type
The type of the actuator.
std::shared_ptr< biorbd::utils::String > m_jointName
Name of the parent joint.
virtual biorbd::utils::Scalar torqueMax()=0
Return the maximal torque.
std::shared_ptr< unsigned int > m_dofIdx
Index of the DoF associated with the actuator.
Wrapper around the std::string class with augmented functionality.
virtual void setType()=0
Set the type of actuator.
std::shared_ptr< int > m_direction
The direction of the actuator (+1 or -1)