Abstract class of an object that produces a ChppRobotMotion through a method ChppGikRobotTask::solve()
More...
#include <hpp/gik/task/robot-task.hh>
Abstract class of an object that produces a ChppRobotMotion through a method ChppGikRobotTask::solve()
◆ ChppGikRobotTask()
ChppGikRobotTask::ChppGikRobotTask |
( |
ChppGikStandingRobot * |
inStandingRobot, |
|
|
double |
inSamplingPeriod, |
|
|
const char * |
inTaskName |
|
) |
| |
◆ ~ChppGikRobotTask()
virtual ChppGikRobotTask::~ChppGikRobotTask |
( |
| ) |
|
|
inlinevirtual |
◆ algorithmSolve()
virtual bool ChppGikRobotTask::algorithmSolve |
( |
| ) |
|
|
protectedpure virtual |
◆ backupRobot()
void ChppGikRobotTask::backupRobot |
( |
| ) |
|
|
protected |
◆ bringBackZMP()
virtual void ChppGikRobotTask::bringBackZMP |
( |
bool |
inChoice, |
|
|
double |
inStartTime, |
|
|
double |
inDuration |
|
) |
| |
|
pure virtual |
Option to bring back the ZMP before any other motion (Disabled by default).
A motion is planned to bring back the ZMP to the closest point on the line segment defining the center of the safe zone. The start time and the duration of this ZMP motion is left up to the user. The start time is defined relatively to the start of the locomotion plan. Example: bringBackZmp(-0.5, 2.0 ) will make the zmp planning start 0.5 seconds before the first locomotion element (if none, absolute time 0.0s), and take 2.0 seconds to finish. USE AT YOUR OWN RISK
Implemented in ChppGikWholeBodyTask, ChppGikGenericTask, ChppGikReachTask, ChppGikHandTask, ChppGikStepBackTask, ChppGikStepTask, ChppGikMetaTask, and ChppGikHalfSittingTask.
◆ cleanUp()
void ChppGikRobotTask::cleanUp |
( |
| ) |
|
|
protected |
Delete objects created in this instance.
Meant to be called by derived classes'destructors
Referenced by ~ChppGikRobotTask().
◆ cropMotion()
concatanate a task solution motion to the current attSolutionMotion and apply the last solution configuration to the robot.
Referenced by ~ChppGikRobotTask().
◆ restoreRobot()
void ChppGikRobotTask::restoreRobot |
( |
| ) |
|
|
protected |
Restore saved robot configuration (q, dot q, ddot q) and compute forward kinematics.
Referenced by ~ChppGikRobotTask().
◆ showResolutionTime()
void ChppGikRobotTask::showResolutionTime |
( |
bool |
inSwitch | ) |
|
◆ solutionMotion()
Get the computed solution motion.
Can be empty.
◆ solve()
bool ChppGikRobotTask::solve |
( |
| ) |
|
Solve for joint motion.
Note that this method should return true in the case the task is already solved. It is up to the user to verify that the retrieved solutionMotion() is not an empty motion.
◆ attEps
double ChppGikRobotTask::attEps |
|
protected |
◆ attInitialConfiguration
Backup of robot configuration before task solving {.
◆ attSamplingPeriod
double ChppGikRobotTask::attSamplingPeriod |
|
protected |
Motion sampling period and its half.
◆ attShowTime
bool ChppGikRobotTask::attShowTime |
|
protected |
option to show resolution time
◆ attSolutionMotion
The solution joint motion.
◆ attStandingRobot
◆ attStartTime
double ChppGikRobotTask::attStartTime |
|
protected |
◆ attTaskName
std::string ChppGikRobotTask::attTaskName |
|
protected |
◆ Tpf
struct timeval * ChppGikRobotTask::Tpf |
|
protected |
◆ Tps
struct timeval* ChppGikRobotTask::Tps |
|
protected |
◆ Tzp
struct timezone* ChppGikRobotTask::Tzp |
|
protected |