1.1.2 • Published 5 years ago
urdf-animation v1.1.2
Robot Recorder NPM
A wrapper for gkjohnson/urdf-loaders to visualize ROS animations recorded with ipa-jfh/robot_recorder.
Examples
Installation
npm i urdf-animation
Usage
Run the examples locally
Download repo and go inside one example
git clone https://github.com/ipa-jfh/urdf-animation cd urdf-animation/docs/mobile_robot_turtlebot3
Now either
- Open the
index.html
(this uses the bundled js files) - Install npm packages and open
includes.html
npm install
- Install npm packages and run the webpack-dev-server
npm install sudo npm i webpack-dev-server@2.9.1 -g --save-dev sudo npm i webpack@3.9.0 -g npm start
- Open the
Create new page for your animation:
- Create a new npm package
mkdir my_animation && cd my_animation npm init
- In
package.json
add dependecy tourdf-animation
like in example - Install dependecies
npm install
- Copy the template folder`s contest inside your package. E.g.:
cp ./node_modules/urdf-animation/template/* .
- Add your URDF and recorded animation and reference it in the
config.js
file - Further configer the
config.js
file to e.g. adjust camera and lights
=> Now everthing is set-up and you can run the animation (See ### Run the examples locally)
1.1.2
5 years ago
1.1.0
5 years ago
1.0.9
5 years ago
1.0.8
5 years ago
1.0.7
5 years ago
1.0.5
5 years ago
1.0.4
6 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago
0.9.0
6 years ago
0.7.0
6 years ago
0.6.0
6 years ago
0.5.0
6 years ago
0.4.0
6 years ago
0.3.0
6 years ago
0.2.0
6 years ago
2.0.0
6 years ago