nav2djs Build Setup
===================
[Grunt](http://gruntjs.com/) is used for building, including concatenating, minimizing, documenting, linting, and testing.
### Install Grunt and its Dependencies
#### Ubuntu 14.04
1. Install Node.js and its package manager, NPM
* `sudo apt-get install nodejs npm`
* `sudo ln -s /usr/bin/nodejs /usr/bin/node`
2. Install Grunt
* `sudo npm install -g grunt-cli`
* `sudo rm -rf ~/.npm ~/tmp`
3. Install the Grunt tasks specific to this project
* `cd /path/to/nav2djs/utils/`
* `npm install .`
4. (Optional) To generate the documentation, you'll need to setup Java. Documentation generation is not required for patches.
* `echo "export JAVA_HOME=/usr/lib/jvm/default-java/jre" >> ~/.bashrc`
* `source ~/.bashrc`
#### Ubuntu 12.04
1. Install Node.js and its package manager, NPM
* `sudo apt-get install python-software-properties`
* `sudo add-apt-repository ppa:chris-lea/node.js`
* `sudo apt-get update && sudo apt-get install nodejs phantomjs`
2. Install Grunt
* `sudo npm install -g grunt-cli`
* `sudo rm -rf ~/.npm ~/tmp`
3. Install the Grunt tasks specific to this project
* `cd /path/to/nav2djs/utils/`
* `npm install .`
4. (Optional) To generate the documentation, you'll need to setup Java. Documentation generation is not required for patches.
* `echo "export JAVA_HOME=/usr/lib/jvm/default-java/jre" >> ~/.bashrc`
* `source ~/.bashrc`
#### OS X
1. Install Node.js and its package manager, NPM
* Go to [Node.js Downloads](http://nodejs.org/download/)
* Download and install the Universal pkg file.
2. Install Grunt and the test runner [Karma](http://karma-runner.github.io/)
* `sudo npm install -g grunt-cli karma`
3. Install the Grunt tasks specific to this project
* `cd /path/to/nav2djs/utils/`
* `npm install .`
### Build with Grunt
Before proceeding, please confirm you have installed the dependencies above.
To run the build tasks:
1. `cd /path/to/nav2djs/utils/`
2. `grunt build`
`grunt build` will concatenate and minimize the files under src and replace nav2d.js and nav2d.min.js in the build directory. It will also run the linter and test cases. This is what [Travis CI](https://travis-ci.org/RobotWebTools/nav2djs) 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.
没有合适的资源?快使用搜索试试~ 我知道了~
利用Rosweb实现ros与网页交互(1)
共167个文件
launch:29个
map:22个
css:16个
0 下载量 146 浏览量
2024-05-13
18:52:22
上传
评论
收藏 2.48MB ZIP 举报
温馨提示
利用Rosweb,实现在网页上显示slam建图信息和交互。本项目利用的是古月居里面的rviz仿真机器人。
资源推荐
资源详情
资源评论
收起资源包目录
利用Rosweb实现ros与网页交互(1) (167个子文件)
mbot.cpp 6KB
mbot_bringup.cpp 811B
bootstrap.css 201KB
bootstrap.rtl.css 200KB
bootstrap.rtl.min.css 160KB
bootstrap.min.css 160KB
bootstrap-grid.rtl.css 71KB
bootstrap-grid.css 71KB
bootstrap-utilities.css 70KB
bootstrap-utilities.rtl.css 70KB
bootstrap-utilities.min.css 52KB
bootstrap-utilities.rtl.min.css 52KB
bootstrap-grid.rtl.min.css 52KB
bootstrap-grid.min.css 52KB
bootstrap-reboot.css 7KB
bootstrap-reboot.rtl.css 7KB
bootstrap-reboot.rtl.min.css 6KB
bootstrap-reboot.min.css 6KB
kinect.dae 563KB
mbot.h 812B
index.html 3KB
example.html 2KB
occupancygrid.html 2KB
occupancygridimage.html 2KB
joy.html 1KB
image.html 1KB
lib_web.iml 303B
kinect.jpg 44KB
ros3d.js 1.29MB
phaser.2.3.1.virtual-joystick.min.js 948KB
bootstrap.bundle.js 205KB
bootstrap.js 145KB
bootstrap.esm.js 136KB
bootstrap.bundle.min.js 76KB
bootstrap.esm.min.js 71KB
bootstrap.min.js 58KB
joy.js 10KB
Navigator.js 9KB
main.js 3KB
OccupancyGridClientNav.js 2KB
ImageMapClientNav.js 2KB
Gruntfile.js 2KB
Nav2D.js 1KB
package.json 320B
settings.json 318B
mbot_kinect_nav_gazebo.launch 2KB
amcl.launch 2KB
hector.launch 2KB
gmapping.launch 2KB
view_mbot_with_kinect_gazebo.launch 2KB
view_mbot_with_camera_gazebo.launch 2KB
view_mbot_with_laser_gazebo.launch 2KB
mbot_laser_nav_gazebo.launch 2KB
view_mbot_gazebo_play_ground.launch 2KB
view_mbot_gazebo_room.launch 2KB
view_mbot_gazebo_empty_world.launch 1KB
cartographer_demo_rplidar.launch 1KB
mbot_with_laser.launch 1KB
arbotix_mbot_with_camera_xacro.launch 1KB
nav_cloister_demo.launch 829B
display_mbot_with_camera_xacro.launch 824B
display_mbot_base_xacro.launch 812B
move_base.launch 696B
display_mbot_with_kinect_urdf.launch 695B
display_mbot_with_camera_urdf.launch 695B
display_mbot_with_laser_urdf.launch 694B
display_mbot_base_urdf.launch 688B
logitech.launch 655B
rplidar.launch 464B
usb_cam_remap.launch 458B
exploring_slam_demo.launch 317B
mbot_teleop.launch 232B
gmapping_demo.launch 215B
hector_demo.launch 212B
LICENSE 2KB
rplidar.lua 2KB
bootstrap.rtl.min.css.map 648KB
bootstrap.css.map 525KB
bootstrap.rtl.css.map 525KB
bootstrap.min.css.map 441KB
bootstrap.bundle.js.map 418KB
bootstrap.bundle.min.js.map 323KB
bootstrap.js.map 284KB
bootstrap.esm.js.map 283KB
bootstrap.esm.min.js.map 218KB
bootstrap.min.js.map 215KB
bootstrap-grid.rtl.css.map 197KB
bootstrap-grid.css.map 197KB
bootstrap-utilities.css.map 188KB
bootstrap-utilities.rtl.css.map 188KB
bootstrap-grid.rtl.min.css.map 120KB
bootstrap-grid.min.css.map 119KB
bootstrap-utilities.min.css.map 109KB
bootstrap-utilities.rtl.min.css.map 109KB
bootstrap-reboot.rtl.css.map 107KB
bootstrap-reboot.css.map 107KB
bootstrap-reboot.rtl.min.css.map 47KB
bootstrap-reboot.min.css.map 39KB
README.md 2KB
README.md 2KB
共 167 条
- 1
- 2
资源评论
奋斗的好青年
- 粉丝: 249
- 资源: 7
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功