Points end-effector to look at a given target by aligning end-effector z-axis with the target. Looks at a target point by penalizing the vector which defines the orthogonal projection onto a defined line in the end-effector frame. More...
#include <look_at.h>

Additional Inherited Members | |
Public Attributes inherited from exotica::TaskMap | |
| int | id |
| bool | is_used |
| std::vector< KinematicSolution > | kinematics |
| int | length |
| int | length_jacobian |
| int | start |
| int | start_jacobian |
Public Attributes inherited from exotica::Object | |
| bool | debug_ |
| std::string | ns_ |
| std::string | object_name_ |
Protected Attributes inherited from exotica::TaskMap | |
| std::vector< KinematicFrameRequest > | frames_ |
| ScenePtr | scene_ |
Protected Attributes inherited from exotica::Instantiable< LookAtInitializer > | |
| C | parameters_ |
Points end-effector to look at a given target by aligning end-effector z-axis with the target. Looks at a target point by penalizing the vector which defines the orthogonal projection onto a defined line in the end-effector frame.
Given the point
(the point to look at) defined in the end-effector space the task map is expressed by
where
where
is the orthogonal projection onto the line
given by
and
is some fixed point in the end-effector frame.
The LookAt task map can handle a goal for each end-effector. Three frames must be defined in the .xml for every goal.
|
overridevirtual |
Implements exotica::TaskMap.
Definition at line 57 of file look_at.cpp.
|
overridevirtual |
Implements exotica::TaskMap.
Definition at line 36 of file look_at.cpp.
|
overridevirtual |
Reimplemented from exotica::TaskMap.
Definition at line 44 of file look_at.cpp.