30 #ifndef _MIRA_PILOT_ABSTRACTDYNAMICWINDOW_H_ 31 #define _MIRA_PILOT_ABSTRACTDYNAMICWINDOW_H_ 33 #include <serialization/adapters/std/list> 42 namespace mira {
namespace pilot {
74 template<
typename Reflector>
77 r.member(
"VelocityOffset",
vOff,
"");
78 r.member(
"Radius",
radius,
"");
79 r.member(
"Vote",
vote,
"");
80 r.member(
"Votes",
votes,
"");
90 std::map<uint32, Objective::Vote>
votes;
100 template<
typename Reflector>
103 r.member(
"Velocity",
v,
"");
104 r.member(
"Vote",
vote,
"");
114 template<
typename Reflector>
119 r.member(
"Cells",
cells,
"");
120 r.member(
"CurrentVelocity",
curV,
"");
138 void initializeCells(
float dt);
std::list< std::string > objectives
Definition: AbstractDynamicWindow.h:126
std::map< uint32, Objective::Vote > votes
Definition: AbstractDynamicWindow.h:90
Definition: AbstractDynamicWindow.h:46
virtual void initialize()
Config mConfig
Definition: AbstractDynamicWindow.h:131
std::vector< PoseVelocityTrajectorySample, Eigen::aligned_allocator< PoseVelocityTrajectorySample > > PoseVelocityTrajectory
int naySayer
Definition: AbstractDynamicWindow.h:92
Definition: Objective.h:52
Cell(const Velocity2 &v, const Velocity2 &r)
Definition: AbstractDynamicWindow.h:69
Velocity2 curV
Definition: AbstractDynamicWindow.h:125
void reflect(Reflector &r)
Definition: AbstractDynamicWindow.h:75
std::list< Cell > cells
Definition: AbstractDynamicWindow.h:124
Base class for all planners that use objectives.
#define MIRA_ABSTRACT_OBJECT(classIdentifier)
BestAction()
Definition: AbstractDynamicWindow.h:96
Definition: AbstractDynamicWindow.h:112
Definition: AbstractDynamicWindow.h:95
robot::PoseVelocityTrajectory trajectory
Definition: AbstractDynamicWindow.h:109
boost::optional< BestAction > bestAction
Definition: AbstractDynamicWindow.h:123
void reflect(Reflector &r)
Definition: AbstractDynamicWindow.h:115
Definition: AbstractDynamicWindow.h:63
Velocity2 v
Definition: AbstractDynamicWindow.h:107
Cell()
Definition: AbstractDynamicWindow.h:65
Definition: AbstractObjectiveBasedPlanner.h:50
BestAction(const Velocity2 &iV, Objective::Vote iVote, const robot::PoseVelocityTrajectory &iTrajectory)
Definition: AbstractDynamicWindow.h:97
Definition: Objective.h:72
virtual Velocity2 planMotion()
virtual void buildCellLut()=0
Objective::Vote vote
Definition: AbstractDynamicWindow.h:108
Velocity2 vOff
Definition: AbstractDynamicWindow.h:85
void reflect(Reflector &r)
Definition: AbstractDynamicWindow.h:101
Objective::Vote vote
Definition: AbstractDynamicWindow.h:89
Velocity2 radius
Definition: AbstractDynamicWindow.h:88