

Moabsim-py - Simulator for balancing a ball on a plate, based on hardware. It can serve as a starting point for making a simulation platform work with Bonsai. Other Bonsai repositoriesīonsai-common - A Python framework for interfacing with the bonsai platform.īonsai-sim-connector-template - A template for creating Bonsai Connectors. TypescriptĪdder - Simple simulator that adds numbers and computes a reward based on the result. Balancing an inverted pendulum on a moving cart. JavaĬartpole - Classic CartPole simulator in Java. C#Ĭartpole - Classic CartPole simulator in C#. You can think of it as Project Bonsai's "Hello World". Simple-adder - A minimal working example of a Python simulator that can be connected to Bonsai and used to train a brain.

Swing Up and Balancing an inverted pendulum with a rotary base. Quanser-qube - Simulation of the real hardware, academic learning tool: Quanser Qube. Plastic-extrusion - Control a plastic extruder to optimize production of PVC rods with a specified length and tolerance. Microgrid - Control a local energy grid to meet the load by charging or discharging the battery, importing or exporting energy from the traditional grid, and consuming generated PV power.

House-energy - Control the temperature inside of a house according to the desired set temperatures just like a thermostat. This sample uses arrays in Inkling for states and demonstrates usage of using an element of the array in the reward. Gym-highway - Make decisions to speed up, slow down, change lanes, etc with a multi-lane highway. PythonĬartpole - Classic CartPole simulator in Python. Samples that show how to use microsoft-bonsai-api and connect with the Bonsai platform. For example Python samples can be found in Python/samples. If the sample you wish to code is small and self contained it can be added to the samples directory for the language it is written. Submit a PR adding a brief description of the code you wish to be included and add an appropriate hyperlink to the sample code section. Please read the Microsoft contributing guidelines. This repository is subject to the Microsoft Open Source Code of Conduct. This folder contains support libraries for connecting to the Bonsai Azure Service.
