Biorbd
include
Actuators
ActuatorConstant.h
1
#ifndef BIORBD_ACTUATORS_ACTUATOR_CONSTANT_H
2
#define BIORBD_ACTUATORS_ACTUATOR_CONSTANT_H
3
4
#include "biorbdConfig.h"
5
#include "Actuators/Actuator.h"
6
7
namespace
biorbd {
8
namespace
actuator {
9
13
class
BIORBD_API
ActuatorConstant
:
public
Actuator
14
{
15
public
:
19
ActuatorConstant
();
20
25
ActuatorConstant
(
26
const
biorbd::actuator::ActuatorConstant
& other);
27
34
ActuatorConstant
(
35
int
direction,
36
const
biorbd::utils::Scalar& Tmax,
37
unsigned
int
dofIdx);
38
46
ActuatorConstant
(
47
int
direction,
48
const
biorbd::utils::Scalar& Tmax,
49
unsigned
int
dofIdx,
50
const
biorbd::utils::String
&jointName);
51
56
biorbd::actuator::ActuatorConstant
DeepCopy()
const
;
57
62
void
DeepCopy(
63
const
biorbd::actuator::ActuatorConstant
& other);
64
69
virtual
biorbd::utils::Scalar torqueMax();
70
71
protected
:
75
virtual
void
setType();
76
std::shared_ptr<biorbd::utils::Scalar>
m_Tmax
;
77
78
};
79
80
}}
81
82
#endif // BIORBD_ACTUATORS_ACTUATOR_CONSTANT_H
biorbd::actuator::Actuator
Class Actuator.
Definition:
Actuator.h:20
biorbd::actuator::ActuatorConstant::m_Tmax
std::shared_ptr< biorbd::utils::Scalar > m_Tmax
Maximal torque that can be done.
Definition:
ActuatorConstant.h:76
biorbd::actuator::ActuatorConstant
Class ActuatorConstant is a joint actuator type which maximum is contant.
Definition:
ActuatorConstant.h:14
biorbd::utils::String
Wrapper around the std::string class with augmented functionality.
Definition:
String.h:17
Generated by
1.8.18