Skip to main content

Robotic simulator for Python

What's this

discoverySimulator is a Python package allowing to simulate environments in which mobile robots evolve. This simulator is accompanied by an interface allowing to visualize and control the simulation. This package is ideal for a playful learning of python and a discovery of mobile robotics.

Documentation

The documentation associated with this python package can be found here.

Installation

Use the package manager pip to install the package discoverySimulator:

$ pip install discoverySimulator

Usage example

Code

from discoverySimulator.simulation import Simulation, Environment
from discoverySimulator.robots import RectangularTwoWheelsRobot

# Create robot and assign wheel speed
myRobot = RectangularTwoWheelsRobot()
myRobot.setRightWheelSpeed(500)
myRobot.setLeftWheelSpeed(200)

# Create environment
environmentWidth = 1500
environmentHeight = 1500
myEnvironment = Environment(environmentWidth,environmentHeight)
myEnvironment.addObject(myRobot,200,200,90)

# Create and run simulation 
mySimulation = Simulation(myEnvironment)
mySimulation.run()
mySimulation.showInterface()

Code result

screenshot

Help and bug reports

General questions and comments can be sent to the following email address: discoverysimulator@gmail.com.

You can also report bugs at this same email address.

How to contribute

We are open to contributions, so send us your ideas or code amendments to the following email address: discoverysimulator@gmail.com, and we will do our best to accommodate you!

Credits

Copyright (c) 2022, Leo Planquette & Eloise Lefebvre.

License

discoverySimulator is released under the GPL v3 license and under a commercial license that allows for the development of proprietary applications.

Additional details about this license can be found here.

Release files for discoverySimulator 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for discoverySimulator 1.0.0
File Size Uploaded
discoverySimulator-1.0.0.tar.gz 115.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for discoverySimulator 1.0.0
File Interpreter ABI Platform
discoverySimulator-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 276.4 kB

Release files / discoverySimulator-1.0.0.tar.gz

Download URL discoverySimulator-1.0.0.tar.gz
Size 115.8 kB
Tags Source
SHA-256 checksum
How to use checksums
0041fac3277c74af924febc1a9497a72b2cce6fab3db50c677bcf1684175abe3
BLAKE2b-256 checksum
How to use checksums
3e4c6d8cfc80354ce7066891a94d1edee982544eb2522a4cc93bad5707a5a403
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.0

Release files / discoverySimulator-1.0.0-py3-none-any.whl

Download URL discoverySimulator-1.0.0-py3-none-any.whl
Size 160.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9e3f85ac8cd317165b0803b77eec6f0f79823879922c7773ffea5258360270bf
BLAKE2b-256 checksum
How to use checksums
ae69fbb2e78e4f171c718eb188dd36dd8ab925849d296268f6a5a18f64692cad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.0

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page