Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • L LEGO
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • René Søndergaard Nilsson
  • LEGO
  • Wiki
  • Lesson10

Lesson10 · Changes

Page history
Position tracking while avoiding obstacles authored Jun 01, 2015 by ivangrujic's avatar ivangrujic
Hide whitespace changes
Inline Side-by-side
Lesson10.markdown
View page @ 6fd7ef39
......@@ -146,6 +146,8 @@ Odometry was used to track the movements performed in the two behaviors *Avoid o
Travel route was implemented to drive in a straight line to obtain a simple fixed route.
The Avoid Obstacle behavoir, which backs the car up 10 cms and turns 90 degrees to the left, is activated by the touch sensor.
Both behaviors use the `Travel()` and `Rotate()` methods of the `DifferentialPilot`.
These methods are both called with the `ImmediateReturn` parameter set to true, in order to let the them be suppressed.
We tested the tracking by placing the vehicle approximately 30 cm in front of an obstacle.
When the car reached the obstacle, it backed up, turned to the left and continued forward.
......
Clone repository
  • Lesson 1
  • Lesson 2
  • Lesson 3
  • Lesson 4
  • Lesson 5
  • Lesson 6
  • Lesson 7
  • Lesson 8 Journal 2
  • Lesson 8
  • Lesson 9
  • Lesson10
  • Lesson11
  • Home