$ show Roboparty/roboto_origin
This repository is the complete open-source hardware and software stack for the Roboto Origin bipedal robot, formerly known as Atom01. It is a hybrid monorepo covering mechanical design (CAD files, 3D printing, BOMs), electronics (PCB designs, firmware for a USB2CAN board), low-level ROS2 control (motor drivers, IMU, camera, inference), simulation and reinforcement learning training (roboparty_train with Isaac Sim/MuJoCo and PPO/AMP algorithms), navigation (LiDAR localization, UWB, path planning), and XR teleoperation. The repository is organized into multiple modules, each with its own build system (CMake, Zephyr, Python). The dominant character is an application (a robot system), but it includes a substantial data_research component in the training module where RL policies are trained using motion capture data. The codebase is well-structured, actively maintained, and provides a complete recipe for building and deploying a humanoid robot from scratch.
The LLM identified 6 files worth highlighting for reuse:
A reusable thread pool header-only C++ utility. It provides a simple thread pool pattern that can be extracted and used in any C++ project for parallel task execution. It is self-contained, has no internal dependencies, and demonstrates non-obvious skill in managing worker threads and task queues.
An incremental kd-tree implementation for efficient nearest neighbor search in dynamic point clouds. This is a well-known algorithm in robotics (FAST-LIO family) and can be reused in any LiDAR or 3D perception project. The implementation is clean, header-only, and has minimal dependencies.
A clean, modular implementation of Proximal Policy Optimization (PPO) for continuous control. It is part of the rsl_rl library, which is a fork of the original rsl_rl. The code is well-structured, supports GPU acceleration, and can be extracted and used in other RL projects with minimal changes. It demonstrates solid engineering with clear separation of concerns (algorithm, runner, storage).
A self-contained Zephyr-based firmware for the Roboto USB2CAN adapter. It provides a USB-to-CAN/CANFD bridge. The code is compact, well-structured, and can be reused as a reference for similar embedded projects. It uses Zephyr's USB device stack and CAN driver, and is designed to be flashed onto a specific board.
A C++ wrapper around Linux SocketCAN with CAN FD support. It encapsulates the socket creation, read/write, and error handling. This is a reusable low-level communication component that can be used in any ROS2 or non-ROS2 project requiring CAN FD communication. It has no ROS dependencies and is well-isolated.
An asynchronous circular buffer for Python, useful for streaming data in simulation or real-time systems. It provides thread-safe, non-blocking push/pop operations. The implementation is generic and can be reused in any Python project that needs a bounded, asynchronous FIFO queue.