Skip to content

Commit

Permalink
Removed all voss::Pose
Browse files Browse the repository at this point in the history
  • Loading branch information
ssejrog committed Sep 19, 2024
1 parent 8231ea2 commit 04bc231
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,19 +266,19 @@ void autonomous(){
chassis.move(10); // move forward 10
chassis.move(-10, 100, voss::Flags::REVERSE); // move backward 10
chassis.move(10, 70);
chassis.move(voss::Pose{1.0, 1.0}, 70);
chassis.move(voss::Pose{1.0, 1.0, 30}, 100, voss::Flags::RELATIVE);
chassis.move(voss::Pose{1.0, 1.0}, 100, voss::Flags::REVERSE | voss ::Flags::ASYNC | voss::Flags::THRU);
chassis.move({1.0, 1.0}, 70);
chassis.move({1.0, 1.0, 30}, 100, voss::Flags::RELATIVE);
chassis.move({1.0, 1.0}, 100, voss::Flags::REVERSE | voss ::Flags::ASYNC | voss::Flags::THRU);
// using boomerang controller:
chassis.move(voss::Pose{1.0, 1.0, 90}, boomerang);
chassis.move(voss::Pose{1.0, 1.0, 20}, boomerang, 70);
chassis.move(voss::Pose{1.0, 1.0, 30}, boomerang, 100, voss::Flags::RELATIVE);
chassis.move(voss::Pose{1.0, 1.0, 10}, boomerang, 100, voss::Flags::REVERSE | voss ::Flags::ASYNC | voss::Flags::THRU);
chassis.move({1.0, 1.0, 90}, boomerang);
chassis.move({1.0, 1.0, 20}, boomerang, 70);
chassis.move({1.0, 1.0, 30}, boomerang, 100, voss::Flags::RELATIVE);
chassis.move({1.0, 1.0, 10}, boomerang, 100, voss::Flags::REVERSE | voss ::Flags::ASYNC | voss::Flags::THRU);
// using arc controller:
chassis.move(voss::Pose{1.0, 1.0}, arc);
chassis.move(voss::Pose{1.0, 1.0}, arc, 70);
chassis.move(voss::Pose{1.0, 1.0}, arc, 100, voss::Flags::RELATIVE);
chassis.move(voss::Pose{1.0, 1.0}, arc, 100, voss::Flags::REVERSE | voss ::Flags::ASYNC | voss::Flags::THRU);
chassis.move({1.0, 1.0}, arc);
chassis.move({1.0, 1.0}, arc, 70);
chassis.move({1.0, 1.0}, arc, 100, voss::Flags::RELATIVE);
chassis.move({1.0, 1.0}, arc, 100, voss::Flags::REVERSE | voss ::Flags::ASYNC | voss::Flags::THRU);
}
```

Expand Down

0 comments on commit 04bc231

Please sign in to comment.