Token导航 LogoToken导航TokenDH.com
开发只读clawhub未标认证来源可访问clear审计通过

zsquadbotzsquadbot 开发

Agent Skill

zsquadbot 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

8,054

周安装

329

GitHub Stars

1

下载量

2,606
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:zsquadbot(zsquadbot 开发)
来源仓库:https://github.com/wsteve/zsquadbot
安装命令:
openclaw skills install zsquadbot
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install zsquadbot

简介

四足机器人开发与控制系统,集成电机命令与传感器融合算法。

  • 适用于 Unitree 等平台上的步态生成与故障诊断。
  • 提供诊断日志分析与通信协议调试支持。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。
  • 需配合硬件设备使用,软件部分依赖特定 SDK 环境部署。
  • zsquadbot 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
quadruped
description
Comprehensive quadruped robot development skill covering motor control, sensor data processing, locomotion patterns, and debugging workflows. Use when working with legged robots (e.g., Unitree Go1, ANYmal, custom four-legged designs) for tasks like: motor control commands, IMU/encoder data handling, motion planning, walking/running gaits, sensor fusion, system diagnostics, or protocol communication (CAN bus, UART, EtherCAT).

Quadruped Robot Development

Overview

This skill provides tools and guidance for developing quadruped robots, including motor control, sensor data processing, locomotion patterns, and debugging workflows. Target platforms include Unitree Go1, ANYmal, and custom four-legged robots.

机器人名称: 太玄照业 - The virtual quadruped robot you're controlling

Core Capabilities

1. Motor Control

Control individual motors or coordinated multi-motor commands for gait generation.

Typical operations:

  • Set motor position/velocity/force
  • Read motor telemetry (temperature, voltage, errors)
  • Configure motor parameters (PID gains, limits)
  • Emergency stop and safety protocols

2. Sensor Data Processing

Handle sensor inputs from IMUs, joint encoders, and environmental sensors.

Typical operations:

  • Read IMU data (acceleration, gyro, orientation)
  • Process encoder data for joint position/velocity
  • Temperature and voltage monitoring
  • Sensor fusion for state estimation

3. Locomotion Patterns

Implement and tune walking, running, and other gaits.

Typical operations:

  • Stance phase planning
  • Swing phase kinematics
  • High-speed running stabilization
  • Gait transition logic

4. Debugging & Diagnostics

Monitor system health and debug communication issues.

Typical operations:

  • Real-time motor telemetry display
  • IMU data visualization
  • Communication protocol debugging
  • System status reports

Quick Start

Basic Motor Control

# Example: Initialize and control a motor
from quadruped import Motor, Quadruped

# Initialize robot (adjust port/ID based on your setup)
robot = Quadruped(port='/dev/ttyUSB0', baudrate=1000000)

# Enable motors
for motor_id in range(1, 13):
    robot.motor[motor_id].enable()

# Set target position (degrees)
robot.motor[1].set_position(45.0)
robot.motor[2].set_position(45.0)

# Read motor status
status = robot.motor[1].get_status()
print(f"Position: {status.position:.2f}°, Temperature: {status.temperature:.1f}°C")

IMU Data Reading

# Example: Read IMU data
imu_data = robot.imu.read()
print(f"Accel: {imu_data.accel} m/s²")
print(f"Gyro: {imu_data.gyro} rad/s")
print(f"Quaternion: {imu_data.quaternion}")

Walking Gait

# Example: Simple forward walking
robot.gait.walk(forward_steps=10, step_length=0.3, frequency=1.5)

# Wait for completion
robot.gait.wait()

# Stop
robot.stop()

Virtual Robot Control

Use the simulator to test code before hardware connection:

from sim_state import QuadrupedSimulator
from sim_control import QuadrupedController
from gait_generator import QuadrupedGaitGenerator, GaitType

# Create simulator
sim = QuadrupedSimulator()
controller = QuadrupedController(sim, dt=0.01)

# Set initial pose
controller.set_static_pose()
time.sleep(0.5)

# Run walking gait
controller.set_gait_walk(step_length=0.1, frequency=1.0)

# Monitor real-time
controller.monitor(interval=0.1)

# Or run pre-programmed animation
controller.run_animation(duration=5.0)

# Get current state
state = sim.get_state_dict()
print(f"Position: ({state['global']['x']:.2f}, {state['global']['y']:.2f})")
print(f"IMU: {state['imu']['accel']}")

### Generate Custom Gaits

Use the gait generator for custom locomotion patterns:

from gait_generator import QuadrupedGaitGenerator, GaitType

generator = QuadrupedGaitGenerator()

Generate trot gait

positions, freq = generator.create_gait_profile( GaitType.TROT, amplitude=25, frequency=1.2 )

Generate run gait with flight phase

positions, freq = generator.create_gait_profile( GaitType.RUN, amplitude=45, frequency=2.0, flight_phase=0.2 )

Generate gallop gait

positions, freq = generator.create_gait_profile( GaitType.GALLOP, amplitude=40, frequency=2.5 )

Export to JSON for robot execution

from motion_export import MotionExporter exporter = MotionExporter(generator) json_path = exporter.export_to_json( positions, gait_type='trot', frequency=freq, metadata={'author': 'user', 'notes': 'Custom trot pattern'} )

print(f"Motion exported to: {json_path}")


### Create Motion Sequences

Combine multiple gait patterns:

from motion_export import MotionExporter

exporter = MotionExporter()

Create sequence: stand → walk → run → stand

sequence = [ { 'gait_type': 'static', 'duration': 1.0, 'amplitude': 0 }, { 'gait_type': 'walk', 'duration': 2.0, 'frequency': 1.0, 'amplitude': 30 }, { 'gait_type': 'run', 'duration': 2.0, 'frequency': 2.0, 'amplitude': 45 }, { 'gait_type': 'static', 'duration': 1.0, 'amplitude': 0 } ]

Generate and export

all_positions = exporter.create_motion_sequence(sequence) json_path = exporter.export_to_json( all_positions, gait_type='sequence', frequency=1.0, output_path='motion_sequence.json' )


## Resource Structure

### scripts/
Motor control utilities and sensor reading scripts.

**Available scripts:**
- `motor_control.py` - Motor initialization, control, and status reading
- `imu_reader.py` - IMU data acquisition and formatting
- `sim_state.py` - Virtual robot state simulation
- `sim_control.py` - Virtual robot interactive control
- `gait_generator.py` - Quadruped gait pattern generation
- `motion_export.py` - Motion trajectory export (JSON, CSV)
- `encoder_reader.py` - Joint encoder data processing (预留)
- `telemetry_monitor.py` - Real-time system monitoring dashboard (预留)

### references/
Technical documentation for sensor data formats, motion models, and protocol details.

**Available references:**
- `motor_protocol.md` - Motor command protocol specification
- `imu_format.md` - IMU data format and coordinate frames
- `motion_kinematics.md` - Inverse kinematics for leg movements

## Best Practices

### Communication Protocol

Always check connection status before sending commands. Use timeout values appropriate for your hardware.

Example: Safe motor command pattern

try: robot.connect() if not robot.is_connected(): raise ConnectionError("Robot not connected")

robot.motor[1].set_position(45.0) status = robot.motor[1].get_status() except Exception as e: print(f"Error: {e}") robot.emergency_stop() finally: robot.disconnect()


### Safety First

- Always enable motors before attempting motion
- Set safe position limits before running gaits
- Monitor temperature and error states during operation
- Implement emergency stop capability

### Debugging Tips

1. **Communication Issues**: Check baud rate and cable connections first
2. **Motor Errors**: Check for overheating, overcurrent, or cable breaks
3. **Poor Gait Performance**: Check sensor calibration and PID tuning
4. **Unexpected Motion**: Verify gait parameters and ensure motors are enabled

## Common Tasks

### Task 1: Calibrate Sensors

Use the calibration script

python scripts/motor_control.py --calibrate


### Task 2: Test Motor Control

Move individual motors in test mode

python scripts/motor_control.py --test --motor 1


### Task 3: Monitor System Telemetry

Real-time monitoring (requires Python GUI or serial console)

python scripts/telemetry_monitor.py


### Task 4: Generate Motion Patterns

Create and save a motion profile

python scripts/motion_planner.py --gait walk --steps 20


### Task 5: Virtual Robot Simulation

Before connecting to real hardware, test with the virtual simulator:

Interactive control (press keys to change gaits)

python scripts/sim_control.py

Run automatic animation

python scripts/sim_control.py --animation 5

Custom simulation parameters

python scripts/sim_control.py --dt 0.01 --port 921600


**Virtual robot commands:**
- `g` - Walk gait
- `r` - Run gait
- `t` - Trot gait
- `c` - Crawl gait
- `s` - Static pose
- `S` - Stretch pose
- `q` - Quit

### Task 6: Generate Motion Patterns

Create and export gait patterns for real robot execution:

Generate walking gait and export to JSON

python scripts/gait_generator.py --gait walk --amplitude 30 --frequency 1.0

Export to CSV format

python scripts/motion_export.py --format csv

Generate and save motion sequence

python scripts/motion_export.py --sequence demo --output motions/


**Available gaits:**
- `walk` - Sine wave walking
- `run` - Fast running with flight phase
- `trot` - Diagonal pair coordination
- `crawl` - Smooth slow locomotion
- `gallop` - Fast efficient running
- `pace` - Lateral pair coordination

## Troubleshooting

**Motor not responding:**
- Check cable connections and power supply
- Verify baud rate matches robot configuration
- Ensure motors are enabled (not in error state)

**Unstable gait:**
- Check sensor calibration
- Tune PID gains (start with conservative values)
- Verify IMU and encoder synchronization

**Connection drops:**
- Check for USB/electrical interference
- Try different USB cable or port
- Reduce baud rate if communication errors occur

---

For platform-specific details (Unitree, ANYmal, custom), consult the appropriate reference documentation or hardware datasheet.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

76.45%
按下载量换算1,992

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills