Skip to main content

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.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

discoverySimulator-1.0.0.tar.gz (115.8 kB view hashes)

Uploaded source

Built Distribution

discoverySimulator-1.0.0-py3-none-any.whl (160.6 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page