Coder Social home page Coder Social logo

lucasbrodo / go1-rl-deploy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from textzip/go1-rl-kit

0.0 0.0 1.0 62.55 MB

RL Deployment kit for Unitree Go1 Edu

License: BSD 2-Clause "Simplified" License

C++ 36.50% Python 60.31% C 1.76% CMake 1.42%

go1-rl-deploy's Introduction

go1-rl-kit

Deployment kit for Unitree Go1 Edu

This repo can be deployed in the following configurations:

  1. External PC/NUC with LAN (Prefered) (Tested)
  2. External PC/NUC with WiFi
  3. Internal Computer of the Go1

Dependencies

  • python3.8
  • torch
  • matplotlib
  • numpy<1.24
  • scipy
  • other dependencies for unitree_legged_sdk

Installation

On the target machine run the following commands

  1. git clone https://github.com/TextZip/go1-rl-kit
  2. cd go1-rl-kit
  3. Build the unitree_legged_sdk using instructions from https://github.com/unitreerobotics/unitree_legged_sdk/tree/v3.8.0
  4. Make sure to run one of the python examples from the unitree_legged_sdk/example_py/ to make sure the build is working.
  5. Manually assign the following network config
    • IP Address: 192.168.123.162
    • Subnet Mask: 255.255.255.0
    • Default Gateway: 192.168.123.1
  6. ping 192.168.123.10 to make sure you are able to reach the motor controller

Deployment

  1. Turn on the robot and the unitree joystick and wait for it to automatically stand up.
  2. Enter low level mode using the following commands:
    • L2 + A
    • L2 + A
    • L2 + B
    • L1 + L2 + Start
  3. Connect the LAN cable to the robot and make sure you can ping the motor controller ping 192.168.123.10
  4. Suspend the robot in the air
  5. Run python deploy.py while the robot is suspended in the air
  6. While suspended, please wait for the robot to reach a standing pose (2-3 Seconds) and then slowly put the robot back on the ground
  7. Do not operate the joystick or the robot until the counter on the screen reaches 2300, after the counter reaches 2300 you can move the robot around.
  8. Left joystick can be used for giving linear velocity commands, the right joystick can be used to give yaw commands.

go1-rl-deploy's People

Contributors

textzip avatar

Forkers

fgolemo

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.