Skip to content

mlazos/cs1480

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4d4c4cb · Jan 5, 2018

History

41 Commits
Jan 26, 2014
Jan 26, 2014
Apr 13, 2014
Apr 21, 2014
Apr 16, 2014
Apr 16, 2014
Apr 20, 2014
Mar 12, 2014
Mar 12, 2014
Apr 13, 2014
Apr 1, 2014
Apr 1, 2014
Mar 12, 2014
Jan 26, 2014
Apr 20, 2014
Feb 26, 2014
Jan 5, 2018
May 9, 2014
Apr 20, 2014
Mar 1, 2014

Repository files navigation

3jsbot

Implementation of robot kinematics, control, and decision making in HTML5/JavaScript and threejs

Getting Started

  1. Clone the repo to an easly accessible location on your machine.
  2. Open cs148/home.html
  3. Play around!

Controls

  • WASD - Forward, Rotate Left, Backward, Rotate Right
  • QE - Strafe Left, Strafe Right
  • M - Generate motion plan using Rapidly-Exploring Random Trees between Robot and Goal (X on the ground)
  • NB - Move forward and backward through the steps of the motion plan
  • P - Show goal box and move robot endeffector to match its position
  • RF - Move the goal box up and down

Changing Worlds

There are a few different worlds available that make the motion plan generation more complicated. The available worlds are in the cs148/worlds folder. The world is specified at line 158 of cs148/home.html:

line 158 <script src="worlds/world_basic.js"></script>

You can change this to point to any of the worlds in the cs148/worlds folder.

Prerequisites

This currently only works on the Firefox or Edge browsers. I haven't had the chance to test it on Safari, but on Chrome it does not render correctly.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published