JSDoc can be found on the Robot Web Tools website.
This project is released as part of the Robot Web Tools effort.
ros3djs depends on:
Grunt is used for building, including concatenating, minimizing, documenting, linting, and testing.
Install Grunt and its Dependencies
- Install Node.js and its package manager, NPM
sudo apt-get install nodejs nodejs-legacy npmor any other way you like
- Install Grunt
sudo npm install -g grunt-cli
sudo rm -rf ~/.npm ~/tmp
- Install the Grunt tasks specific to this project
npm install .
Build with Grunt
Before proceeding, please confirm you have installed the dependencies above.
To run the build tasks:
grunt build will concatenate and minimize the files under src and replace ros3d.js and ros3d.min.js in the build directory. It will also run the linter and test cases. This is what Travis CI runs when a Pull Request is submitted.
grunt dev will watch for any changes to any of the src/ files and automatically concatenate and minimize the files. This is ideal for those developing as you should only have to run
grunt dev once.
grunt doc will rebuild all JSDoc for the project.
To run tests simply open
tests/index.html in a web browser
There are a variety of examples of the different things that can be done with ros3djs.
There are also some examples of how ros3djs can be used in different environments:
ros3djs is released with a BSD license. For full terms and conditions, see the LICENSE file.
See the AUTHORS.md file for a full list of contributors.