Changeset 167 in flair-src for trunk/lib/FlairFilter/src/TrajectoryGenerator2DCircle.cpp
- Timestamp:
- Apr 12, 2017, 1:59:38 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairFilter/src/TrajectoryGenerator2DCircle.cpp
r157 r167 48 48 } 49 49 50 void TrajectoryGenerator2DCircle::StartTraj(const Vector2D &start_pos,50 void TrajectoryGenerator2DCircle::StartTraj(const Vector2Df &start_pos, 51 51 float nb_lap) { 52 52 pimpl_->StartTraj(start_pos, nb_lap); … … 57 57 void TrajectoryGenerator2DCircle::StopTraj(void) { pimpl_->is_running = false; } 58 58 59 void TrajectoryGenerator2DCircle::GetPosition(Vector2D &point) const {59 void TrajectoryGenerator2DCircle::GetPosition(Vector2Df &point) const { 60 60 point.x = pimpl_->output->Value(0, 0); 61 61 point.y = pimpl_->output->Value(0, 1); 62 62 } 63 63 64 void TrajectoryGenerator2DCircle::SetCenter(const Vector2D &value) {64 void TrajectoryGenerator2DCircle::SetCenter(const Vector2Df &value) { 65 65 pimpl_->pos_off = value; 66 66 } 67 67 68 void TrajectoryGenerator2DCircle::GetSpeed(Vector2D &point) const {68 void TrajectoryGenerator2DCircle::GetSpeed(Vector2Df &point) const { 69 69 point.x = pimpl_->output->Value(1, 0); 70 70 point.y = pimpl_->output->Value(1, 1); 71 71 } 72 72 73 void TrajectoryGenerator2DCircle::SetCenterSpeed(const Vector2D &value) {73 void TrajectoryGenerator2DCircle::SetCenterSpeed(const Vector2Df &value) { 74 74 pimpl_->vel_off = value; 75 75 }
Note:
See TracChangeset
for help on using the changeset viewer.