1 #ifndef POSVELEFFVIEW_H
2 #define POSVELEFFVIEW_H
11 #include <trajectory_editor/historykeeper.h>
12 #include <trajectory_editor/spaces/basicsmallview.h>
14 class PosVelEffView :
public BasicSmallView
26 PosVelEffView(BasicSmallView::Alignment alignment, BasicSmallView::Type type, std::string jointName,
bool shiftMirrored, QWidget *parent = 0);
29 void setField(PosVelEffView::Field field,
double value);
30 void setEffort(
double effort);
31 void setVelocity(
double velocity);
32 void setPosition(
double rate);
38 void clearHistoryOfChanges();
41 void fieldChanged(PosVelEffView::Field, std::string jointName);
42 void changeForInverse(std::string inverse_joint_name, PosVelEffView::Field field,
double value);
45 void positionSliderChanged();
46 void positionSpinChanged();
48 void handleEffortChanged();
49 void handleVelocityChanged();
52 QSlider *positionSlider;
53 QDoubleSpinBox *positionSpin;
54 QDoubleSpinBox *effortSpin;
55 QDoubleSpinBox *velocitySpin;
57 HistoryKeeper *effortHistory;
58 HistoryKeeper *positionHistory;
59 HistoryKeeper *velocityHistory;
62 #endif // POSVELEFFVIEW_H