Embedded Motion Control 2013 Group 7/Recap3: Difference between revisions

From Control Systems Technology Group
Jump to navigation Jump to search
(Created page with 'Code strategy for corridor competition: 1. Go straight. 1.1 Feedback(comparing distance from the walls). 2. Detect exit (i.e. comparing distance, 1side <1, other side >2). 2…')
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:




1. Go straight.
# Go straight.
1.1 Feedback(comparing distance from the walls).
## Feedback(comparing distance from the walls).
# Detect exit (i.e. comparing distance, 1side <1, other side >2).
## stop Feedback till point 5.
# Be in the center of the exit (compare laser data from each side like 45° and -45°, the distance has to be approximately equal.
# Turn 90° in the side of the exit.
## New Feedback ( loop algorithm n.3).
# Start Algorithm n.1.
# Stop after 2m.


2. Detect exit (i.e. comparing distance, 1side <1, other side >2).
How?
2.1 stop Feedback till point 5.
*[http://www.psurobotics.org/wiki/index.php?title=Wall_Following#Placement Wall following algorithm]
 
3. Be in the center of the exit (compare laser data from each side like 45° and 135°, the distance has to be approximately equal.
 
4. Turn 90° in the side of the exit.
4.1. New Feedback ( loop algorithm n.3).
 
5. Start Algorithm n.1.
 
6. Stop after 2m.

Latest revision as of 18:44, 16 September 2013

Code strategy for corridor competition:


  1. Go straight.
    1. Feedback(comparing distance from the walls).
  2. Detect exit (i.e. comparing distance, 1side <1, other side >2).
    1. stop Feedback till point 5.
  3. Be in the center of the exit (compare laser data from each side like 45° and -45°, the distance has to be approximately equal.
  4. Turn 90° in the side of the exit.
    1. New Feedback ( loop algorithm n.3).
  5. Start Algorithm n.1.
  6. Stop after 2m.

How?