37#define MAX_WIDTH_JOINT 320
43 explicit PartItem(std::string robotName,
95 std::string m_robotPartPort;
96 std::string m_robotName;
97 std::string m_partName;
100 bool m_positionDirectEnabled;
102 bool m_currentEnabled;
104 Stamp m_sequence_port_stamp;
114 std::vector<int> m_controlModes;
115 std::vector<double> m_refTrajectorySpeeds;
116 std::vector<double> m_refTrajectoryPositions;
117 std::vector<double> m_refTorques;
118 std::vector<double> m_refVelocitySpeeds;
119 std::vector<double> m_torques;
120 std::vector<double> m_positions;
121 std::vector<double> m_speeds;
122 std::vector<double> m_currents;
123 std::vector<double> m_motorPositions;
124 std::vector<double> m_dutyCycles;
125 std::vector<bool> m_done;
126 bool m_part_speedVisible;
127 bool m_part_motorPositionVisible;
128 bool m_part_dutyVisible;
129 bool m_part_currentVisible;
130 std::vector<InteractionModeEnum> m_interactionModes;
136 Port m_sequence_port;
137 bool m_interfaceError;
191 void onSequenceActivated();
192 void onSequenceStopped();
193 void onStopSequence();
194 void onCycleTimeTimerTimeout();
195 void onCycleTimerTimeout();
196 void onRunTimerTimeout();
199 void onOpenSequence();
208 void onSliderDirectPositionCommand(
double dirpos,
int index);
209 void onSliderMixedPositionCommand(
double pos,
int index);
210 void onSliderMixedVelocityCommand(
double vel,
int index);
211 void onSliderTorqueCommand(
double torqueVal,
int index);
212 void onSliderTrajectoryPositionCommand(
double pos,
int index);
213 void onSliderTrajectoryVelocityCommand(
double speedVal,
int index);
214 void onSliderPWMCommand(
double dutyVal,
int index);
215 void onSliderCurrentCommand(
double current,
int index);
216 void onSliderVelocityCommand(
double speedVal,
int index);
217 void onSequenceWindowDoubleClicked(
int sequenceNum);
222 void onSendPositionPid(
int jointIndex,
Pid newPid);
223 void onSendVelocityPid(
int jointIndex,
Pid newPid);
224 void onSendCurrentPid(
int jointIndex,
Pid newPid);
226 void onUpdateAllRemoteVariables();
229 void onSendPWM(
int jointIndex,
double dutyVal);
230 void onRefreshPids(
int jointIndex);
231 void onDumpAllRemoteVariables();
define control board standard interfaces
define control board standard interfaces
contains the definition of a Vector type
Original license follows:
void onSetCurSliderOptionPI(int mode, double step)
void onViewDutyCycles(bool)
bool homeToCustomPosition(const yarp::os::Bottle &positionElement)
void setCurrentIndex(int)
JointItem * getJointWidget(int jointIndex)
void onEnableControlCurrent(bool control)
void onViewMotorPositions(bool)
void onEnableControlPWM(bool control)
void onEnableControlVelocity(bool control)
QString getJointName(int joint)
void onViewPositionTargetValue(bool)
void onViewPositionTargetBox(bool)
bool homeJoint(int joint)
void onViewCurrentValues(bool)
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
const QVector< JointItem::JointState > & getPartModes()
void onEnableControlMixed(bool control)
void onSetPosSliderOptionPI(int mode, double step, int numOfDec)
void onSetTrqSliderOptionPI(int mode, double step)
bool checkAndRunTimeAllSeq()
bool checkAndCycleTimeAllSeq()
QTreeWidgetItem * getTreeWidgetModeNode()
void setTreeWidgetModeNode(QTreeWidgetItem *node)
void onSetVelSliderOptionPI(int mode, double step)
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 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.
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.