#include <rotate_translate_transform.h>
Public Member Functions | |
posetype | apply_inverse_transform (const posetype &) const |
posetype | apply_transform (const posetype &) const |
void | find_transform (const posetype &, const posetype &) |
rotate_translate_transform () | |
Private Attributes | |
float | actual_cs |
float | actual_sn |
posetype | actual_transform |
Rotate_Translate transformations class
Definition at line 26 of file rotate_translate_transform.h.
Constructor that sets transform to (0,0,0)
Definition at line 37 of file rotate_translate_transform.cc.
posetype rotate_translate_transform::apply_inverse_transform | ( | const posetype & | c2 | ) | const |
Uses a pre-calculated transform from find_transform() to apply the inverse transform to a coordinate (from C2 to C1).
Definition at line 65 of file rotate_translate_transform.cc.
posetype rotate_translate_transform::apply_transform | ( | const posetype & | c1 | ) | const |
Transform a coordinate (in C1) into another frame of reference (C2) using info found after calling find_transform()
Definition at line 47 of file rotate_translate_transform.cc.
void rotate_translate_transform::find_transform | ( | const posetype & | c1, |
const posetype & | c2 | ||
) |
This should figure out the rotation and translation to move x,y,theta coordinate frame C1 to match coordinate frame C2.
Definition at line 14 of file rotate_translate_transform.cc.
float rotate_translate_transform::actual_cs [private] |
Definition at line 29 of file rotate_translate_transform.h.
float rotate_translate_transform::actual_sn [private] |
Definition at line 29 of file rotate_translate_transform.h.
Definition at line 28 of file rotate_translate_transform.h.