2.0.14 • Published 11 months ago

gzweb v2.0.14

Weekly downloads
-
License
-
Repository
github
Last release
11 months ago

Gzweb

Gzweb is a library that allows web clients to render models and worlds, as well as visualize and communicate with a running Gazebo simulation using the Websocket launcher plugin.

Usage

Gzweb is available on NPM. Web clients can install it using:

npm install gzweb

Then, you can see The AssetViewer class if you want to render static models or worlds, or the SceneManager class if you want to render a running Gazebo simulation.

Development

Setup

You need the following:

  • Node version 18.
  • NPM version 8.

You can use NVM to switch between versions easily. With it, you can then do:

nvm install 18
nvm use 18
node -v && npm -v # Your versions will be correct.

After this, install dependencies with:

npm install

Test

Run the tests using

npm run test

Build

Once you have your dependencies installed, you can run:

npm run build

Local development

If you are working on changes on gzweb and want to try them in an application, then you can setup a link using these steps.

  1. In the root of the gzweb sources run

    npm link
  2. This should create a symlink to the gzweb folder in the global node path, which can be found using npm root -g.

  3. Connect the downstream application to the gzweb symlink using

    npm link gzweb
  4. In the downstream application's node_modules directory you should see a corresponding symlink to gzweb.

  5. All you have to do now is run npm run build.

2.0.13

12 months ago

2.0.14

11 months ago

2.0.12-beta.34

2 years ago

2.0.12-beta.33

2 years ago

2.0.12-beta.32

2 years ago

2.0.12-beta.31

2 years ago

2.0.12-beta.30

2 years ago

2.0.12-beta.29

2 years ago

2.0.12-beta.28

2 years ago

2.0.12-beta.27

2 years ago

2.0.12-beta.26

2 years ago

2.0.12-beta.25

2 years ago

2.0.12-beta.24

2 years ago

2.0.12-beta.23

2 years ago

2.0.12-beta.22

2 years ago

2.0.12-beta.21

2 years ago

2.0.12-beta.20

2 years ago

2.0.12-beta.19

2 years ago

2.0.12-beta.18

2 years ago

2.0.12-beta.17

2 years ago

2.0.12-beta.16

2 years ago

2.0.12-beta.15

2 years ago

2.0.12-beta.14

2 years ago

2.0.12-beta.13

2 years ago

2.0.12-beta.12

2 years ago

2.0.12-beta.11

2 years ago

2.0.12-beta.10

2 years ago

2.0.12-beta.9

2 years ago

2.0.12-beta.8

2 years ago

2.0.12-beta.7

2 years ago

2.0.12-beta.6

2 years ago

2.0.12-beta.4

2 years ago

2.0.12-beta.3

2 years ago

2.0.12-beta.2

2 years ago

2.0.12-beta.1

2 years ago

2.0.11-beta.1

2 years ago

2.0.11

2 years ago

2.0.10

2 years ago

2.0.9

2 years ago

2.0.8

2 years ago

2.0.7

2 years ago

2.0.6

2 years ago

2.0.5

2 years ago

2.0.4

2 years ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago