![]() |
Hekateros
3.4.3
RoadNarrows Robotics Robot Arm Project
|
Hekateros tuning data class. More...
#include <hekTune.h>
Public Types | |
| typedef std::map< std::string, HekTunesJoint > | MapJointTunes |
Public Member Functions | |
| HekTunes () | |
| Default constructor. | |
| ~HekTunes () | |
| Destructor. | |
| double | getKinematicsHz () const |
| Get kinematics thread cycle rate tune parameter (hertz). More... | |
| double | getVelocityDerate () const |
| Get derated velocity tune parameter (normalized). More... | |
| void | getTrajectoryParams (HekNorm &eNorm, double &fEpsilon) const |
| Get trajectory tune parameters. More... | |
| void | getToleranceParams (const std::string &strJointName, double &fTolPos, double &fTolVel) const |
| Get joint tolerance tune parameters. More... | |
| void | getPidKParams (const std::string &strJointName, double &fKp, double &fKi, double &fKd) const |
| Get joint PID K tune parameters. More... | |
| double | getPidMaxDeltaV (const std::string &strJointName) const |
| Get joint PID maximum delta v (radians/second) tune parameter. More... | |
| void | getTorqueParams (const std::string &strJointName, double &fOverTorqueTh, double &fClearTorqueTh) const |
| Get joint torque parameters. More... | |
Public Attributes | |
| double | m_fKinematicsHz |
| kinematic thread rate (hertz) | |
| double | m_fClearTorqueOffset |
| clear over torque condition offset (frac) | |
| double | m_fVelDerate |
| velocity derate (fraction) | |
| HekNorm | m_eTrajNorm |
| trajectory distanct norm | |
| double | m_fTrajEpsilon |
| trajectory epsilon distance (radians) | |
| MapJointTunes | m_mapJointTunes |
| per joint tuning | |
| typedef std::map<std::string, HekTunesJoint> hekateros::HekTunes::MapJointTunes |
|
inline |
Get kinematics thread cycle rate tune parameter (hertz).
Definition at line 441 of file hekTune.h.
| void HekTunes::getPidKParams | ( | const std::string & | strJointName, |
| double & | fKp, | ||
| double & | fKi, | ||
| double & | fKd | ||
| ) | const |
Get joint PID K tune parameters.
| strJointName | Name of joint. | |
| [out] | fKp | Proportional constant. |
| [out] | fKi | Integral constant. |
| [out] | fKd | Derivative constant. |
Definition at line 118 of file hekTune.cxx.
Referenced by hekateros::HekKinJoint::HekKinJoint(), and hekateros::HekKinJoint::reload().
| double HekTunes::getPidMaxDeltaV | ( | const std::string & | strJointName | ) | const |
Get joint PID maximum delta v (radians/second) tune parameter.
| strJointName | Name of joint. |
Definition at line 137 of file hekTune.cxx.
References hekateros::degToRad().
Referenced by hekateros::HekKinJoint::HekKinJoint(), and hekateros::HekKinJoint::reload().
| void HekTunes::getToleranceParams | ( | const std::string & | strJointName, |
| double & | fTolPos, | ||
| double & | fTolVel | ||
| ) | const |
Get joint tolerance tune parameters.
| strJointName | Name of joint. | |
| [out] | fTolPos | Position tolerance (radians) |
| [out] | fTolVel | Velocity tolerance (radians/second) |
Definition at line 101 of file hekTune.cxx.
References hekateros::degToRad().
Referenced by hekateros::HekKinJoint::HekKinJoint(), and hekateros::HekKinJoint::reload().
| void HekTunes::getTorqueParams | ( | const std::string & | strJointName, |
| double & | fOverTorqueTh, | ||
| double & | fClearTorqueTh | ||
| ) | const |
Get joint torque parameters.
| strJointName | Name of joint. | |
| [out] | fOverTorqueTh | Over torque threshold (normalized). |
| [out] | fClearTorqueTh | Clear over torque condition threshold (normalized). |
Definition at line 151 of file hekTune.cxx.
Referenced by hekateros::HekKinJoint::HekKinJoint(), and hekateros::HekKinJoint::reload().
|
inline |
Get trajectory tune parameters.
| [out] | eNorm | Distance norm. |
| [out] | fEpsilon | Waypoint precision (radians) |
Definition at line 462 of file hekTune.h.
Referenced by hekateros::HekRobot::getTrajectoryParams().
|
inline |
Get derated velocity tune parameter (normalized).
Definition at line 451 of file hekTune.h.
Referenced by hekateros::HekKinJoint::HekKinJoint(), and hekateros::HekKinJoint::reload().