|
VFH_Algorithm Class Reference#include <vfh_algorithm.h>
List of all members.
|
Public Member Functions |
| VFH_Algorithm (double cell_size, int window_diameter, int sector_angle, double safety_dist_0ms, double safety_dist_1ms, int max_speed, int max_speed_narrow_opening, int max_speed_wide_opening, int max_acceleration, int min_turnrate, int max_turnrate_0ms, int max_turnrate_1ms, double min_turn_radius_safety_factor, double free_space_cutoff_0ms, double obs_cutoff_0ms, double free_space_cutoff_1ms, double obs_cutoff_1ms, double weight_desired_dir, double weight_current_dir) |
| ~VFH_Algorithm () |
int | Init () |
int | Update_VFH (double laser_ranges[PLAYER_LASER_MAX_SAMPLES][2], int current_speed, int &chosen_speed, int &chosen_turnrate) |
int | GetMinTurnrate () |
float | GetDesiredAngle () |
float | GetPickedAngle () |
int | GetMaxTurnrate (int speed) |
int | GetCurrentMaxSpeed () |
void | SetRobotRadius (float robot_radius) |
void | SetDesiredAngle (float Desired_Angle) |
void | SetMinTurnrate (int min_turnrate) |
void | SetCurrentMaxSpeed (int Current_Max_Speed) |
Public Attributes |
float * | Hist |
Constructor & Destructor Documentation
VFH_Algorithm::VFH_Algorithm |
( |
double |
cell_size, |
|
|
int |
window_diameter, |
|
|
int |
sector_angle, |
|
|
double |
safety_dist_0ms, |
|
|
double |
safety_dist_1ms, |
|
|
int |
max_speed, |
|
|
int |
max_speed_narrow_opening, |
|
|
int |
max_speed_wide_opening, |
|
|
int |
max_acceleration, |
|
|
int |
min_turnrate, |
|
|
int |
max_turnrate_0ms, |
|
|
int |
max_turnrate_1ms, |
|
|
double |
min_turn_radius_safety_factor, |
|
|
double |
free_space_cutoff_0ms, |
|
|
double |
obs_cutoff_0ms, |
|
|
double |
free_space_cutoff_1ms, |
|
|
double |
obs_cutoff_1ms, |
|
|
double |
weight_desired_dir, |
|
|
double |
weight_current_dir |
|
) |
|
|
Member Function Documentation
int VFH_Algorithm::Init |
( |
|
) |
|
|
int VFH_Algorithm::Update_VFH |
( |
double |
laser_ranges[PLAYER_LASER_MAX_SAMPLES][2], |
|
|
int |
current_speed, |
|
|
int & |
chosen_speed, |
|
|
int & |
chosen_turnrate |
|
) |
|
|
int VFH_Algorithm::GetMinTurnrate |
( |
|
) |
[inline] |
|
float VFH_Algorithm::GetDesiredAngle |
( |
|
) |
[inline] |
|
float VFH_Algorithm::GetPickedAngle |
( |
|
) |
[inline] |
|
int VFH_Algorithm::GetMaxTurnrate |
( |
int |
speed |
) |
|
|
int VFH_Algorithm::GetCurrentMaxSpeed |
( |
|
) |
[inline] |
|
void VFH_Algorithm::SetRobotRadius |
( |
float |
robot_radius |
) |
[inline] |
|
void VFH_Algorithm::SetDesiredAngle |
( |
float |
Desired_Angle |
) |
[inline] |
|
void VFH_Algorithm::SetMinTurnrate |
( |
int |
min_turnrate |
) |
[inline] |
|
void VFH_Algorithm::SetCurrentMaxSpeed |
( |
int |
Current_Max_Speed |
) |
|
|
Member Data Documentation
The documentation for this class was generated from the following files:
Generated on Tue May 3 14:16:07 2005 for Player by 1.3.6
|