Coder Social home page Coder Social logo

cyberbotics / webots-cloud-simulation-examples Goto Github PK

View Code? Open in Web Editor NEW
4.0 6.0 1.0 2.48 MB

Repository hosting simulations samples for webots.cloud

License: Apache License 2.0

Makefile 17.02% C 53.38% Dockerfile 1.83% Python 23.22% CSS 0.74% HTML 2.03% JavaScript 1.78%

webots-cloud-simulation-examples's Introduction

webots.cloud Simulation Examples

Introduction

This repository provide a series of simple Webots simulations which can be run on the web in webots.cloud. Different examples are provided to cover a large number of use cases. They can be used as templates for developing your own web-based robot simulations.

Disclaimer

Some of the simulations in this repository would have been more adapted to animation or even scene than simulations. They are provided here to demonstrate various use cases in a simple way.

As animations and scenes are faster to load, we advise you to prefer them to web simulation whenever possible.

A simulation cannot be replaced by an animation in the following cases:

  • You have an interesting/interactive robot window.
  • You want the user to be able to see/modify the controller.
  • The behavior of a robot is not always the same.
  • You spawn objects during the simulation. It is not recommended. You should prefer to have all objects in the world at the loading, very far away, and move them closer when you want to "spawn" them.

List of simulations

Repository hosting simulations samples for webots.cloud:

  • 1_simple_simulation: a simple simulation that has no Dockerfile and thus will use the default one.
  • 2_compile_controller: a simulation with a Dockerfile that will compile a specific controller.
  • 3_robot_window: a simulation with a custom robot window.
  • 4_custom_dockerfile: a simulation with a Dockerfile to install an additional library.
  • 5_IDE: a simulation that will expose an IDE to modify the controller online.
  • 6_binary: a simulation that uses a dirty trick to reduce the loading time.
  • 7_local_assets: a simulation that uses a local proto and a local texture.

More information is available here.

A template repository is available here

webots-cloud-simulation-examples's People

Contributors

omichel avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

webots-cloud-simulation-examples's Issues

none to <none>

In the /1_simple_simulation/worlds/panda.wbt world, the LincolnMKZSimple has a window field of none when it should be <none>. The PROTO has a default value of <none> so I suggest removing the line.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.