|
#include <RobotSkillTemplates/statecharts/MotionAndPlatformControlGroup/MoveJointPlatformTrajectory.h>
Public Types | |
using | DataFieldIdentifierBaseLists = std::pair< DataFieldIdentifierBaseList, DataFieldIdentifierBaseList > |
using | TimedVariantBaseLists = std::pair< TimedVariantBaseList, TimedVariantBaseList > |
Public Member Functions | |
void | cacheValues () |
void | cacheVelocities () |
void | ctrlInterpol () |
void | ctrlNative () |
bool | doingLastConfig () const |
bool | doneAllConfigs () const |
float | getConfigChangeTolerance (std::size_t i) const |
DataFieldIdentifierBaseLists | getDataFieldIdentifiers (const std::string &channelName) |
float | getMaxAcc (std::size_t joint) const |
float | getMaxVel (std::size_t joint) const |
float | getTargetTolerance (std::size_t i) const |
float | getValue (std::size_t i) const |
float | getVelocity (std::size_t i) const |
MoveJointPlatformTrajectory (const XMLStateConstructorParams &stateData) | |
void | onBreak () override |
void | onEnter () override |
void | onExit () override |
void | run () override |
void | setControlMode (ControlMode mode) |
void | setMaxVelocity (NameValueMap &vels) |
void | setValues (NameValueMap &values) |
void | setVelocity (NameValueMap &vels) |
bool | validJointNames () const |
void | waitForDone (bool stopAtCurrentPos) |
Static Public Member Functions | |
static XMLStateFactoryBasePtr | CreateInstance (XMLStateConstructorParams stateData) |
static float | getFromList (const TimedVariantBaseLists &lists, std::size_t i) |
static int | sign (double val) |
Public Attributes | |
TimedVariantBaseLists | cachedValues |
TimedVariantBaseLists | cachedVelocities |
MotionAndPlatformControlGroupStatechartContext * | context |
Trajectory::ordered_view::const_iterator | currentCfgIt |
DataFieldIdentifierBaseLists | datafieldsValues |
DataFieldIdentifierBaseLists | datafieldsVelocities |
std::vector< float > | jointMaxSpeeds |
std::vector< std::string > | jointNames |
float | jointTargetTolerance |
Trajectory::ordered_view::const_iterator | lastCfgIt |
std::vector< float > | maxAccs |
const std::chrono::milliseconds | period |
const float | secondsPerPeriod = static_cast<float>(period.count()) / 1000.f |
TrajectoryPtr | t |
ConditionIdentifier | targetReachedCondition |
ActionEventIdentifier | timeoutEvent |
float | translationTargetTolerance |
Static Public Attributes | |
static SubClassRegistry | Registry |
Definition at line 37 of file MoveJointPlatformTrajectory.h.
using DataFieldIdentifierBaseLists = std::pair<DataFieldIdentifierBaseList, DataFieldIdentifierBaseList> |
Definition at line 41 of file MoveJointPlatformTrajectory.h.
using TimedVariantBaseLists = std::pair<TimedVariantBaseList, TimedVariantBaseList> |
Definition at line 42 of file MoveJointPlatformTrajectory.h.
|
inline |
Definition at line 44 of file MoveJointPlatformTrajectory.h.
|
inline |
Definition at line 100 of file MoveJointPlatformTrajectory.h.
|
inline |
Definition at line 105 of file MoveJointPlatformTrajectory.h.
|
static |
Definition at line 157 of file MoveJointPlatformTrajectory.cpp.
void ctrlInterpol | ( | ) |
Definition at line 164 of file MoveJointPlatformTrajectory.cpp.
void ctrlNative | ( | ) |
Definition at line 424 of file MoveJointPlatformTrajectory.cpp.
|
inline |
Definition at line 91 of file MoveJointPlatformTrajectory.h.
|
inline |
Definition at line 95 of file MoveJointPlatformTrajectory.h.
|
inline |
Definition at line 205 of file MoveJointPlatformTrajectory.h.
|
inline |
Definition at line 60 of file MoveJointPlatformTrajectory.h.
|
inlinestatic |
Definition at line 111 of file MoveJointPlatformTrajectory.h.
|
inline |
Definition at line 195 of file MoveJointPlatformTrajectory.h.
|
inline |
Definition at line 191 of file MoveJointPlatformTrajectory.h.
|
inline |
Definition at line 200 of file MoveJointPlatformTrajectory.h.
float getValue | ( | std::size_t | i | ) | const |
Definition at line 490 of file MoveJointPlatformTrajectory.cpp.
float getVelocity | ( | std::size_t | i | ) | const |
Definition at line 495 of file MoveJointPlatformTrajectory.cpp.
|
override |
Definition at line 110 of file MoveJointPlatformTrajectory.cpp.
|
override |
Definition at line 42 of file MoveJointPlatformTrajectory.cpp.
|
override |
Definition at line 105 of file MoveJointPlatformTrajectory.cpp.
|
override |
Definition at line 78 of file MoveJointPlatformTrajectory.cpp.
|
inline |
Definition at line 174 of file MoveJointPlatformTrajectory.h.
|
inline |
Definition at line 157 of file MoveJointPlatformTrajectory.h.
|
inline |
Definition at line 140 of file MoveJointPlatformTrajectory.h.
|
inline |
Definition at line 122 of file MoveJointPlatformTrajectory.h.
|
static |
Definition at line 500 of file MoveJointPlatformTrajectory.cpp.
|
inline |
Definition at line 183 of file MoveJointPlatformTrajectory.h.
void waitForDone | ( | bool | stopAtCurrentPos | ) |
Definition at line 116 of file MoveJointPlatformTrajectory.cpp.
TimedVariantBaseLists cachedValues |
Definition at line 228 of file MoveJointPlatformTrajectory.h.
TimedVariantBaseLists cachedVelocities |
Definition at line 231 of file MoveJointPlatformTrajectory.h.
MotionAndPlatformControlGroupStatechartContext* context |
Definition at line 225 of file MoveJointPlatformTrajectory.h.
Trajectory::ordered_view::const_iterator currentCfgIt |
Definition at line 241 of file MoveJointPlatformTrajectory.h.
DataFieldIdentifierBaseLists datafieldsValues |
Definition at line 227 of file MoveJointPlatformTrajectory.h.
DataFieldIdentifierBaseLists datafieldsVelocities |
Definition at line 230 of file MoveJointPlatformTrajectory.h.
std::vector<float> jointMaxSpeeds |
Definition at line 224 of file MoveJointPlatformTrajectory.h.
std::vector<std::string> jointNames |
Definition at line 222 of file MoveJointPlatformTrajectory.h.
float jointTargetTolerance |
Definition at line 238 of file MoveJointPlatformTrajectory.h.
Trajectory::ordered_view::const_iterator lastCfgIt |
Definition at line 240 of file MoveJointPlatformTrajectory.h.
std::vector<float> maxAccs |
Definition at line 223 of file MoveJointPlatformTrajectory.h.
const std::chrono::milliseconds period |
Definition at line 234 of file MoveJointPlatformTrajectory.h.
|
static |
Definition at line 58 of file MoveJointPlatformTrajectory.h.
Definition at line 237 of file MoveJointPlatformTrajectory.h.
Definition at line 221 of file MoveJointPlatformTrajectory.h.
ConditionIdentifier targetReachedCondition |
Definition at line 243 of file MoveJointPlatformTrajectory.h.
ActionEventIdentifier timeoutEvent |
Definition at line 244 of file MoveJointPlatformTrajectory.h.
float translationTargetTolerance |
Definition at line 239 of file MoveJointPlatformTrajectory.h.