10 #include <QDoubleSpinBox>
13 #include <gait/util/gait_inverse_pose.h>
14 #include <Eigen/Geometry>
16 #include <trajectory_editor/spaces/positionview.h>
17 #include <trajectory_editor/spaces/basicspace.h>
18 #include <motion_file/poseconverter.h>
20 class InverseSpace :
public BasicSpace
24 InverseSpace(
const std::vector<std::string> &jointList, QWidget *parent = 0);
28 void handlePerspectiveUpdate(
const joint_perspective::JointPerspective &perspective);
29 void getInverseLimits(
bool &limit,
double &epsilon);
32 void handlePositionChanged(
const std::string joint_name,
const double prev,
const double current);
38 void updatePosition(std::string jointName,
double pos);
42 double getPos(std::string name);
46 void findAndPutView(std::string jointName, std::string label,
int row
47 , PositionView::Alignment alignment, PositionView::Type type);
49 void createHeaderLabels();
52 std::vector<PositionView*> m_views;
53 QVBoxLayout *m_main_layout;
54 QHBoxLayout *m_epsilon_layout;
55 QGridLayout *m_joint_layout;
57 QCheckBox *m_limit_inverse;
58 QDoubleSpinBox *m_epsilon_spin;
63 motionfile::PoseConverter p;
66 #endif // INVERSESPACE_H
Data struct that encompasses the inverse representation of a robot pose.
Definition: gait_inverse_pose.h:188