Skip to content

BricksRL/bricksrl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lego_robot

Enable web Bluetooth on chrome

  1. Go to "chrome://flags/"
  2. enable "Experimental Web Platform features"
  3. restart chrome
  4. Use beta.pybricks.com to edit and upload the hub program

Install packages

conda create --name lego python=3.8
conda activate lego
pip install pybricksdev --pre
pip3 install torch torchvision torchaudio
pip3 install tensordict
pip3 install torchrl
pip3 install hydra-core
pip install wandb

Client

Update your client script on the PyBricks Hub whenever you want to run a new environment

Helpers:

We created a PyBricks GPT which is an expert on the PyBricks documentation and can help you with coding and debugging client code for the PyBricks Hub.

Additional Info

Code examples from PyBricks. Might be interesting as expert policies for offline RL. GitHub Pybricks examples

TODO:

  • Milestone Cleanup []

    • cleanup base environment
      • addons? balance?
      • runaway-v0 as it currently is [X]
      • runaway-v1 with independent wheel control [X]
        • might play around with reward function to stand still when max dist reached
        • if reward done well could be maybe applied to a labyrinth ?
    • fix disconnect / reconnect error [X]
  • Milestone CatRobot

    • integrate CatRobot environment
    • create CatRobot Env [X]
    • create CatRobot offlline datasets []
    • other ideas but walking max distance? [ ]
  • Milestone Offline Datasets [ ]

    • collect dataset for wall-distance/run away [ ]
    • create datasets that can be loaded for torchrl offline datasets [ ]
    • do offline training for run-away robot []
      • create script for offline training and evaluation [ ]
  • Milestone RoboArm

    • integrate RoboArm environment [ ]
    • Possible task?
      • reach some point e.g. ReachingEnv
      • Grab cube
      • more ?
    • Create offline dataset

About

BricksRL: A Platform for Democratizing Robotics and Reinforcement Learning Research and Education with LEGO

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages