|
#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 {10} |
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 38 of file MoveJointPlatformTrajectory.h.
using DataFieldIdentifierBaseLists = std::pair<DataFieldIdentifierBaseList, DataFieldIdentifierBaseList> |
Definition at line 43 of file MoveJointPlatformTrajectory.h.
using TimedVariantBaseLists = std::pair<TimedVariantBaseList, TimedVariantBaseList> |
Definition at line 44 of file MoveJointPlatformTrajectory.h.
|
inline |
Definition at line 46 of file MoveJointPlatformTrajectory.h.
|
inline |
Definition at line 118 of file MoveJointPlatformTrajectory.h.
|
inline |
Definition at line 127 of file MoveJointPlatformTrajectory.h.
|
static |
Definition at line 166 of file MoveJointPlatformTrajectory.cpp.
void ctrlInterpol | ( | ) |
Definition at line 172 of file MoveJointPlatformTrajectory.cpp.
void ctrlNative | ( | ) |
Definition at line 464 of file MoveJointPlatformTrajectory.cpp.
|
inline |
Definition at line 106 of file MoveJointPlatformTrajectory.h.
|
inline |
Definition at line 112 of file MoveJointPlatformTrajectory.h.
|
inline |
Definition at line 245 of file MoveJointPlatformTrajectory.h.
|
inline |
Definition at line 64 of file MoveJointPlatformTrajectory.h.
|
inlinestatic |
Definition at line 136 of file MoveJointPlatformTrajectory.h.
|
inline |
Definition at line 233 of file MoveJointPlatformTrajectory.h.
|
inline |
Definition at line 226 of file MoveJointPlatformTrajectory.h.
|
inline |
Definition at line 239 of file MoveJointPlatformTrajectory.h.
float getValue | ( | std::size_t | i | ) | const |
Definition at line 518 of file MoveJointPlatformTrajectory.cpp.
float getVelocity | ( | std::size_t | i | ) | const |
Definition at line 524 of file MoveJointPlatformTrajectory.cpp.
|
override |
Definition at line 116 of file MoveJointPlatformTrajectory.cpp.
|
override |
Definition at line 44 of file MoveJointPlatformTrajectory.cpp.
|
override |
Definition at line 109 of file MoveJointPlatformTrajectory.cpp.
|
override |
Definition at line 81 of file MoveJointPlatformTrajectory.cpp.
|
inline |
Definition at line 208 of file MoveJointPlatformTrajectory.h.
|
inline |
Definition at line 189 of file MoveJointPlatformTrajectory.h.
|
inline |
Definition at line 169 of file MoveJointPlatformTrajectory.h.
|
inline |
Definition at line 149 of file MoveJointPlatformTrajectory.h.
|
static |
Definition at line 530 of file MoveJointPlatformTrajectory.cpp.
|
inline |
Definition at line 219 of file MoveJointPlatformTrajectory.h.
void waitForDone | ( | bool | stopAtCurrentPos | ) |
Definition at line 123 of file MoveJointPlatformTrajectory.cpp.
TimedVariantBaseLists cachedValues |
Definition at line 266 of file MoveJointPlatformTrajectory.h.
TimedVariantBaseLists cachedVelocities |
Definition at line 269 of file MoveJointPlatformTrajectory.h.
MotionAndPlatformControlGroupStatechartContext* context |
Definition at line 263 of file MoveJointPlatformTrajectory.h.
Trajectory::ordered_view::const_iterator currentCfgIt |
Definition at line 276 of file MoveJointPlatformTrajectory.h.
DataFieldIdentifierBaseLists datafieldsValues |
Definition at line 265 of file MoveJointPlatformTrajectory.h.
DataFieldIdentifierBaseLists datafieldsVelocities |
Definition at line 268 of file MoveJointPlatformTrajectory.h.
std::vector<float> jointMaxSpeeds |
Definition at line 262 of file MoveJointPlatformTrajectory.h.
std::vector<std::string> jointNames |
Definition at line 260 of file MoveJointPlatformTrajectory.h.
float jointTargetTolerance |
Definition at line 273 of file MoveJointPlatformTrajectory.h.
Trajectory::ordered_view::const_iterator lastCfgIt |
Definition at line 275 of file MoveJointPlatformTrajectory.h.
std::vector<float> maxAccs |
Definition at line 261 of file MoveJointPlatformTrajectory.h.
const std::chrono::milliseconds period {10} |
Definition at line 271 of file MoveJointPlatformTrajectory.h.
|
static |
Definition at line 61 of file MoveJointPlatformTrajectory.h.
Definition at line 272 of file MoveJointPlatformTrajectory.h.
Definition at line 259 of file MoveJointPlatformTrajectory.h.
ConditionIdentifier targetReachedCondition |
Definition at line 278 of file MoveJointPlatformTrajectory.h.
ActionEventIdentifier timeoutEvent |
Definition at line 279 of file MoveJointPlatformTrajectory.h.
float translationTargetTolerance |
Definition at line 274 of file MoveJointPlatformTrajectory.h.