27 #include <Eigen/Geometry>
36 class ReflexCombination;
52 std::string eye_pitch_right,
53 std::string eye_yaw_left,
54 std::string eye_yaw_right,
55 std::string neck_roll);
57 void setBools(
bool armar4,
bool velocityBased);
69 void onStop()
override;
74 bool reportedSensorValues, reportedJointAnglesBool, reportedJointVelocitiesBool,
76 bool armar4, velocityBased;
78 std::vector<float> err_old = std::vector<float>(3);
79 std::vector<float> err_sum = std::vector<float>(3);
80 std::vector<float> rotationVelocity;
81 NameValueMap reportedJointAngles, reportedJointVelocities;
82 std::string eye_pitch_left, eye_pitch_right, eye_yaw_left, eye_yaw_right, neck_roll;
95 const FramedPositionBasePtr& targetPosition);
98 std::vector<float> pid(std::vector<float> error,
99 std::vector<float> kp,
100 std::vector<float> ki,
101 std::vector<float> kd);