-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Inintial verison of fake orientation #22
- Loading branch information
Showing
4 changed files
with
248 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#ifndef FAKE_ORI_HPP | ||
#define FAKE_ORI_HPP | ||
#include <vector> | ||
#include <iostream> | ||
|
||
|
||
class FakeOri{ | ||
public: | ||
double fake_orientation; | ||
int status; | ||
std::vector <double> x_vect; | ||
std::vector <double> y_vect; | ||
std::vector <double> ori_vect; | ||
void addXY(double x, double y); | ||
void setStatus(int fix_mode); | ||
void printAll(); | ||
double calcOrientation(int p1, int p2) const; | ||
double getDistance() const; | ||
double getOri() const; | ||
|
||
}; | ||
|
||
#endif |
Oops, something went wrong.