#include <topomap/objective/PathObjective.h>
◆ reflect()
| void reflect |
( |
Reflector & |
r | ) |
|
|
inline |
◆ initialize()
| virtual void initialize |
( |
| ) |
|
|
virtual |
◆ setTask()
| virtual void setTask |
( |
boost::shared_ptr< navigation::Task > |
task | ) |
|
|
virtual |
◆ inGoalRegion()
| virtual bool inGoalRegion |
( |
const Pose2 & |
iRobotInMap, |
|
|
const Point2f & |
iGoalInMap, |
|
|
const boost::shared_ptr< navigation::PositionTask > & |
task |
|
) |
| |
|
virtual |
◆ reachedTask()
| virtual bool reachedTask |
( |
| ) |
|
|
virtual |
◆ update()
◆ plan()
◆ prepareVote()
| virtual void prepareVote |
( |
float |
lookAheadTime | ) |
|
|
virtual |
◆ vote()
| virtual Vote vote |
( |
const mira::robot::PoseVelocityTrajectory & |
trajectory, |
|
|
float |
lookAheadTime |
|
) |
| |
|
virtual |
◆ haveValidPath()
| virtual bool haveValidPath |
( |
| ) |
|
|
virtual |
Is called in prepareVote() to check if the current path is valid and ready to be used.
Derived classes can overwrite this method to perform additional checks.
◆ updateMetricPlannerGoal()
| virtual void updateMetricPlannerGoal |
( |
mira::pilot::AbstractMetricPlannerPtr |
planner, |
|
|
bool |
initial |
|
) |
| |
|
virtual |
Is called in plan to set or update the goal position, if the goal is moving, e.g.
The parameter initial specifies if this is the first call of this method for the goal node.
◆ setAdditionalLinkCosts()
| void setAdditionalLinkCosts |
( |
const std::string & |
fromGWName, |
|
|
const std::string & |
toGWName, |
|
|
double |
costs |
|
) |
| |
|
inline |
Define additional costs for a specific link.
◆ resetAllAdditionalLinkCosts()
| void resetAllAdditionalLinkCosts |
( |
| ) |
|
|
inline |
Reset all additional gateways costs to zero.
◆ waitForInitCostMapUpdate()
| void waitForInitCostMapUpdate |
( |
| ) |
|
|
inline |
If called the objective will wait for the next InitCostMap update before updating the path.
◆ onInitCostMapChanged()
| void onInitCostMapChanged |
( |
ChannelRead< maps::GridMap< double >> |
data | ) |
|
|
protected |
◆ inGoalHysteresis()
| virtual bool inGoalHysteresis |
( |
| ) |
const |
|
protectedvirtual |
◆ causesWork()
| virtual bool causesWork |
( |
navigation::TaskPtr |
task | ) |
|
|
protectedvirtual |
◆ clearGoal()
◆ setGoal()
| void setGoal |
( |
const Point2f & |
goal, |
|
|
const std::string & |
frame |
|
) |
| |
|
protected |
◆ computeLeafCosts()
| void computeLeafCosts |
( |
NodePtr |
node | ) |
|
|
protected |
◆ localizeGoal()
◆ localizeGoalWorld()
◆ mTopoMap
◆ mOffset
◆ mInGoalHysteresis
◆ mWaitForInitCostMapUpdate
| bool mWaitForInitCostMapUpdate |
|
protected |
◆ mLocalizedNodesChannel
| Channel<std::vector<std::string> > mLocalizedNodesChannel |
|
protected |
◆ mDbgNavStatusChannel
◆ mDbgMarkerChannel
| Channel<mira::model::Marker> mDbgMarkerChannel |
|
protected |
◆ mDbgNextSubGoalChannel
◆ mPathChannel
◆ mTask
| boost::shared_ptr<navigation::PositionTask> mTask |
|
protected |
◆ mHaveValidPath
◆ mPlanner
◆ mInitMapChannel
| Channel<maps::GridMap<double> > mInitMapChannel |
|
protected |
◆ mCurrentMapChannel
| Channel<maps::GridMap<double> > mCurrentMapChannel |
|
protected |
◆ mLastSequence
| boost::optional<uint32> mLastSequence |
|
protected |
The documentation for this class was generated from the following file: