37#define MAX_WIDTH_JOINT 320
96 std::string m_robotPartPort;
97 std::string m_robotName;
98 std::string m_partName;
101 bool m_positionDirectEnabled;
103 bool m_currentEnabled;
105 Stamp m_sequence_port_stamp;
115 std::vector<int> m_controlModes;
116 std::vector<double> m_refTrajectorySpeeds;
117 std::vector<double> m_refTrajectoryPositions;
118 std::vector<double> m_refTorques;
119 std::vector<double> m_refVelocitySpeeds;
120 std::vector<double> m_refVelocityAccelerations;
121 std::vector<double> m_torques;
122 std::vector<double> m_positions;
123 std::vector<double> m_speeds;
124 std::vector<double> m_currents;
125 std::vector<double> m_motorPositions;
126 std::vector<double> m_dutyCycles;
127 std::vector<bool> m_done;
128 std::vector<bool> m_braked;
129 bool m_part_speedVisible;
130 bool m_part_motorPositionVisible;
131 bool m_part_dutyVisible;
132 bool m_part_currentVisible;
133 std::vector<InteractionModeEnum> m_interactionModes;
139 Port m_sequence_port;
140 bool m_interfaceError;
199 void onSequenceActivated();
200 void onSequenceStopped();
201 void onStopSequence();
202 void onCycleTimeTimerTimeout();
203 void onCycleTimerTimeout();
204 void onRunTimerTimeout();
207 void onOpenSequence();
216 void onSliderDirectPositionCommand(
double dirpos,
int index);
217 void onSliderMixedPositionCommand(
double pos,
int index);
218 void onSliderMixedVelocityCommand(
double vel,
int index);
219 void onSliderTorqueCommand(
double torqueVal,
int index);
220 void onSliderPosTrajectoryPositionCommand(
double pos,
int index);
221 void onSliderPosTrajectoryVelocityCommand(
double speedVal,
int index);
222 void onSliderPWMCommand(
double dutyVal,
int index);
223 void onSliderCurrentCommand(
double current,
int index);
224 void onSliderVelTrajectoryVelocityCommand(
double speedVal,
int index);
225 void onSliderVelTrajectoryAccelerationCommand(
double accVal,
int index);
226 void onSliderVelocityDirectCommand(
double speedVal,
int index);
227 void onSequenceWindowDoubleClicked(
int sequenceNum);
232 void onSendPositionPid(
int jointIndex,
Pid newPid);
233 void onSendVelocityPid(
int jointIndex,
Pid newPid);
234 void onSendCurrentPid(
int jointIndex,
Pid newPid);
236 void onUpdateAllRemoteVariables();
239 void onSendPWM(
int jointIndex,
double dutyVal);
240 void onRefreshPids(
int jointIndex);
241 void onDumpAllRemoteVariables();
define control board standard interfaces
define control board standard interfaces
contains the definition of a Vector type
Original license follows:
void onEnableControlVelocityDirect(bool control)
void onViewDutyCycles(bool)
bool homeToCustomPosition(const yarp::os::Bottle &positionElement)
void setCurrentIndex(int)
JointItem * getJointWidget(int jointIndex)
void onEnableControlCurrent(bool control)
void onSetVelSliderOptionPI(int mode, double step, int numOfDec)
void onViewMotorPositions(bool)
void onEnableControlPWM(bool control)
void onEnableControlVelocity(bool control)
QString getJointName(int joint)
std::string getPartName()
void onSetCurSliderOptionPI(int mode, double step, int numOfDec)
void onViewPositionTargetValue(bool)
void onViewPositionTargetBox(bool)
bool homeJoint(int joint)
void onViewCurrentValues(bool)
void onSetTrqSliderOptionPI(int mode, double step, int numOfDec)
void sendPartJointsValues(int, QList< double >, QList< double >)
bool checkAndCycleAllSeq()
void closeSequenceWindow()
void onViewSpeedValues(bool)
void openSequenceWindow()
void onEnableControlPositionDirect(bool control)
void saveSequence(QString global_filename)
void resizeEvent(QResizeEvent *event) override
void changeEvent(QEvent *event) override
void onEnableControlTorque(bool control)
const QVector< JointItem::JointState > & getPartModes()
void onEnableControlMixed(bool control)
void onSetPosSliderOptionPI(int mode, double step, int numOfDec)
bool checkAndRunTimeAllSeq()
bool checkAndCycleTimeAllSeq()
QTreeWidgetItem * getTreeWidgetModeNode()
void setTreeWidgetModeNode(QTreeWidgetItem *node)
void onSetAccSliderOptionPI(int mode, double step, int numOfDec)
Interface for control devices, amplifier commands.
Interface for getting information about specific axes, if available.
Interface for control devices, calibration commands.
Interface for control devices, commands to get/set position and veloity limits.
Interface for setting control mode in control board.
Interface for control boards implementing current control.
Control board, encoder interface.
Interface for control boards implementing impedance control.
Interface settings the way the robot interacts with the environment: basic interaction types are Stif...
Interface for controlling a joint equipped with brakes (hardware or simulated).
Interface for getting info about the fault which may occur on a robot.
Control board, encoder interface.
Interface for controlling an axis, by sending directly a PWM reference signal to a motor.
Interface for a generic control board device implementing a PID controller, with scaled arguments.
Interface for a generic control board device implementing position control.
Interface for a generic control board device implementing position control.
IRemoteCalibrator interface is meant to remotize the access of the calibration device in order to all...
IRemoteVariables interface.
Interface for control boards implementing torque control.
Interface for control boards implementing velocity control.
Interface for control boards implementing direct velocity control.
Contains the parameters for a PID.
A container for a device driver.
A simple collection of objects that can be described and transmitted in a portable way.
A mini-server for performing network communication in the background.
A mini-server for network communication.
A class for storing options and configuration information.
Helper class for finding config files and other external resources.
An abstraction for a time stamp and/or sequence number.
bool speedview_param_enabled
For streams capable of holding different kinds of content, check what they actually have.
An interface to the operating system, including Port based communication.