#include <lidarTracking.h>
Public Member Functions | |
void | forwardPropogateClusters (double t) |
void | getClusters (vector< float > ranges, vector< float > angles, vector< Cluster > *raw_clusters) |
bool | hasMapCollision (Cluster c) |
void | lidarCallback (const sensor_msgs::LaserScanConstPtr &msg) |
LidarTracking () | |
void | linearExtrapolate (ros::Time stamp) |
void | matchClusters (vector< Cluster > clusters, double t) |
bool | onMap (int x, int y) |
void | velocityCallback (const geometry_msgs::TwistConstPtr &msg) |
Private Attributes | |
vector< Cluster > | clusters |
costmap_2d::Costmap2D | cost_map |
costmap_2d::Costmap2DROS * | costmap_ros |
ros::Publisher | dynObs_pub |
string | laser_link |
double | last_t |
string | map_frame |
ros::Publisher | marker_pub |
ros::NodeHandle | n |
ros::Subscriber | scan_sub |
tf::TransformListener | tf_ |
bool | turning |
bool | useCostmap |
ros::Subscriber | vel_sub |
Definition at line 42 of file lidarTracking.h.
LidarTracking::LidarTracking | ( | ) |
Definition at line 37 of file lidarTracking.cpp.
void LidarTracking::forwardPropogateClusters | ( | double | t | ) |
Definition at line 189 of file lidarTracking.cpp.
void LidarTracking::getClusters | ( | vector< float > | ranges, | |
vector< float > | angles, | |||
vector< Cluster > * | raw_clusters | |||
) |
Definition at line 95 of file lidarTracking.cpp.
bool LidarTracking::hasMapCollision | ( | Cluster | c | ) |
Definition at line 147 of file lidarTracking.cpp.
void LidarTracking::lidarCallback | ( | const sensor_msgs::LaserScanConstPtr & | msg | ) |
Definition at line 69 of file lidarTracking.cpp.
void LidarTracking::linearExtrapolate | ( | ros::Time | stamp | ) |
Definition at line 283 of file lidarTracking.cpp.
void LidarTracking::matchClusters | ( | vector< Cluster > | clusters, | |
double | t | |||
) |
Definition at line 205 of file lidarTracking.cpp.
bool LidarTracking::onMap | ( | int | x, | |
int | y | |||
) |
Definition at line 184 of file lidarTracking.cpp.
void LidarTracking::velocityCallback | ( | const geometry_msgs::TwistConstPtr & | msg | ) |
Definition at line 65 of file lidarTracking.cpp.
vector<Cluster> LidarTracking::clusters [private] |
Definition at line 59 of file lidarTracking.h.
costmap_2d::Costmap2D LidarTracking::cost_map [private] |
Definition at line 67 of file lidarTracking.h.
costmap_2d::Costmap2DROS* LidarTracking::costmap_ros [private] |
Definition at line 66 of file lidarTracking.h.
ros::Publisher LidarTracking::dynObs_pub [private] |
Definition at line 54 of file lidarTracking.h.
string LidarTracking::laser_link [private] |
Definition at line 63 of file lidarTracking.h.
double LidarTracking::last_t [private] |
Definition at line 60 of file lidarTracking.h.
string LidarTracking::map_frame [private] |
Definition at line 64 of file lidarTracking.h.
ros::Publisher LidarTracking::marker_pub [private] |
Definition at line 55 of file lidarTracking.h.
ros::NodeHandle LidarTracking::n [private] |
Definition at line 58 of file lidarTracking.h.
ros::Subscriber LidarTracking::scan_sub [private] |
Definition at line 56 of file lidarTracking.h.
tf::TransformListener LidarTracking::tf_ [private] |
Definition at line 65 of file lidarTracking.h.
bool LidarTracking::turning [private] |
Definition at line 61 of file lidarTracking.h.
bool LidarTracking::useCostmap [private] |
Definition at line 62 of file lidarTracking.h.
ros::Subscriber LidarTracking::vel_sub [private] |
Definition at line 57 of file lidarTracking.h.