#include <lidarTracking.h>
Classes | |
struct | Point |
Public Member Functions | |
void | addPoint (double x, double y, double t) |
Cluster () | |
void | getVelocity (double *x_dot, double *y_dot) |
Public Attributes | |
int | count |
double | last_seen |
double | r |
double | x |
double | x_dot |
double | y |
double | y_dot |
Private Member Functions | |
bool | fitLine (double *slope, double *intercept) |
Private Attributes | |
double | curr_x_dot |
double | curr_y_dot |
int | n |
deque< Point > | points |
bool | points_changed |
double | sumX |
double | sumXX |
double | sumXY |
double | sumY |
Definition at line 13 of file lidarTracking.h.
Cluster::Cluster | ( | ) |
Definition at line 417 of file lidarTracking.cpp.
void Cluster::addPoint | ( | double | x, | |
double | y, | |||
double | t | |||
) |
Definition at line 428 of file lidarTracking.cpp.
bool Cluster::fitLine | ( | double * | slope, | |
double * | intercept | |||
) | [private] |
Definition at line 490 of file lidarTracking.cpp.
void Cluster::getVelocity | ( | double * | x_dot, | |
double * | y_dot | |||
) |
Definition at line 454 of file lidarTracking.cpp.
int Cluster::count |
Definition at line 20 of file lidarTracking.h.
double Cluster::curr_x_dot [private] |
Definition at line 37 of file lidarTracking.h.
double Cluster::curr_y_dot [private] |
Definition at line 38 of file lidarTracking.h.
double Cluster::last_seen |
Definition at line 21 of file lidarTracking.h.
int Cluster::n [private] |
Definition at line 36 of file lidarTracking.h.
deque<Point> Cluster::points [private] |
Definition at line 31 of file lidarTracking.h.
bool Cluster::points_changed [private] |
Definition at line 39 of file lidarTracking.h.
double Cluster::r |
Definition at line 19 of file lidarTracking.h.
double Cluster::sumX [private] |
Definition at line 32 of file lidarTracking.h.
double Cluster::sumXX [private] |
Definition at line 34 of file lidarTracking.h.
double Cluster::sumXY [private] |
Definition at line 35 of file lidarTracking.h.
double Cluster::sumY [private] |
Definition at line 33 of file lidarTracking.h.
double Cluster::x |
Definition at line 15 of file lidarTracking.h.
double Cluster::x_dot |
Definition at line 17 of file lidarTracking.h.
double Cluster::y |
Definition at line 16 of file lidarTracking.h.
double Cluster::y_dot |
Definition at line 18 of file lidarTracking.h.