|
Biorbd
|
Class ActuatorConstant is a joint actuator type which maximum is contant. More...
#include <ActuatorConstant.h>
Public Member Functions | |
| ActuatorConstant () | |
| Construct a constant actuator. | |
| ActuatorConstant (const biorbd::actuator::ActuatorConstant &other) | |
| Construct a constant actuator from another actuator. More... | |
| ActuatorConstant (int direction, const biorbd::utils::Scalar &Tmax, unsigned int dofIdx) | |
| Construct a constant actuator. More... | |
| ActuatorConstant (int direction, const biorbd::utils::Scalar &Tmax, unsigned int dofIdx, const biorbd::utils::String &jointName) | |
| Construct a constant actuator. More... | |
| biorbd::actuator::ActuatorConstant | DeepCopy () const |
| Deep copy of the constant actuator. More... | |
| void | DeepCopy (const biorbd::actuator::ActuatorConstant &other) |
| Deep copy of the constant actuator to another constant actuator. More... | |
| virtual biorbd::utils::Scalar | torqueMax () |
| Return the maximal torque. More... | |
Public Member Functions inherited from biorbd::actuator::Actuator | |
| Actuator () | |
| Construct actuator. | |
| Actuator (const biorbd::actuator::Actuator &other) | |
| Construct actuator from another actuator. More... | |
| Actuator (int direction, unsigned int dofIdx) | |
| Construct actuator. More... | |
| Actuator (int direction, unsigned int dofIdx, const biorbd::utils::String &jointName) | |
| Construct actuator. More... | |
| virtual | ~Actuator () |
| Destroy class properly. | |
| void | DeepCopy (const biorbd::actuator::Actuator &other) |
| Deep copy of actuator. More... | |
| unsigned int | index () const |
| Return the index of the DoF associated with actuator. More... | |
| int | direction () const |
| Return the direction of the actuator. More... | |
| biorbd::actuator::TYPE | type () const |
| Return the type of the actuator. More... | |
Protected Member Functions | |
| virtual void | setType () |
| Set the type of the constant actuator. | |
Protected Attributes | |
| std::shared_ptr< biorbd::utils::Scalar > | m_Tmax |
| Maximal torque that can be done. | |
Protected Attributes inherited from biorbd::actuator::Actuator | |
| std::shared_ptr< biorbd::actuator::TYPE > | m_type |
| The type of the actuator. | |
| std::shared_ptr< int > | m_direction |
| The direction of the actuator (+1 or -1) | |
| std::shared_ptr< biorbd::utils::String > | m_jointName |
| Name of the parent joint. | |
| std::shared_ptr< unsigned int > | m_dofIdx |
| Index of the DoF associated with the actuator. | |
Class ActuatorConstant is a joint actuator type which maximum is contant.
Definition at line 13 of file ActuatorConstant.h.
| biorbd::actuator::ActuatorConstant::ActuatorConstant | ( | const biorbd::actuator::ActuatorConstant & | other | ) |
Construct a constant actuator from another actuator.
| other | The other constant actuator |
Definition at line 14 of file ActuatorConstant.cpp.
| biorbd::actuator::ActuatorConstant::ActuatorConstant | ( | int | direction, |
| const biorbd::utils::Scalar & | Tmax, | ||
| unsigned int | dofIdx | ||
| ) |
Construct a constant actuator.
| direction | The direction of the actuator (+1 or -1) |
| Tmax | The maximum torque that can be done |
| dofIdx | Index of the DoF associated with actuator |
Definition at line 22 of file ActuatorConstant.cpp.
| biorbd::actuator::ActuatorConstant::ActuatorConstant | ( | int | direction, |
| const biorbd::utils::Scalar & | Tmax, | ||
| unsigned int | dofIdx, | ||
| const biorbd::utils::String & | jointName | ||
| ) |
Construct a constant actuator.
| direction | The direction of the actuator (+1 or -1) |
| Tmax | The maximum torque that can be done |
| dofIdx | Index of the DoF associated with actuator |
| jointName | The name of the parent joint |
Definition at line 32 of file ActuatorConstant.cpp.
| biorbd::actuator::ActuatorConstant biorbd::actuator::ActuatorConstant::DeepCopy | ( | ) | const |
Deep copy of the constant actuator.
Definition at line 43 of file ActuatorConstant.cpp.
| void biorbd::actuator::ActuatorConstant::DeepCopy | ( | const biorbd::actuator::ActuatorConstant & | other | ) |
Deep copy of the constant actuator to another constant actuator.
| other | The constant actuator to copy |
Definition at line 50 of file ActuatorConstant.cpp.
|
virtual |
Return the maximal torque.
Implements biorbd::actuator::Actuator.
Definition at line 56 of file ActuatorConstant.cpp.
1.8.18