31 #include <Eigen/Geometry>
35 class ReflexCombination;
45 void setJointNames(std::string eye_pitch_left, std::string eye_pitch_right, std::string eye_yaw_left, std::string eye_yaw_right, std::string neck_roll);
47 void setBools(
bool armar4,
bool velocityBased);
59 void onStop()
override;
64 bool reportedSensorValues, reportedJointAnglesBool, reportedJointVelocitiesBool, initialOrientation;
65 bool armar4, velocityBased;
67 std::vector<float> err_old = std::vector<float>(3);
68 std::vector<float> err_sum = std::vector<float>(3);
69 std::vector<float> rotationVelocity;
70 NameValueMap reportedJointAngles, reportedJointVelocities;
71 std::string eye_pitch_left, eye_pitch_right, eye_yaw_left, eye_yaw_right, neck_roll;
84 std::vector<float> pid(std::vector<float> error, std::vector<float> kp, std::vector<float> ki, std::vector<float> kd);