Go to the documentation of this file.
27 #include <Eigen/Geometry>
29 #include <VirtualRobot/IK/GazeIK.h>
30 #include <VirtualRobot/Nodes/RobotNode.h>
31 #include <VirtualRobot/Robot.h>
32 #include <VirtualRobot/RobotNodeSet.h>
33 #include <VirtualRobot/VirtualRobot.h>
46 class ReflexCombination;
54 forward_predictor = NULL;
69 if (forward_predictor)
71 delete forward_predictor;
75 void setRobot(std::string nodeSetName,
76 std::string headIKName,
78 void setBools(
bool armar4,
bool velocityBased);
89 const FramedPositionBasePtr& targetPosition);
94 return "FeedforwardReflex";
106 void calc()
override;
110 std::vector<VirtualRobot::RobotNodePtr> allRobotNodeSet;
112 std::string headIKName;
114 std::mutex dataMutex;
119 std::vector<std::string> headJointNames;
124 bool reportedJointAnglesBool, reportedJointVelocitiesBool;
125 bool armar4, velocityBased;
126 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