cajun::unparking_task_planner_t Class Reference

#include <unparking_task_planner.H>

Inheritance diagram for cajun::unparking_task_planner_t:
cajun::task_planner_t

List of all members.

Public Member Functions

 unparking_task_planner_t ()
void set_plan (rndf_point_t *rp1_, rndf_point_t *rp2_)
 Set the plan for the lane task planner. Teh plan is represented as end waypoint on the lane till which bot need to be driven.
void get_plan (rndf_point_t *&rp1_, rndf_point_t *&rp2_)
void modify_plan (rndf_point_t *end_wp_id_, rndf_point_t *rp2_)
void set_active ()
 Set the Lane following task planner (TP) as active TP.
path_status_t generate_path (world_state_t *ws_, path_t &path_, double &p_len_left_, const path_t &base_path_)
 Returns tha path on lane to reach m_end_wp. Returns false if path is full so that no following task planners need to be called else returns true.
bool get_path_lane_lids (unsigned &sid_, std::vector< unsigned > &lids_)
 Fills in the list of lane of a segment across which TP's path extends on. Returns false if TP has to mention the list in different formate.
bool is_task_complete (world_state_t *ws_, double x_, double y_, double heading_)
 Returns true if task is done, if end_wp is reached.
bool is_path_tight ()
void print_plan ()

Protected Member Functions

void set_paramters (rndf_point_t *rp1_, rndf_point_t *rp2_)
void compute_unparking_path (path_t const &base_path_, path_t &path_)

Protected Attributes

const uc_planner_param_tm_uc_param
rndf_point_tm_parking_rp
rndf_point_tm_post_parking_rp
double m_unpark_orient
path_t m_pk_path
bool m_first_iteration

Constructor & Destructor Documentation

unparking_task_planner_t::unparking_task_planner_t (  ) 

Member Function Documentation

void unparking_task_planner_t::compute_unparking_path ( path_t const &  base_path_,
path_t path_ 
) [protected]
path_status_t unparking_task_planner_t::generate_path ( world_state_t *  ws_,
path_t path_,
double &  p_len_left_,
const path_t base_path_ 
) [virtual]
bool cajun::unparking_task_planner_t::get_path_lane_lids ( unsigned &  sid_,
std::vector< unsigned > &  lids_ 
) [virtual]

Fills in the list of lane of a segment across which TP's path extends on. Returns false if TP has to mention the list in different formate.

Reimplemented from cajun::task_planner_t.

void unparking_task_planner_t::get_plan ( rndf_point_t *&  rp1_,
rndf_point_t *&  rp2_ 
)

References m_parking_rp, and m_post_parking_rp.

bool cajun::unparking_task_planner_t::is_path_tight (  )  [inline, virtual]

Reimplemented from cajun::task_planner_t.

bool unparking_task_planner_t::is_task_complete ( world_state_t *  ws_,
double  x_,
double  y_,
double  heading_ 
) [virtual]
void unparking_task_planner_t::modify_plan ( rndf_point_t end_wp_id_,
rndf_point_t rp2_ 
)
void unparking_task_planner_t::print_plan (  )  [virtual]

|brief Display the plan of the lane task planner, most used for debugging

Implements cajun::task_planner_t.

References m_parking_rp, message, and msg_logger.

void unparking_task_planner_t::set_active (  )  [virtual]

Set the Lane following task planner (TP) as active TP.

Implements cajun::task_planner_t.

References cajun::task_planner_t::m_active, m_parking_rp, message, and msg_logger.

void unparking_task_planner_t::set_paramters ( rndf_point_t rp1_,
rndf_point_t rp2_ 
) [protected]
void unparking_task_planner_t::set_plan ( rndf_point_t rp1_,
rndf_point_t rp2_ 
)

Set the plan for the lane task planner. Teh plan is represented as end waypoint on the lane till which bot need to be driven.

References cajun::task_planner_t::m_active, cajun::task_planner_t::m_complete, cajun::task_planner_t::m_reset_base_path, and set_paramters().

Referenced by cajun::task_plan_handler_t::add_unparking_tp().


Member Data Documentation

Referenced by generate_path().


The documentation for this class was generated from the following files:

Generated on Fri Apr 9 10:45:15 2010 for UCPlanner by  doxygen 1.6.1