Go to the documentation of this file.
29 #include <Eigen/Geometry>
31 #include <VirtualRobot/VirtualRobot.h>
32 #include <VirtualRobot/Robot.h>
33 #include <VirtualRobot/Nodes/RobotNode.h>
34 #include <VirtualRobot/RobotNodeSet.h>
35 #include <VirtualRobot/IK/GazeIK.h>
45 class ReflexCombination;
52 forward_predictor = NULL;
66 if (forward_predictor)
68 delete forward_predictor;
73 void setBools(
bool armar4,
bool velocityBased);
86 return "FeedforwardReflex";
102 std::vector< VirtualRobot::RobotNodePtr > allRobotNodeSet;
104 std::string headIKName;
106 std::mutex dataMutex;
111 std::vector<std::string> headJointNames;
116 bool reportedJointAnglesBool, reportedJointVelocitiesBool;
117 bool armar4, velocityBased;
118 NameValueMap reportedJointAngles, reportedJointVelocities;
std::vector< float > optFlow_pred
FeedforwardReflex(int interval)
void reportPlatformVelocity(float x, float y, float a)
bool update_input_fromArmarX(GazeStabInput *gs_input)
void update_output_toArmarX(GazeStabOutput *gs_output)
void setBools(bool armar4, bool velocityBased)
double a(double t, double a0, double j)
void reportJointAngles(const NameValueMap &values, bool valueChanged, const Ice::Current &c)
armarx::core::time::DateTime Time
void reportJointVelocities(const NameValueMap &values, bool valueChanged, const Ice::Current &c)
std::string getName() const override
void setRobot(std::string nodeSetName, std::string headIKName, RobotStateComponentInterfacePrx robotStateComponent)
~FeedforwardReflex() override
std::vector< float > gyroscopeRotation_pred
void reportHeadTargetChanged(const NameValueMap &targetJointAngles, const FramedPositionBasePtr &targetPosition)
This file offers overloads of toIce() and fromIce() functions for STL container types.
std::shared_ptr< class Robot > RobotPtr