CellModules
|
#include <spring.hpp>
Public Member Functions | |
Joint () | |
Joint (const double &K, const double &C, const double &MTETA, bool handleMteta=true) | |
void | updateDirection (const Vec &v, const Rotation< Vec > &rot) |
void | updateDelta () |
Public Attributes | |
double | k = 1.0 |
double | c = 1.0 |
double | maxTeta = M_PI / 10.0 |
Rotation< Vec > | r |
Rotation< Vec > | delta |
Rotation< Vec > | prevDelta |
Vec | direction |
Vec | target |
bool | maxTetaAutoCorrect = true |
bool | targetUpdateEnabled = true |
Definition at line 45 of file spring.hpp.
|
inline |
Definition at line 56 of file spring.hpp.
|
inline |
Definition at line 58 of file spring.hpp.
|
inline |
Definition at line 65 of file spring.hpp.
Definition at line 62 of file spring.hpp.
double MecaCell::Joint::c = 1.0 |
Definition at line 47 of file spring.hpp.
Definition at line 50 of file spring.hpp.
Vec MecaCell::Joint::direction |
Definition at line 52 of file spring.hpp.
double MecaCell::Joint::k = 1.0 |
Definition at line 46 of file spring.hpp.
double MecaCell::Joint::maxTeta = M_PI / 10.0 |
Definition at line 48 of file spring.hpp.
bool MecaCell::Joint::maxTetaAutoCorrect = true |
Definition at line 54 of file spring.hpp.
Definition at line 51 of file spring.hpp.
Definition at line 49 of file spring.hpp.
Vec MecaCell::Joint::target |
Definition at line 53 of file spring.hpp.
bool MecaCell::Joint::targetUpdateEnabled = true |
Definition at line 55 of file spring.hpp.