#include </home/runner/work/yarp-documentation/yarp-documentation/yarp/src/guis/yarpmotorgui/jointitem.h>
Public Types | |
enum | JointState { Idle = 0 , Position , PositionDirect , Mixed , Velocity , VelocityDirect , Torque , Pwm , Current , Disconnected , HwFault , Calibrating , CalibDone , NotConfigured , Configured , Unknown , StateStarting } |
enum | JointInteraction { Stiff , Compliant , InteractionStarting } |
Signals | |
void | calibClicked (JointItem *joint) |
void | pidClicked (JointItem *joint) |
void | homeClicked (JointItem *joint) |
void | idleClicked (JointItem *joint) |
void | runClicked (JointItem *joint) |
void | changeMode (int mode, JointItem *joint) |
void | changeInteraction (int interaction, JointItem *joint) |
void | sliderPosTrajectoryPositionCommand (double val, int jointIndex) |
void | sliderPosTrajectoryVelocityCommand (double val, int jointIndex) |
void | sliderVelTrajectoryVelocityCommand (double val, int jointIndex) |
void | sliderVelTrajectoryAccelerationCommand (double val, int jointIndex) |
void | sliderMixedPositionCommand (double val, int jointIndex) |
void | sliderMixedVelocityCommand (double val, int jointIndex) |
void | sliderDirectPositionCommand (double val, int jointIndex) |
void | sliderTorqueCommand (double val, int jointIndex) |
void | sliderPWMCommand (double val, int jointIndex) |
void | sliderCurrentCommand (double val, int jointIndex) |
void | sliderVelocityDirectCommand (double val, int jointIndex) |
Static Public Member Functions | |
static QColor | GetModeColor (JointState mode) |
static QString | GetModeString (JointState mode) |
Protected Member Functions | |
bool | eventFilter (QObject *obj, QEvent *event) override |
Definition at line 28 of file jointitem.h.
Enumerator | |
---|---|
Stiff | |
Compliant | |
InteractionStarting |
Definition at line 35 of file jointitem.h.
Enumerator | |
---|---|
Idle | |
Position | |
PositionDirect | |
Mixed | |
Velocity | |
VelocityDirect | |
Torque | |
Pwm | |
Current | |
Disconnected | |
HwFault | |
Calibrating | |
CalibDone | |
NotConfigured | |
Configured | |
Unknown | |
StateStarting |
Definition at line 33 of file jointitem.h.
|
explicit |
Definition at line 259 of file jointitem.cpp.
JointItem::~JointItem | ( | ) |
Definition at line 1481 of file jointitem.cpp.
|
signal |
|
signal |
|
signal |
void JointItem::disableAccelerationSliderDouble | ( | ) |
Definition at line 1280 of file jointitem.cpp.
void JointItem::disableCurrentSliderDouble | ( | ) |
Definition at line 1374 of file jointitem.cpp.
void JointItem::disablePositionSliderDouble | ( | ) |
Definition at line 1172 of file jointitem.cpp.
void JointItem::disableTorqueSliderDouble | ( | ) |
Definition at line 1327 of file jointitem.cpp.
void JointItem::disableVelocitySliderDouble | ( | ) |
Definition at line 1230 of file jointitem.cpp.
void JointItem::enableAccelerationSliderDoubleAuto | ( | ) |
Definition at line 1252 of file jointitem.cpp.
void JointItem::enableAccelerationSliderDoubleValue | ( | double | value | ) |
Definition at line 1266 of file jointitem.cpp.
void JointItem::enableControlCurrent | ( | bool | control | ) |
Definition at line 617 of file jointitem.cpp.
void JointItem::enableControlMixed | ( | bool | control | ) |
Definition at line 597 of file jointitem.cpp.
void JointItem::enableControlPositionDirect | ( | bool | control | ) |
Definition at line 602 of file jointitem.cpp.
void JointItem::enableControlPWM | ( | bool | control | ) |
Definition at line 607 of file jointitem.cpp.
void JointItem::enableControlTorque | ( | bool | control | ) |
Definition at line 627 of file jointitem.cpp.
void JointItem::enableControlVelocity | ( | bool | control | ) |
Definition at line 579 of file jointitem.cpp.
void JointItem::enableControlVelocityDirect | ( | bool | control | ) |
Definition at line 588 of file jointitem.cpp.
void JointItem::enableCurrentSliderDoubleAuto | ( | ) |
Definition at line 1346 of file jointitem.cpp.
void JointItem::enableCurrentSliderDoubleValue | ( | double | value | ) |
Definition at line 1360 of file jointitem.cpp.
void JointItem::enablePositionSliderDoubleAuto | ( | ) |
Definition at line 1134 of file jointitem.cpp.
void JointItem::enablePositionSliderDoubleValue | ( | double | value | ) |
Definition at line 1153 of file jointitem.cpp.
void JointItem::enableTorqueSliderDoubleAuto | ( | ) |
Definition at line 1299 of file jointitem.cpp.
void JointItem::enableTorqueSliderDoubleValue | ( | double | value | ) |
Definition at line 1313 of file jointitem.cpp.
void JointItem::enableVelocitySliderDoubleAuto | ( | ) |
Definition at line 1196 of file jointitem.cpp.
void JointItem::enableVelocitySliderDoubleValue | ( | double | value | ) |
Definition at line 1213 of file jointitem.cpp.
|
overrideprotected |
Definition at line 452 of file jointitem.cpp.
int JointItem::getJointIndex | ( | ) |
Definition at line 1524 of file jointitem.cpp.
QString JointItem::getJointName | ( | ) |
Definition at line 1641 of file jointitem.cpp.
|
static |
Definition at line 107 of file jointitem.cpp.
|
static |
Definition at line 178 of file jointitem.cpp.
double JointItem::getTrajectoryPositionValue | ( | ) |
Definition at line 1850 of file jointitem.cpp.
double JointItem::getTrajectoryVelocityValue | ( | ) |
Definition at line 1860 of file jointitem.cpp.
void JointItem::home | ( | ) |
Definition at line 27 of file jointitem.cpp.
|
signal |
void JointItem::idle | ( | ) |
Definition at line 77 of file jointitem.cpp.
|
signal |
|
signal |
void JointItem::resetTarget | ( | ) |
Definition at line 21 of file jointitem.cpp.
void JointItem::run | ( | ) |
Definition at line 52 of file jointitem.cpp.
|
signal |
void JointItem::sequenceActivated | ( | ) |
Definition at line 2735 of file jointitem.cpp.
void JointItem::sequenceStopped | ( | ) |
Definition at line 2748 of file jointitem.cpp.
void JointItem::setAccelerationRange | ( | double | min, |
double | max | ||
) |
Definition at line 2662 of file jointitem.cpp.
void JointItem::setCurrent | ( | double | meas | ) |
Definition at line 2323 of file jointitem.cpp.
void JointItem::setCurrentRange | ( | double | min, |
double | max | ||
) |
Definition at line 2618 of file jointitem.cpp.
void JointItem::setCurrentsVisible | ( | bool | visible | ) |
Definition at line 949 of file jointitem.cpp.
void JointItem::setDutyCycles | ( | double | duty | ) |
Definition at line 2229 of file jointitem.cpp.
void JointItem::setDutyVisible | ( | bool | visible | ) |
Definition at line 862 of file jointitem.cpp.
void JointItem::setEnabledOptions | ( | bool | debug_param_enabled, |
bool | speedview_param_enabled, | ||
bool | enable_calib_all | ||
) |
Definition at line 1466 of file jointitem.cpp.
void JointItem::setJointInteraction | ( | JointInteraction | interaction | ) |
Definition at line 2430 of file jointitem.cpp.
void JointItem::setJointName | ( | QString | name | ) |
Definition at line 1636 of file jointitem.cpp.
void JointItem::setJointState | ( | JointState | newState | ) |
Definition at line 2451 of file jointitem.cpp.
void JointItem::setMotorPosition | ( | double | meas | ) |
Definition at line 2179 of file jointitem.cpp.
void JointItem::setMotorPositionVisible | ( | bool | visible | ) |
Definition at line 758 of file jointitem.cpp.
void JointItem::setNumberOfAccelerationSliderDecimals | ( | size_t | num | ) |
Definition at line 1453 of file jointitem.cpp.
void JointItem::setNumberOfCurrentSliderDecimals | ( | size_t | num | ) |
Definition at line 1461 of file jointitem.cpp.
void JointItem::setNumberOfPositionSliderDecimals | ( | size_t | num | ) |
Definition at line 1437 of file jointitem.cpp.
void JointItem::setNumberOfTorqueSliderDecimals | ( | size_t | num | ) |
Definition at line 1457 of file jointitem.cpp.
void JointItem::setNumberOfVelocitySliderDecimals | ( | size_t | num | ) |
Definition at line 1446 of file jointitem.cpp.
void JointItem::setPosition | ( | double | val | ) |
Definition at line 2027 of file jointitem.cpp.
void JointItem::setPositionRange | ( | double | min, |
double | max | ||
) |
Definition at line 2632 of file jointitem.cpp.
void JointItem::setPosTrajectory_ReferencePosition | ( | double | ref | ) |
Definition at line 2135 of file jointitem.cpp.
void JointItem::setPosTrajectory_ReferenceSpeed | ( | double | ref | ) |
Definition at line 2116 of file jointitem.cpp.
void JointItem::setPWMRange | ( | double | min, |
double | max | ||
) |
Definition at line 2613 of file jointitem.cpp.
void JointItem::setRefCurrent | ( | double | ref | ) |
Definition at line 2014 of file jointitem.cpp.
void JointItem::setRefPWM | ( | double | ref | ) |
Definition at line 2001 of file jointitem.cpp.
void JointItem::setRefTorque | ( | double | ref | ) |
Definition at line 2082 of file jointitem.cpp.
void JointItem::setSpeed | ( | double | val | ) |
Definition at line 2271 of file jointitem.cpp.
void JointItem::setSpeedVisible | ( | bool | visible | ) |
Definition at line 1043 of file jointitem.cpp.
void JointItem::setTorque | ( | double | meas | ) |
Definition at line 2142 of file jointitem.cpp.
void JointItem::setTorqueRange | ( | double | max | ) |
Definition at line 2677 of file jointitem.cpp.
void JointItem::setUnits | ( | yarp::dev::JointTypeEnum | t | ) |
Definition at line 649 of file jointitem.cpp.
void JointItem::setVelocityRange | ( | double | min, |
double | max | ||
) |
Definition at line 2647 of file jointitem.cpp.
void JointItem::setVelTrajectory_ReferenceAcceleration | ( | double | ref | ) |
Definition at line 2098 of file jointitem.cpp.
void JointItem::setVelTrajectory_ReferenceSpeed | ( | double | ref | ) |
Definition at line 2090 of file jointitem.cpp.
void JointItem::showPID | ( | ) |
Definition at line 102 of file jointitem.cpp.
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
void JointItem::updateBraked | ( | bool | brk | ) |
Definition at line 1870 of file jointitem.cpp.
void JointItem::updateJointFault | ( | int | i, |
std::string | message | ||
) |
Definition at line 1968 of file jointitem.cpp.
void JointItem::updateMotionDone | ( | bool | done | ) |
Definition at line 1882 of file jointitem.cpp.
void JointItem::viewPositionTargetBox | ( | bool | visible | ) |
Definition at line 637 of file jointitem.cpp.
void JointItem::viewPositionTargetValue | ( | bool | visible | ) |
Definition at line 643 of file jointitem.cpp.