Control the gaze vector of a body to look towards a world position updated at each iteration from a ROS TF Frame.
More...
|
| | LookAtTFTask (const mc_rbdyn::RobotFrame &frame, const Eigen::Vector3d &frameVector, const std::string &sourceFrame, const std::string &targetFrame, double stiffness=0.5, double weight=200) |
| | Constructor. More...
|
| |
| | LookAtTFTask (const std::string &bodyName, const Eigen::Vector3d &bodyVector, const std::string &sourceFrame, const std::string &targetFrame, const mc_rbdyn::Robots &robots, unsigned int robotIndex, double stiffness=0.5, double weight=200) |
| | Constructor. More...
|
| |
| void | update (mc_solver::QPSolver &) override |
| | Update the gaze target from TF position. More...
|
| |
| | LookAtTask (const mc_rbdyn::RobotFrame &frame, const Eigen::Vector3d &frameVector, double stiffness=2.0, double weight=500.0) |
| | Constructor with a frame. More...
|
| |
| | LookAtTask (const std::string &bodyName, const Eigen::Vector3d &bodyVector, const Eigen::Vector3d &targetPos, const mc_rbdyn::Robots &robots, unsigned int robotIndex, double stiffness=2.0, double weight=500) |
| | Constructor with user-specified target initialization. More...
|
| |
| | LookAtTask (const std::string &bodyName, const Eigen::Vector3d &bodyVector, const mc_rbdyn::Robots &robots, unsigned int robotIndex, double stiffness=2.0, double weight=500) |
| | Constructor with default target initialization. More...
|
| |
| void | reset () override |
| | Reset the task. More...
|
| |
| void | target (const Eigen::Vector3d &pos) |
| | Look towards the target frame position. More...
|
| |
| Eigen::Vector3d | target () const |
| | Gets the target frame position See targetVector() to obtain the gaze vector. More...
|
| |
| void | load (mc_solver::QPSolver &solver, const mc_rtc::Configuration &config) override |
| | Load parameters from a Configuration object. More...
|
| |
| | VectorOrientationTask (const mc_rbdyn::RobotFrame &frame, const Eigen::Vector3d &frameVector, double stiffness=2.0, double weight=500.0) |
| | Constructor from a robot frame. More...
|
| |
| | VectorOrientationTask (const std::string &bodyName, const Eigen::Vector3d &bodyVector, const Eigen::Vector3d &targetVector, const mc_rbdyn::Robots &robots, unsigned int robotIndex, double stiffness=2.0, double weight=500) |
| | Constructor with user-specified target. More...
|
| |
| | VectorOrientationTask (const std::string &bodyName, const Eigen::Vector3d &bodyVector, const mc_rbdyn::Robots &robots, unsigned int robotIndex, double stiffness=2.0, double weight=500) |
| | Constructor with default target. More...
|
| |
| void | reset () override |
| | Reset the task. More...
|
| |
| void | targetVector (const Eigen::Vector3d &vector) |
| | Set world target for the controlled vector. More...
|
| |
| Eigen::Vector3d | targetVector () const |
| | Get the target orientation. More...
|
| |
| Eigen::Vector3d | actual () const |
| | Get the current body orientation. More...
|
| |
| std::string | body () |
| | Return the controlled body. More...
|
| |
| void | load (mc_solver::QPSolver &solver, const mc_rtc::Configuration &config) override |
| | Load parameters from a Configuration object. More...
|
| |
| | TrajectoryTaskGeneric (const mc_rbdyn::Robots &robots, unsigned int robotIndex, double stiffness, double weight) |
| | Constructor (auto damping) More...
|
| |
| | TrajectoryTaskGeneric (const mc_rbdyn::RobotFrame &frame, double stiffness, double weight) |
| | Constructor (auto damping) More...
|
| |
| virtual | ~TrajectoryTaskGeneric ()=default |
| |
| void | refVel (const Eigen::VectorXd &vel) |
| | Set the trajectory reference velocity. More...
|
| |
| const Eigen::VectorXd & | refVel () const |
| | Get the trajectory reference velocity. More...
|
| |
| void | refAccel (const Eigen::VectorXd &accel) |
| | Set the trajectory reference acceleration. More...
|
| |
| const Eigen::VectorXd & | refAccel () const |
| | Get the trajectory reference acceleration. More...
|
| |
| void | stiffness (double stiffness) |
| | Set the task stiffness/damping. More...
|
| |
| void | stiffness (const Eigen::VectorXd &stiffness) |
| | Set dimensional stiffness. More...
|
| |
| void | damping (double damping) |
| | Set the task damping, leaving its stiffness unchanged. More...
|
| |
| void | damping (const Eigen::VectorXd &damping) |
| | Set dimensional damping. More...
|
| |
| void | setGains (double stiffness, double damping) |
| | Set both stiffness and damping. More...
|
| |
| void | setGains (const Eigen::VectorXd &stiffness, const Eigen::VectorXd &damping) |
| | Set dimensional stiffness and damping. More...
|
| |
| double | stiffness () const |
| | Get the current task stiffness. More...
|
| |
| double | damping () const |
| | Get the current task damping. More...
|
| |
| const Eigen::VectorXd & | dimStiffness () const |
| | Get the current task dimensional stiffness. More...
|
| |
| const Eigen::VectorXd & | dimDamping () const |
| | Get the current task dimensional damping. More...
|
| |
| void | weight (double w) |
| | Set the task weight. More...
|
| |
| double | weight () const |
| | Returns the task weight. More...
|
| |
| void | dimWeight (const Eigen::VectorXd &dimW) override |
| | Set the task's dimension weight vector. More...
|
| |
| Eigen::VectorXd | dimWeight () const override |
| | Get the current task's dim weight vector. More...
|
| |
| void | selectActiveJoints (const std::vector< std::string > &activeJointsName, const std::map< std::string, std::vector< std::array< int, 2 >>> &activeDofs={}, bool checkJoints=true) |
| | Create an active joints selector. More...
|
| |
| void | selectActiveJoints (mc_solver::QPSolver &solver, const std::vector< std::string > &activeJointsName, const std::map< std::string, std::vector< std::array< int, 2 >>> &activeDofs={}) override |
| | Create an active joints selector. More...
|
| |
| void | selectUnactiveJoints (const std::vector< std::string > &unactiveJointsName, const std::map< std::string, std::vector< std::array< int, 2 >>> &unactiveDofs={}, bool checkJoints=true) |
| | Create an unactive joints selector. More...
|
| |
| void | selectUnactiveJoints (mc_solver::QPSolver &solver, const std::vector< std::string > &unactiveJointsName, const std::map< std::string, std::vector< std::array< int, 2 >>> &unactiveDofs={}) override |
| | Create an unactive joints selector. More...
|
| |
| virtual void | resetJointsSelector () |
| |
| void | resetJointsSelector (mc_solver::QPSolver &solver) override |
| | Reset active joints selection. More...
|
| |
| Eigen::VectorXd | eval () const override |
| | Returns the task error. More...
|
| |
| Eigen::VectorXd | speed () const override |
| | Returns the task velocity. More...
|
| |
| const Eigen::VectorXd & | normalAcc () const |
| |
| | MetaTask () |
| |
| virtual | ~MetaTask () |
| |
| const std::string & | type () const |
| |
| virtual void | name (const std::string &name) |
| |
| const std::string & | name () const |
| |
| size_t | iterInSolver () const noexcept |
| | Get the number of iterations since the task was added to the solver. More...
|
| |
| void | resetIterInSolver () noexcept |
| | Set the number of iterations since the task was added to the solver to zero. More...
|
| |
| void | incrementIterInSolver () noexcept |
| | Increment the number of iterations since the task was added to the solver. More...
|
| |
| Backend | backend () const noexcept |
| |
Control the gaze vector of a body to look towards a world position updated at each iteration from a ROS TF Frame.