Image for post
Image for post
A revised version of the robot: an iRobot Create equipped with a Dancer board (a custom-designed PCB with a microcontroller plus IR emitters and receivers)

Teaching a Robot How to Dance

David Ng
David Ng
Dec 7, 2016 · 13 min read

An authentic experience

Ground, scale, leverage

Behavior-based programming and dancing

Testing our hypothesis

Constructing a mental model of the robot

To run the simulation on its own page, open it in CodePen and then change the view to full page
To run the simulation on its own page, open it in CodePen and then change the view to full page
if (IR_left > IR_right + 2) then leftWheel = -200, rightWheel = 200
To run the simulation on its own page, open it in CodePen and then change the view to full page
To run the simulation on its own page, open it in CodePen and then change the view to full page

Analyzing our test results

Figuring out IR signal strength can be used as an indirect measure of distance (2:40)
Figuring out how to use priority order when the beacon is behind the robot (3:24)
Using real-time instrumentation to diagnose emergent behaviors (4:22)
Success and celebration! (1:57)

Real-time instrumentation

Navigating abstraction layers: drilling down

Navigating abstraction layers: building up

Vertical learning

Vertical Learning

Developing active, sense-making, strategic mindsets to…

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store