Cluster Class Reference

#include <lidarTracking.h>

List of all members.


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< Pointpoints
bool points_changed
double sumX
double sumXX
double sumXY
double sumY

Detailed Description

Definition at line 13 of file lidarTracking.h.

Constructor & Destructor Documentation

Cluster::Cluster (  ) 

Definition at line 417 of file lidarTracking.cpp.

Member Function Documentation

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.

Member Data Documentation

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.

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.

Definition at line 17 of file lidarTracking.h.

double Cluster::y

Definition at line 16 of file lidarTracking.h.

Definition at line 18 of file lidarTracking.h.

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Defines

Author(s): Michael Phillips
autogenerated on Fri Jan 11 10:01:20 2013