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
Cosmetic change authored Jun 01, 2015 by René Nilsson's avatar René Nilsson
Show whitespace changes
Inline Side-by-side
Lesson10.markdown
View page @ ccc65c56
......@@ -134,8 +134,10 @@ In the snippet below the corrected implementation is shown. Instead of using the
```java
pose.setLocation(new Point(
(float) (pose.getX() + xm + (distanceNoiseFactor * move.getDistanceTraveled() * rand.nextGaussian())),
(float) (pose.getY() + ym + (distanceNoiseFactor * move.getDistanceTraveled() * rand.nextGaussian()))));
(float) (pose.getX() + xm + (distanceNoiseFactor * move.getDistanceTraveled()
* rand.nextGaussian())),
(float) (pose.getY() + ym + (distanceNoiseFactor * move.getDistanceTraveled()
* rand.nextGaussian()))));
```
The particle filter was tested by making the car follow the track as shown in the picture below. By using the poster with distances it is possible to see how accurate the car is.
......
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