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 @ 9cb6e990
...@@ -121,7 +121,7 @@ The tests to estimate the noise factors was performed at low speeds, on a wooden ...@@ -121,7 +121,7 @@ The tests to estimate the noise factors was performed at low speeds, on a wooden
The distance noise factor was determined by having the robot perform multiple forward travels of 50 cm. The average distance from the target was ~0.5 mm, thus the distance noise factor was estimated as: 0.5/500 = 0.001. The distance noise factor was determined by having the robot perform multiple forward travels of 50 cm. The average distance from the target was ~0.5 mm, thus the distance noise factor was estimated as: 0.5/500 = 0.001.
The angle noise factor was determined by two tests, both performed multiple times. In the first test, the robot performed four 360 degrees rotation. The second test was similar, but reversed the direction of the 2nd and 4th rotation. For both tests, the average deviation was 0.5 degrees, hence the angle noise factor was estimated as: 0.5/360 = 0.00138. The angle noise factor was determined by two tests, both performed multiple times. In the first test, the robot performed four 360 degrees rotation. The second test was similar, but reversed the direction of the 2nd and 4th rotation. For both tests, the average deviation was 0.5 degrees.
### Test with `PilotMonitor` and `PilotRoute` ### Test with `PilotMonitor` and `PilotRoute`
...@@ -134,6 +134,19 @@ Angle noise factor = 2.5 ...@@ -134,6 +134,19 @@ Angle noise factor = 2.5
## Position tracking while avoiding obstacles ## Position tracking while avoiding obstacles
We have chosen to answer this exercise based on the exercise *Make the robot stay within the robot arena* from lesson 11.
The following image shows the setup used, with a sonar sensor, two light sensors, and a bumper and touch sensor mounted on the front of the vehicle.
![Validation of LEGO car parameters - Right turns](https://gitlab.au.dk/rene2014/lego/raw/master/Lesson10/Images/Sonar.JPG)
This exercise used two behaviors, **Wander** and **Avoid edge**.
The Wander behavior was changed to drive in a straight line to obtain a simple fixed route.
The Avoid edge behavior is also used to avoid
In order to avoid objects whilst following
![Behavioral control](https://gitlab.au.dk/rene2014/lego/raw/master/Lesson10/Images/BehavioralControl.jpg) ![Behavioral control](https://gitlab.au.dk/rene2014/lego/raw/master/Lesson10/Images/BehavioralControl.jpg)
## Conclusion ## Conclusion
......
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