Code Monkey home page Code Monkey logo

salabim-robo-plant-2d's Introduction

salabim-robo-plant-2d

This project provides a framework for Plant Simulation with Python based on the amazing Salabim package. Note that Salabim provides easy to use Discrete Event Simulation as well as 2D / 3D Visualization capabilities for Python programmers. Consequently, you can build industrial grade simulation environments base on this software stack. Feel free to contact us for more information about our framework and its application to real-world scenarios!

๐Ÿ–ผ๏ธ Screenshots

Here are some screenshots showing the simulation package in action.

Model A

The first model features six robots (three mounted on the floor and three mountend on the ceiling) as well as three conveyors and four machines.

Model A

Model B

The second model features three robots (all mounted on the floor) as well as three conveyors and no machines.

Model B

๐Ÿ‘จโ€๐Ÿ’ป Examples

Here is an example of how to use our plant simulation package. Note that this is just a code sketch, which will not run due to syntax error. Please

import salabim
import salabim_plant

# Create simulation environment
env = salabim.Environment()

# Enable 2D animation
env.animate(True)
env.width(1000)
env.height(600)
env.position((100, 100))

# Create robot
robot = salabim_plant.Robot(
    base_position = salabim_plant.Vector(400, 300),
    base_angle = 0
)
s
# Create product grabbed by robot
product = salabim_plant.Product(
    position_controller = robot,
    color = "blue"
)

# Run infinite simulation
env.run(salabim.inf)

๐Ÿ“ˆ Diagrams

Here are some diagrams explaing the software architecture of the simulation package.

Classes

The following diagram shows the classes of the simulation package, which are based on the classes of the salabim package.

Classes

salabim-robo-plant-2d's People

Contributors

ghackenberg avatar

Stargazers

Lee Talman avatar  avatar

Watchers

 avatar

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.