Skip to main content

funnel align

Block#

funnel align block image

Description#

Uses the bottom IR sensors so that Zumi can align to the funnel piece on the competition field for the duration of the timeout (Click here for a PDF version of the funnel piece).

Parameters#

speed: Positive integer value for speed between 0 and 80
duration: Float timeout value in seconds
angle_adj: Integer number of degrees Zumi will turn if one IR sensor detects white.

Returns#

None

Example#

funnel align example