#include <uos_freespace.h>
Public Member Functions | |
FreeSpace () | |
Private Member Functions | |
void | autonomousBehaviour (const sensor_msgs::LaserScan::ConstPtr &laserscan) |
double | calcFreespace (const sensor_msgs::LaserScan::ConstPtr &laserscan) |
int | checkRange (const sensor_msgs::LaserScan::ConstPtr &laserscan, double xregion, double yregion, int *indexToObstacle, double *distanceToObstacle) |
int | isInvertedScannerCheck (const sensor_msgs::LaserScan::ConstPtr &laserscan) |
Private Attributes | |
ros::Subscriber | laser_sub_ |
double | max_rotational_vel_ |
double | max_vel_x_ |
ros::NodeHandle | nh_ |
ros::NodeHandle | private_nh_ |
int | scanner_orientation_ |
tf::TransformListener | tf_ |
double | turn_omega_ |
int | turn_state_ |
ros::Publisher | vel_pub_ |
Definition at line 10 of file uos_freespace.h.
Definition at line 18 of file uos_freespace.cpp.
void FreeSpace::autonomousBehaviour | ( | const sensor_msgs::LaserScan::ConstPtr & | laserscan | ) | [private] |
Definition at line 158 of file uos_freespace.cpp.
double FreeSpace::calcFreespace | ( | const sensor_msgs::LaserScan::ConstPtr & | laserscan | ) | [private] |
Definition at line 38 of file uos_freespace.cpp.
int FreeSpace::checkRange | ( | const sensor_msgs::LaserScan::ConstPtr & | laserscan, |
double | xregion, | ||
double | yregion, | ||
int * | indexToObstacle, | ||
double * | distanceToObstacle | ||
) | [private] |
Definition at line 103 of file uos_freespace.cpp.
int FreeSpace::isInvertedScannerCheck | ( | const sensor_msgs::LaserScan::ConstPtr & | laserscan | ) | [private] |
Definition at line 65 of file uos_freespace.cpp.
ros::Subscriber FreeSpace::laser_sub_ [private] |
Definition at line 26 of file uos_freespace.h.
double FreeSpace::max_rotational_vel_ [private] |
Definition at line 15 of file uos_freespace.h.
double FreeSpace::max_vel_x_ [private] |
Definition at line 15 of file uos_freespace.h.
ros::NodeHandle FreeSpace::nh_ [private] |
Definition at line 21 of file uos_freespace.h.
ros::NodeHandle FreeSpace::private_nh_ [private] |
Definition at line 22 of file uos_freespace.h.
int FreeSpace::scanner_orientation_ [private] |
Definition at line 19 of file uos_freespace.h.
tf::TransformListener FreeSpace::tf_ [private] |
Definition at line 28 of file uos_freespace.h.
double FreeSpace::turn_omega_ [private] |
Definition at line 16 of file uos_freespace.h.
int FreeSpace::turn_state_ [private] |
Definition at line 17 of file uos_freespace.h.
ros::Publisher FreeSpace::vel_pub_ [private] |
Definition at line 24 of file uos_freespace.h.