Difference between revisions of "Self Driving RC Car/Challenge"

From BITPlan Wiki
Jump to navigation Jump to search
(Created page with "{{PageSequence|prev=Self Driving RC Car|next=Self Driving RC Car/Systemcontext|category=Self Driving RC Car|categoryIcon=car}}")
 
Line 1: Line 1:
 
{{PageSequence|prev=Self Driving RC Car|next=Self Driving RC Car/Systemcontext|category=Self Driving RC Car|categoryIcon=car}}
 
{{PageSequence|prev=Self Driving RC Car|next=Self Driving RC Car/Systemcontext|category=Self Driving RC Car|categoryIcon=car}}
 +
<uml>
 +
start
 +
repeat
 +
  :detect startlight;
 +
repeat while (light is not green)
 +
repeat
 +
  :detect lane;
 +
 +
split
 +
:left}
 +
: steer right;
 +
split again
 +
:on course}
 +
: steer straight;
 +
split again
 +
:right}
 +
: steer left;
 +
end split
 +
  :detect stopzone;
 +
repeat while (no stopzone)
 +
stop
 +
</uml>

Revision as of 14:49, 15 March 2021