Reteives data and apply a filter. More...
#include "phantom_filter/PhantomFilter.h"
Go to the source code of this file.
Functions | |
vector< Point > | Atan2 (vector< Point > V) |
vector< Point > | BThresh (vector< Point > V, double bt) |
vector< Point > | Copy (vector< Point > V, uint m, int n) |
vector< Point > | CumSum (vector< Point > V) |
vector< Point > | Diff (vector< Point > V) |
void | Drawlines (Point v, Point r, Point b, Point f) |
vector< Point > | Insert (vector< Point > v_old, vector< Point > v_new, vector< Point > dom, double r) |
bool | Limits (Point temp) |
int | main (int argc, char **argv) |
Point | Mean (const vector< Point > &v) |
vector< Point > | Moving_Average (vector< Point > V, int winSize) |
void | PhantomCallBk (const phantom_control::State &phantom_state) |
void | ProcessPoints (vector< Point > V) |
void | ProcessRot () |
vector< Point > | Round (vector< Point > V, double res) |
vector< Point > | Sqrt (vector< Point > V) |
Point | Std (const vector< Point > &v) |
void | Velocity (vector< Point > v, Point h) |
Variables | |
vector< Point > | forces |
double | fx1 = 0 |
double | fx2 = 0 |
double | fx3 = 0 |
double | fx4 = 0 |
double | fx5 = 0 |
double | fx6 = 0 |
double | fy1 = 0 |
double | fy2 = 0 |
double | fy3 = 0 |
double | fy4 = 0 |
double | fy5 = 0 |
double | fy6 = 0 |
double | fz1 = 0 |
double | fz2 = 0 |
double | fz3 = 0 |
double | fz4 = 0 |
double | fz5 = 0 |
double | fz6 = 0 |
phantom_filter::Phantom | g_State |
double | inc = 0 |
double | incma = 0 |
double | incme = 0 |
double | incmin = 0 |
double | incul = 0 |
Point | l_std |
Point | l_v |
Publisher | line_pub |
Publisher | marker_pub |
uint | mod_func = 0 |
Publisher | phantom_pub |
const double | PI = 3.141592653589793 |
vector< Point > | points |
vector< Point > | rots |
uint | tam = 200 |
Publisher | text_pub |
int | winSize = 100 |
Reteives data and apply a filter.
Definition in file PhantomFilter.cpp.
vector<Point> Atan2 | ( | vector< Point > | V | ) |
Definition at line 691 of file PhantomFilter.cpp.
vector<Point> BThresh | ( | vector< Point > | V, | |
double | bt | |||
) |
Definition at line 656 of file PhantomFilter.cpp.
vector<Point> Copy | ( | vector< Point > | V, | |
uint | m, | |||
int | n | |||
) |
Definition at line 776 of file PhantomFilter.cpp.
vector<Point> CumSum | ( | vector< Point > | V | ) |
Definition at line 723 of file PhantomFilter.cpp.
vector<Point> Diff | ( | vector< Point > | V | ) |
Definition at line 675 of file PhantomFilter.cpp.
void Drawlines | ( | Point | v, | |
Point | r, | |||
Point | b, | |||
Point | f | |||
) |
Definition at line 358 of file PhantomFilter.cpp.
vector<Point> Insert | ( | vector< Point > | v_old, | |
vector< Point > | v_new, | |||
vector< Point > | dom, | |||
double | r | |||
) |
Definition at line 637 of file PhantomFilter.cpp.
bool Limits | ( | Point | temp | ) |
Definition at line 499 of file PhantomFilter.cpp.
int main | ( | int | argc, | |
char ** | argv | |||
) |
Main
Definition at line 829 of file PhantomFilter.cpp.
Point Mean | ( | const vector< Point > & | v | ) |
Definition at line 802 of file PhantomFilter.cpp.
vector<Point> Moving_Average | ( | vector< Point > | V, | |
int | winSize | |||
) |
Definition at line 758 of file PhantomFilter.cpp.
void PhantomCallBk | ( | const phantom_control::State & | phantom_state | ) |
Definition at line 62 of file PhantomFilter.cpp.
void ProcessPoints | ( | vector< Point > | V | ) |
Definition at line 610 of file PhantomFilter.cpp.
void ProcessRot | ( | ) |
Definition at line 574 of file PhantomFilter.cpp.
vector<Point> Round | ( | vector< Point > | V, | |
double | res | |||
) |
Definition at line 741 of file PhantomFilter.cpp.
vector<Point> Sqrt | ( | vector< Point > | V | ) |
Definition at line 706 of file PhantomFilter.cpp.
Point Std | ( | const vector< Point > & | v | ) |
Definition at line 508 of file PhantomFilter.cpp.
void Velocity | ( | vector< Point > | v, | |
Point | h | |||
) |
Definition at line 146 of file PhantomFilter.cpp.
vector<Point> forces |
Definition at line 41 of file PhantomFilter.cpp.
double fx1 = 0 |
Definition at line 52 of file PhantomFilter.cpp.
double fx2 = 0 |
Definition at line 52 of file PhantomFilter.cpp.
double fx3 = 0 |
Definition at line 52 of file PhantomFilter.cpp.
double fx4 = 0 |
Definition at line 52 of file PhantomFilter.cpp.
double fx5 = 0 |
Definition at line 52 of file PhantomFilter.cpp.
double fx6 = 0 |
Definition at line 52 of file PhantomFilter.cpp.
double fy1 = 0 |
Definition at line 53 of file PhantomFilter.cpp.
double fy2 = 0 |
Definition at line 53 of file PhantomFilter.cpp.
double fy3 = 0 |
Definition at line 53 of file PhantomFilter.cpp.
double fy4 = 0 |
Definition at line 53 of file PhantomFilter.cpp.
double fy5 = 0 |
Definition at line 53 of file PhantomFilter.cpp.
double fy6 = 0 |
Definition at line 53 of file PhantomFilter.cpp.
double fz1 = 0 |
Definition at line 54 of file PhantomFilter.cpp.
double fz2 = 0 |
Definition at line 54 of file PhantomFilter.cpp.
double fz3 = 0 |
Definition at line 54 of file PhantomFilter.cpp.
double fz4 = 0 |
Definition at line 54 of file PhantomFilter.cpp.
double fz5 = 0 |
Definition at line 54 of file PhantomFilter.cpp.
double fz6 = 0 |
Definition at line 54 of file PhantomFilter.cpp.
phantom_filter::Phantom g_State |
Definition at line 58 of file PhantomFilter.cpp.
double inc = 0 |
Definition at line 51 of file PhantomFilter.cpp.
double incma = 0 |
Definition at line 51 of file PhantomFilter.cpp.
double incme = 0 |
Definition at line 51 of file PhantomFilter.cpp.
double incmin = 0 |
Definition at line 51 of file PhantomFilter.cpp.
double incul = 0 |
Definition at line 51 of file PhantomFilter.cpp.
Point l_std |
Definition at line 56 of file PhantomFilter.cpp.
Point l_v |
Definition at line 55 of file PhantomFilter.cpp.
Publisher line_pub |
Definition at line 42 of file PhantomFilter.cpp.
Publisher marker_pub |
Definition at line 42 of file PhantomFilter.cpp.
uint mod_func = 0 |
Definition at line 45 of file PhantomFilter.cpp.
Publisher phantom_pub |
Definition at line 43 of file PhantomFilter.cpp.
const double PI = 3.141592653589793 |
Definition at line 36 of file PhantomFilter.cpp.
vector<Point> points |
Definition at line 41 of file PhantomFilter.cpp.
vector<Point> rots |
Definition at line 41 of file PhantomFilter.cpp.
uint tam = 200 |
Definition at line 44 of file PhantomFilter.cpp.
Publisher text_pub |
Definition at line 42 of file PhantomFilter.cpp.
int winSize = 100 |
Definition at line 46 of file PhantomFilter.cpp.