Skip to main content
XRobot / LibXR / XRUSB

XRobot / LibXR

A modular framework for robotics development, device interfaces, and engineering automation. XRobot covers package management, project layout, and code generation, while LibXR provides core semantics, driver abstractions, and XRUSB.

Guide

Onboarding Tasks

Pick the right starting path by platform, then get familiar with XR design ideas and the basic coding style step by step.

Recent Direction

Recent Development

This section shows directions that have recently started or are actively moving, so you can quickly see which capabilities are being expanded.

Platform

Platform drivers already cover MSPM0, HPM, ESP, CH32, and STM32

The current mainline already contains multiple platform-driver directories. Before diving in, identify which implementation line your repository and target chip actually use.

XRUSB

XRUSB already covers CDC, DAP, DFU, GSUSB, HID, and UAC

Device-side support is no longer a single protocol path. Before entering the XRUSB docs, confirm which device class you actually need.

Debug

The debug path is centered on SWD, with the implementation already split into clearer layers

In the current docs and code, the most relevant pieces are SWD, GPIO timing implementations, and the CMSIS-DAP device class. Do not assume there is already a complete JTAG workflow.

Focus Areas

First decide what kind of problem you are solving

Most problems fall into these three categories: understanding the mechanisms, connecting hardware, or getting the project running.

Semantics

When you are figuring out how the system works

Start from callbacks, events, messages, and middleware relationships, and understand the internal runtime first.

Platform

When you are wiring hardware and doing platform bring-up

Start from drivers, platform implementation, XRUSB, and debug links to understand how boards, peripherals, and interfaces are brought in.

Workflow

When you are trying to get the project running

Let the Agent identify the repository type first, then choose the workspace, platform-project, or driver entry path so the initialization flow starts from the right place.

Project

Project Background & Community

This section holds the project background, how to contribute, and community entry points, so you can understand the project itself before going deeper into the technical material.