cajun::lane_task_planner_t Class Reference

#include <lane_task_planner.H>

Inheritance diagram for cajun::lane_task_planner_t:
cajun::task_planner_t

List of all members.

Public Member Functions

 lane_task_planner_t ()
void set_plan (rndf_point_t *end_wp_id_, double x_, double y_)
 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 set_plan (rndf_point_t *end_wp_id_, double dis_)
void get_plan (rndf_point_t *&end_wp_id_, double &x_, double &y_, double &dis_)
void modify_plan (rndf_point_t *end_wp_id_, double x_, double y_)
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 get_start_lid (unsigned &sid_, unsigned &lid_)
 Returns the id of the lane on which the its path starts.
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.
void print_plan ()

Protected Member Functions

void compute_end_xy (rndf_lane_data_t const &lb_, path_t const &path)

Protected Attributes

const uc_planner_param_tm_uc_param
rndf_point_tm_end_wp_id
double m_end_x
double m_end_y
double m_drive_dis
bool m_drive_by_distance
bool m_recorded_start
double m_start_x
double m_start_y
double m_lane_width

Constructor & Destructor Documentation

lane_task_planner_t::lane_task_planner_t (  ) 

Member Function Documentation

void lane_task_planner_t::compute_end_xy ( rndf_lane_data_t const &  lb_,
path_t const &  path 
) [protected]
path_status_t lane_task_planner_t::generate_path ( world_state_t *  ws_,
path_t path_,
double &  p_len_left_,
const path_t base_path_ 
) [virtual]
bool cajun::lane_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 lane_task_planner_t::get_plan ( rndf_point_t *&  end_wp_id_,
double &  x_,
double &  y_,
double &  dis_ 
)
bool lane_task_planner_t::get_start_lid ( unsigned &  sid_,
unsigned &  lid_ 
) [virtual]

Returns the id of the lane on which the its path starts.

Reimplemented from cajun::task_planner_t.

bool lane_task_planner_t::is_task_complete ( world_state_t *  ws_,
double  x_,
double  y_,
double  heading_ 
) [virtual]
void lane_task_planner_t::modify_plan ( rndf_point_t end_wp_id_,
double  x_,
double  y_ 
)
void lane_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 cajun::rndf_point_t::is_rndf_wp(), m_drive_by_distance, m_drive_dis, m_end_wp_id, message, and msg_logger.

void lane_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_end_wp_id, message, and msg_logger.

void lane_task_planner_t::set_plan ( rndf_point_t end_wp_id_,
double  dis_ 
)
void lane_task_planner_t::set_plan ( rndf_point_t end_wp_id_,
double  x_,
double  y_ 
)

Member Data Documentation

Referenced by is_task_complete(), and set_plan().

Referenced by compute_end_xy().

Referenced by compute_end_xy().


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