32 class ReflexCombination;
51 void onStop()
override;
52 std::vector<float> pid(std::vector<float> error, std::vector<float> kp, std::vector<float> ki, std::vector<float> kd);
53 void removeSelfInducedOpticalFlow();
58 bool reportedSensorValues, reportedJointAnglesBool, reportedJointVelocitiesBool;
59 bool armar4, velocityBased, newFlow;
61 float flowX, flowY, flowT;
63 std::vector<float> err_old = std::vector<float>(3);
64 std::vector<float> err_sum = std::vector<float>(3);
65 NameValueMap reportedJointAngles, reportedJointVelocities;
66 std::string eye_pitch_left, eye_pitch_right, eye_yaw_left, eye_yaw_right, neck_roll;
69 std::map<long, NameValueMap> jointVelocities;
75 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);
77 void setBools(
bool armar4,
bool velocityBased);