robolearnr.github.io

Follow me on GitHub

Welcome to RoboLearnr

RoboLearnr is a simple to use tool to enable beginners to start programming.

It is an all-in-one tool written in Go to render maps and allow a car to move using some basic instructions through an api. To simplify getting started some sdk’s are provided in different languages.

Installation

Download the latest release.

Example

Start the server and open http://127.0.0.1:9000

./robolearnr[.exe] https://raw.githubusercontent.com/RoboLearnr/robolearnr/master/maps/robolearn.txt

Write your program.

import robolearnr
import time

rl = robolearnr.Robolearn()
rl.reset()

while not rl.on_goal():
    while not rl.before_obstacle():
        rl.forward()
        time.sleep(0.05)
    rl.rotate()

Run your program.

pip install robolearnr-python
python program.py