explaingit

robomotic/sesamerl

Analysis updated 2026-05-18

0PythonAudience · researcherComplexity · 5/5Setup · hard

TLDR

A Python reinforcement learning setup that trains a small four-legged robot to walk in simulation, then runs the learned policy on real hardware.

Mindmap

mindmap
  root((sesameRL))
    What it does
      Trains walking policy
      Uses reinforcement learning
      Sim to real transfer
    Tech stack
      Python
      PPO algorithm
      mjlab simulator
    Use cases
      Train locomotion policy
      Tune training config
      Deploy to real robot
    Audience
      Robotics researchers
      RL engineers
    Requirements
      Sesame robot hardware
      ESP32S3 microcontroller
      IMU and servos

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Train a walking policy for a 4-legged, 8-servo robot in simulation using PPO.

USE CASE 2

Tune observations, rewards, and training stages from a single config file.

USE CASE 3

Deploy the trained actor network to real hardware running on an ESP32S3 microcontroller.

What is it built with?

PythonPPOmjlab

How does it compare?

robomotic/sesamerl0xhassaan/nn-from-scratch3ks/embedoc
Stars00
LanguagePythonPythonPython
Last pushed2023-06-08
MaintenanceDormant
Setup difficultyhardmoderatehard
Complexity5/54/51/5
Audienceresearcherdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1day+

Requires simulation setup with mjlab plus matching physical hardware (MPU6050, MG90S servos, ESP32S3) to deploy.

In plain English

sesameRL is a Python-based reinforcement learning training environment for the Sesame robot, a four-legged robot with eight joints (described as 4-legged, 8-DOF, degrees of freedom). Reinforcement learning is a training technique where an AI agent learns to perform a task by receiving rewards for good behavior and penalties for bad behavior, gradually improving through repeated trial and error in a simulated environment. This project provides the simulation setup, training code, and configuration needed to teach the Sesame robot how to walk. The simulation is built on a tool called mjlab, and the learning algorithm used is PPO (Proximal Policy Optimization), a widely used approach for training locomotion policies. Every key setting, observations, rewards, curriculum stages, and training parameters, is concentrated in a single config.py file to make tuning easier. The trained policy is a small neural network with two hidden layers. During training it takes 36 inputs, including the robot's velocity estimates, orientation from an IMU sensor (inertial measurement unit, which tracks movement and tilt), joint positions and velocities, and a movement command. It outputs eight joint position targets, one per servo. After training, only the actor network is needed on the physical robot, the critic half is discarded. The repository also documents the sim-to-real gap: the physical robot uses an MPU6050 sensor for orientation and gyroscope data, MG90S servos for joints, and an ESP32S3 microcontroller to run the policy. Known limitations include servo timing latency and the fact that linear velocity must be estimated rather than measured directly on the hardware.

Copy-paste prompts

Prompt 1
Explain how sesameRL trains the Sesame robot to walk using PPO
Prompt 2
Walk me through the config.py file and what each training parameter does
Prompt 3
What is the sim-to-real gap documented in this project?
Prompt 4
Help me set up the mjlab simulation environment for this robot

Frequently asked questions

What is sesamerl?

A Python reinforcement learning setup that trains a small four-legged robot to walk in simulation, then runs the learned policy on real hardware.

What language is sesamerl written in?

Mainly Python. The stack also includes Python, PPO, mjlab.

How hard is sesamerl to set up?

Setup difficulty is rated hard, with roughly 1day+ to a first successful run.

Who is sesamerl for?

Mainly researcher.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.