6#include <simox/control/impl/simox/robot/Robot.h>
7#include <simox/example/method/PointingIK.h>
81 std::unique_ptr<simox::control::simox::robot::Robot> reducedRobot_;
82 std::unique_ptr<simox::control::method::example::PointingIK> ik_;
84 std::vector<std::vector<double>> trajData;
85 void appendTrajData(
const Eigen::VectorXd& jointValues);
PointingIK(VirtualRobot::RobotPtr robot, Side side, Eigen::Vector3f &target)
Initialize a new PointingIK.
double optimize()
Optimizes the joint configuration of the internal robot model regarding pointing towards the target.
armarx::TrajectoryPtr getTrajectory()
Constructs a trajectory containing the sequence of joint configurations from the calls to optimize().
Side
Describes the side of an arm.
std::shared_ptr< class Robot > RobotPtr
IceInternal::Handle< Trajectory > TrajectoryPtr