https://github.com/robotpy/robotpy-websim
OBSOLETE: Experimental robot simulation html interface
https://github.com/robotpy/robotpy-websim
Last synced: 9 months ago
JSON representation
OBSOLETE: Experimental robot simulation html interface
- Host: GitHub
- URL: https://github.com/robotpy/robotpy-websim
- Owner: robotpy
- Archived: true
- Created: 2014-11-16T17:36:55.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2020-09-12T16:20:30.000Z (almost 6 years ago)
- Last Synced: 2024-09-22T21:02:09.108Z (almost 2 years ago)
- Language: JavaScript
- Homepage:
- Size: 6.29 MB
- Stars: 6
- Watchers: 6
- Forks: 1
- Open Issues: 14
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
**OBSOLETE**: This repo is no longer being updated or maintained. https://github.com/frc-web-components
is developing similar things that will work with all FRC languages
robotpy-websim
==============
This is an web interface for controlling low fidelity FRC robot simulations.
As the control/simulation interface is created using HTML/javascript, one of
the goals of this project is to make it very simple to create your own
custom animations and extensions to help simulate your robot more effectively.
Currently, the only backend for the interface interacts with python based
FRC robots using the RobotPy library, and is a replacement for the simulator
that comes with pyfrc.
However, the HTML/Javascript portion of the code is not designed to be
specific to python, but can be reused with C++ or Java backends using a
similar simulated HAL library for those languages. Those have not been
implemented yet, but that would be awesome if someone did it.
.. note:: The simulator and its extension APIs are still very experimental
and are expected to vary until the start of the 2016 FRC season.
Documentation
=============
For usage, detailed installation information, and other notes, please see
our documentation at http://robotpy-websim.readthedocs.org
Quick Install + Demo
====================
If you have python3 and pip installed, then do::
pip3 install --pre robotpy-websim
Once this is done, you can run a quick demo by running::
cd examples/simple
python3 robot.py websim
Your default browser (or Chrome) should be launched and show the control
interface. If it does not show automatically, you can browse to
http://localhost:8000/
Authors
=======
* Dustin Spicuzza came up with the original concept
* Amory Galili has done much of the actual work and webdesign