Skip to content

johnchoi313/SampleCode

 
 

Repository files navigation

Sample Code

To run these examples, you'll first need to use the green Clone or download button on the SampleCode to copy the files onto your desktop. This will also ensure that you have the Tools directory in the same folder as the code samples, which is needed for them to run. Then, just open up the .html file for any code sample. It should open into a browser window.

For many samples, you can simply enter your robot's IP address and start execution. Other samples require you to manually input your robot's IP address in the .html file. For a better view into the commands being sent to your robot, open the JavaScript console for the browser window.

Contents

  • Find Face - Do Something - Have Misty play an audio clip when a face is detected.
  • Move - Find Face - Do Something - Have Misty move, then stop and play an audio clip when a face is detected.
  • Roar - Misty roars like a lion when a person gets too close.
  • Wander - Misty roams about the environment without colliding with obstacles.
  • Explore - Misty intelligently determines where to explore and expand her map.
  • Face Detection - Misty detects faces in the environment.
  • Face Recognition - Misty recognizes faces that she has been trained to identify.
  • Face Training - An interface for training a face object that Misty can later recognize.

About

Sample code for the Misty platform.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 49.1%
  • HTML 31.4%
  • Python 12.3%
  • CSS 7.1%
  • C++ 0.1%