Skip to main content

机器人控制框架

Project description

# ub-clean-test

[中文版](#chinese) | [English](#english)

---

## <a id="chinese"></a>中文版

一个模块化的机器人控制框架。

### 功能
- **基础控制**:PID、LQR、自适应控制
- **运动学**:逆运动学(速度级、位置级)
- **轨迹规划**:五次多项式平滑运动
- **路径规划**:RRT 快速扩展随机树
- **状态估计**:卡尔曼滤波
- **强化学习**:PPO 近端策略优化
- **自适应控制可视化**:(0.11.0 新增) 动态展示参数调整过程
- **线性倒立摆 (LIPM)**:双足机器人步态规划基础 (0.12.0 新增)
- **零力矩点 (ZMP)**:双足机器人稳定性判断 (0.13.0 新增)

### 安装

pip install ub-clean-test


### 快速开始
```python
from ultra_balance import create_robot
robot = create_robot('two_wheel')
robot.start()

示例

  • demo_trajectory.py:轨迹规划演示
  • demo_rrt.py:RRT 路径规划演示
  • demo_ppo.py:PPO 强化学习演示
  • demo_kalman.py:卡尔曼滤波演示
  • demo_adaptive.py:自适应控制演示(0.11.0 新增)
  • demo_lipm.py:线性倒立摆演示 (0.12.0 新增)
  • demo_zmp.py:ZMP 稳定性演示 (0.13.0 新增)

English Version

A modular robot control framework.

Features

  • Control: PID, LQR, adaptive control
  • Kinematics: Forward/Inverse kinematics
  • Trajectory Planning: Quintic polynomial
  • Path Planning: RRT (Rapidly-exploring Random Tree)
  • State Estimation: Kalman filter
  • Reinforcement Learning: PPO (Proximal Policy Optimization)
  • Adaptive Control Visualization: (new in 0.11.0) Dynamic visualization of gain adaptation
  • Linear Inverted Pendulum Model (LIPM): Foundation for bipedal robot gait planning (new in 0.12.0)
  • Zero Moment Point (ZMP): Bipedal robot stability criterion (new in 0.13.0)

Installation

pip install ub-clean-test

Quick Start

from ultra_balance import create_robot
robot = create_robot('two_wheel')
robot.start()

Modules

· core/: Core algorithms (Kalman filter, PID, etc.) · planning/: Path planning (A*, RRT) · learning/: Reinforcement learning (PPO)

Examples

  • demo_trajectory.py: Trajectory planning demo
  • demo_rrt.py: RRT path planning demo
  • demo_ppo.py: PPO reinforcement learning demo
  • demo_kalman.py: Kalman filter demo
  • demo_adaptive.py: Adaptive control demo (new in 0.11.0)
  • demo_lipm.py: Linear Inverted Pendulum demo (new in 0.12.0)
  • demo_zmp.py: ZMP stability demo (new in 0.13.0)

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ub_clean_test-0.13.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file ub_clean_test-0.13.0-py3-none-any.whl.

File metadata

  • Download URL: ub_clean_test-0.13.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for ub_clean_test-0.13.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9118b83b6c1288257de5f8cca64ba298be5d93b08407f6845d24f7753a37ed7e
MD5 dd4401558371bd0555a4e5285fb63d1d
BLAKE2b-256 e94f59c90d279963402c67d8e3f0c42c18260f57514cc4ef74703eef2e0bdd3c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page