Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
e583917
Split Lite6 link6 collision mesh into three exact convex hulls
DanielWang123321 Nov 26, 2026
f404ee9
Identify calibration from controller FK and allow redundant-arm sdk-s…
DanielWang123321 Nov 26, 2026
b501765
Add unified motion controller and update UF850/Robotiq measured inert…
DanielWang123321 Nov 26, 2026
6abaecc
Categorize assets/urdf into robots, end_effectors, cameras, mounts, o…
DanielWang123321 Nov 26, 2026
da33fc9
Match the three mounting plates to the arm flange aluminium
DanielWang123321 Nov 26, 2026
43c0d8d
Add Bio Gripper G2 real-controller pick-place validation on xArm6
DanielWang123321 Nov 26, 2026
f7f4bb2
Decouple headless servo_j from Genesis, validate tool TCP offset, and…
DanielWang123321 Nov 27, 2026
d2ba759
Add AI1500 six-axis F/T sensor model, assembly, SDK control, and xArm…
DanielWang123321 Nov 27, 2026
4ecc091
Add vacuum gripper pick-place support, xArm5 verification, and CI opt…
DanielWang123321 Nov 27, 2026
7c8e486
Add vacuum, controller_fk, and tcp modules to strict mypy-domain gate
DanielWang123321 Nov 27, 2026
d3ec586
Port C10 seed-stability Pick & Place RL recipe and regression tests
DanielWang123321 Nov 27, 2026
bf6444c
Document pretrained Pick & Place RL checkpoint and 10-seed C10 benchmark
DanielWang123321 Nov 27, 2026
174eb32
Use GenesisRuntimeManager in test_ft_sensor_assembly GPU test
DanielWang123321 Nov 27, 2026
557a371
Release v0.3.11
DanielWang123321 Nov 27, 2026
917ebea
Fix CI mypy-domain NumPy 2.5 annotations and synthetic safety calibra…
DanielWang123321 Nov 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ outputs/
*.safetensors
*.onnx
reports/
assets/urdf/*/kinematics/user/*.yaml
assets/urdf/*/*_calib.urdf
assets/urdf/*/*/kinematics/user/*.yaml
assets/urdf/*/*/*_calib.urdf
assets/urdf/**/visual_glb_raw/
assets/urdf/**/visual_glb_src/
assets/urdf/**/relocalize_metrics.json
Expand Down
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,39 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.3.11] — 2026-11-28

### Added

- Published the pretrained `xArm6` + `Gripper G2` Pick & Place RL checkpoint (`pick_place/xarm6-pick-place/seed-7/model_best.pt`, `C10` recipe, early-stopped at `650` iterations) to Hugging Face (`UFACTORY-Developer/ufactory_genesis_rl`): `100%` dual-holdout (`64/64` on seed `17000`, `128/128` on seed `17500`), `100%` (`64/64`) blind evaluation on seed `18007` (`max_press = 0.477 mm`, mean/median target error `6.98 / 6.14 mm`), and `GLB B=1` replay PASS; across the 10-seed `C10` benchmark (`seeds 1..10`), `8/10` seeds passed strict blind evaluation and `GLB` replay (`508/512 = 99.22%` combined blind success across passing seeds, `0.00` IK rejects). Updated bilingual RL docs with Hugging Face download and inference instructions.

- Added full `vacuum_gripper` (5-cup xArm/UF850) integration to `ufactory-pick-place` (`assets/configs/runtime/grippers/vacuum_gripper.yaml`, `assets/manifest.json`, `VacuumProfileAdapter` with midpoint binary edge deduplication and `shutdown_real`, `--gripper vacuum_gripper` and `--vacuum-hardware-version {1,2}`, 0-DOF `SafetyGate` collision handling), verified end-to-end on real `xArm5` (`XF130505D43A02`, firmware `v2.8.2`, plug-in hardware version 1, `tcp_offset=[0, 0, 126, 0, 0, 0] mm`, `tcp_load=[0.61 kg, [0, 0, 53] mm]`): 3-cycle IO test (`0.38–0.76 ms` send, `21–22 ms` TGPIO output flip, zero arm drift), `dry-run` / `sdk-sim`, and real empty-grasp `servo_j` (`max_lateness=0.321 ms`) + `servo_cartesian` (`max_lateness=0.596 ms`) with zero deadline misses and zero errors.
- **Breaking (config `sha256`):** Added 6D `gripper.tcp_offset` (`[x_mm, y_mm, z_mm, roll_deg, pitch_deg, yaw_deg]`, matching `xarm-python-sdk` default and UFACTORY Studio) to all runtime robot/gripper YAMLs (`assets/configs/runtime/{robots,grippers}/*.yaml`, refreshed `assets/manifest.json`), unified planning TCP-to-flange conversion and fail-closed real-mode controller TCP consistency validation (`10 mm / 2°`, `ufactory.manipulation.tcp`), decoupled headless `servo_j` compilation in `ufactory-pick-place` and `ufactory-packaging-showcase` from Genesis/`build_scene` via pure-NumPy `ArmIKContext` / `solve_arm_home_q`, and generalized `build_scene` / `TrajKinematicMirror` / `KinematicCarryTracker` to support 0-DOF end effectors (`vacuum_gripper`, `lite6_vacuum_gripper`, and `bare` arm without finger links or gripper DOFs).
- Enabled `--executor servo_j` (`dry-run` / `sdk-sim` / `real`) and real-mode `--visual` kinematic mirror support for `bio_gripper_g2` in `ufactory-pick-place` via generic scene support (`_robot_urdf_for_visual_model`, `gripper_dof_multipliers`, `build_scene(..., home_xy_base=...)`, `drive_for_gap_m`), symmetric mirror multiplier handling (`_set_kinematic_pose`, `gap_m_from_drive`), and empty-grasp carry opt-out (`_mirror_attach_dist_m`) on `xarm6`.
- Added the UFACTORY AI1500 six-axis force/torque sensor asset (`assets/urdf/accessories/ft_sensor_ai1500/`, `+58.6 mm` flange lift, `0.6 kg`, CoM `(0, 0, 22) mm`, multi-material Draco GLB, visual STL, watertight convex hull, and exporter `dev/accessories/ai1500/export_ft_sensor_ai1500.py`), upgraded `assets/urdf/assembly.yaml` to `schema_version: 6` with `ft_sensors` stacking (`xarm5/6/7` and `uf850` flange below optional camera stand, adapter, and end effector), added `--ft-sensor` to `examples/visualization/view_robot.py` and `ft_sensor_ai1500` to `examples/visualization/view_tool.py`, and updated `assets/manifest.json`.
- Added real-robot six-axis F/T sensor control wrapper `ufactory.hardware.ft_sensor` (`XArmFTSensor`, `XArmTransport.ft_sensor()`, validated `FTAdmittanceParams` / `FTForceControlParams` / `FTLoadOffset` / `FTCollisionConfig` / `FTSensorConfigSnapshot` / `FTSensorReading`, fail-closed safety gates with `--confirm-real`, `set_state(0)` mode-activation sequencing, `xarm-python-sdk 1.18.4` SN/version fallback, and guaranteed `mode=0` teardown contexts) and post-install diagnostic CLI `scripts/ft_sensor_check.py` (`enable` / `disable` / `status` / `zero` / `identify-load` / `admittance-test` / `force-test`).
- Added real-controller support for `bio_gripper_g2` in `ufactory-pick-place` (`--mode dry-run / sdk-sim / real --executor servo_cartesian`, gated to `xarm6` via `bio_g2_controller_mode_error` with `servo_j` / `--visual` blocked until generic scene support is added), including runtime overlay [bio_gripper_g2.yaml](assets/configs/runtime/grippers/bio_gripper_g2.yaml), `BIO_GRIPPER_G2_TCP_IN_FLANGE_M`, and `BIO_GRIPPER_G2_GRIPPER_PARAMS`.
- Added `ufactory.grippers.vacuum` (`VacuumGripperAdapter`, `vacuum_io_pins` for hardware versions 1 and 2) and hardware test scripts under `dev/end_effectors/bio_gripper_g2/hardware/` and `dev/end_effectors/vacuum_gripper/hardware/`.

### Fixed

- Fixed two real-hardware `xArm v2.8.2` vacuum-gripper issues discovered on `xArm5`: (1) keep SDK default `sync=True` on `set_vacuum_gripper` because `sync=False` in `MODE_SERVO` drops one of the two back-to-back TGPIO writes (leaving `[1, 1]` energized), while `sync=True` completes in `< 0.8 ms` with 100% reliability; (2) avoid calling `@xarm_wait_until_not_pause`-decorated `set_vacuum_gripper` in `VacuumProfileAdapter.shutdown_real` after `execute_real` enters `state=3` (paused), checking live `get_tgpio_output_digital` first and falling back to raw `arm_cmd.tgpio_set_digital` if suction is still active while paused/stopped.
- Fixed `_update_mirror_entities` in `ufactory/trajectory/mirror_executor.py` for Genesis 1.4.7+ (which replaced `RigidSolver._vgeoms_render_T` / `_geoms_render_T` with `RasterizerContext.rigid_geoms_T(solver, is_visual)`) and Genesis 1.5+ (falling back to `context.update(force_render=True)` when `rigid_nodes` is absent), restoring live `--visual` real-robot mirror rendering.
- Hardened `BioG2Adapter` (`speed_rpm` / `force_percent` validation, `wait=False` and `wait_motion=False` on `set_bio_gripper_g2_position`, sub-0.05 mm command deduplication, and `get_bio_gripper_g2_position` pre-caching in `prepare_real`).
- Added a runtime `<mimic>` fallback in `PinocchioCollisionBackend` (`ufactory/safety/adapters/pinocchio.py`) when Pinocchio `mimic=True` fails on URDFs where a mimic joint precedes its parent joint (such as `bio_gripper_g2`), keeping collision finger symmetry without modifying URDF assets.
- Added `err_warn` and `state` diagnostics when `sdk_sim_feedback` fails before stopping the virtual controller.
- Split the Lite6 `link6` collision mesh into three exact watertight convex hulls (`lite6_link6_col_00..02.stl`: flange body, recessed neck, and side aviation connector; `0.000 mm` surface bloat / `0.000 mm` leak vs `visual/link6.stl`) and updated `lite6.urdf`, `lite6_visual.glb.urdf`, and `assets/manifest.json`. Previously, the single 66-vertex hull bridged across the concave neck and connector steps by up to 1.08 mm, pushing calibrated Lite6 `link4`/`link6` clearance below the 5 mm preflight margin (`4.990 mm` vs `5.539 mm` visual surface) in pick-place and packaging while near-limit contact at `|q5| ≈ 2.16 rad` remains detected.
- `scripts/gen_kinematics_params.py` now identifies the per-unit joint origins from the controller's own forward kinematics instead of copying the register-8 export. The register-8 values were wrong on three models: the xArm5 export uses different frames (its YAML was 0.55–1.15 m off), and UF850 / Lite6 do not compensate the joint-1 tilt in joint 2 (1.92–3.06 mm off). The script reads the zero pose and single-joint sweeps (31–43 read-only `get_forward_kinematics` queries, plus 100 for verification; nothing is enabled or moved), removes the controller TCP offset, and writes the file only if 100 random held-out configurations match within the FK validation limits (1 mm, 0.5°). A non-zero controller world offset is refused. Measured on five arms (2026-11-26): held-out max error 0.07 mm (UF850), 0.42 mm (xArm5, xArm7), 0.43 mm (xArm6), 0.45 mm (Lite6); Pinocchio and Genesis reproduce the same values. The remaining error is the flange centre sitting 38–240 µm off the last joint axis, which joint origins cannot express; the model is exact whenever the last joint is at 0, like the register-8 form. New module `ufactory.kinematics.controller_fk`.

### Changed

- Upgraded `examples/rl/pick_place` to the `C10` seed-stability pure-PPO recipe (`examples/rl/pick_place/{env.py,recipe.yaml,train.py}`, `ufactory/training/pick_place_config.py`): pad-derived flange height limits (`PRE_LIFT_PAD_FLOOR_Z`, `TOUCHDOWN_REF_MARGIN_Z`), finite-horizon timeout handling (`time_outs=False`), zero-penalty outer-margin linear spring envelope (`alpha=0.16`), target-table unclamping ratchet (`unclamping_at_table`), single-episode `touchdown_rewarded` latch, `pre_lift` lift-drive / stall-penalty / `< 15 mm` XY-damping fixes, `std_range: [0.16, 0.65]` guard, and 192-episode dual-validation early stopping (`--eval-start-iteration`), keeping `env_version=3` (70 obs / 4 actions) unchanged.
- Updated the material of the three mounting plates (`assets/urdf/mounts/{xarm,uf850,lite6}_mounting_plate`) in both GLBs (`plate_anodized_aluminum`) and URDFs (`PlateAluminum`) to match the arm end-flange `FLANGE_METAL` (`[0.952941, 0.952941, 0.949020, 1.0]`, `metallic = 0.80`, `roughness = 0.640131`) and refreshed `assets/manifest.json` hashes.
- **Breaking:** Categorized `assets/urdf/` into `robots/`, `end_effectors/`, `cameras/`, `mounts/`, `objects/`, and `accessories/` (created for upcoming linear rails and sensors), keeping `assets/urdf/assembly.yaml` at the root. Updated `ufactory.robots.{registry,assembly,paths}`, `ufactory.grippers.lite6`, `ufactory.simulation.{bio_g2_microplate,bio_g2_model}`, `scripts/gen_kinematics_params.py`, `assets/urdf/assembly.yaml`, `assets/configs/runtime/robots/*.yaml`, `assets/manifest.json`, `.gitignore`, tests, and README links. Source URDF contents and `sha256` digests are unchanged, while composed URDF mesh paths and `sha256` digests change (downstream composed-URDF hash bindings such as safety allowlists, RL checkpoint manifests, and trajectory reports must be regenerated).
- Updated the `link_base` inertial parameters in both UF850 URDFs (`assets/urdf/uf850/uf850.urdf` and `uf850_visual.glb.urdf`) using the SolidWorks mass-properties evaluation of the `Arm850_P01` base assembly (`5.869631 kg`, CoM `(-0.762, -0.044, 117.610) mm`, `Ixx/Iyy/Izz = 0.032711870245 / 0.03295126767 / 0.013458380527 kg·m²`, `Ixy/Ixz/Iyz = 8.0733473e-05 / -0.000343329636 / -1.0328638e-05 kg·m²` in standard URDF negative product-of-inertia convention) and refreshed `assets/manifest.json`. Fixed-base arm joint dynamics are unchanged, while the bare-arm total mass (`16.2434 → 19.844631 kg`) and moving-base inertia match the CAD assembly; `urdf_sha256` bindings of UF850 and composed UF850 URDFs change accordingly.
- Updated `uf850_mounting_plate` (`0.9142 → 1.056 kg`) and `robotiq_mounting` (`0.1097 → 0.118 kg`) URDF inertials to physical measured masses (uniformly scaled over each part's CAD volume with unchanged CoM and geometry) and refreshed `assets/manifest.json`. Measured `lite6_mounting_plate` (`0.2431 kg`) and `xarm_mounting_plate` (`0.3554 kg`) matched simulation and remain unchanged.
- SDK simulation evidence (`schema_version` 2) compares a redundant arm (more than six joints, i.e. xArm7) by end-effector pose instead of joint by joint, because its firmware may resolve the elbow differently from the host IK. Every arm must now also match end-effector rotation within `max_shadow_joint_error_rad`, and the firmware stream must stay inside the joint limits less `joint_limit_margin_rad` (required for a redundant arm, and checked for any caller that passes `joint_lower_rad` / `joint_upper_rad`, as pick-place and packaging do). New evidence fields `max_ee_rotation_error_rad` and `self_motion_allowed`.

## [0.3.10] — 2026-11-25

### Added
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ufactory_genesis

![Python](https://img.shields.io/badge/python-3.12%20%7C%203.13-blue) ![License](https://img.shields.io/badge/license-MIT-green) ![Version](https://img.shields.io/badge/version-0.3.10-orange) ![Genesis](https://img.shields.io/badge/genesis-1.4.7-lightgrey) ![CI](https://github.com/xArm-Developer/ufactory_genesis/actions/workflows/ci.yml/badge.svg)
![Python](https://img.shields.io/badge/python-3.12%20%7C%203.13-blue) ![License](https://img.shields.io/badge/license-MIT-green) ![Version](https://img.shields.io/badge/version-0.3.11-orange) ![Genesis](https://img.shields.io/badge/genesis-1.4.7-lightgrey) ![CI](https://github.com/xArm-Developer/ufactory_genesis/actions/workflows/ci.yml/badge.svg)

UFACTORY robot simulation and reinforcement learning examples built on Genesis.

Expand All @@ -26,7 +26,7 @@ Installation and complete commands are in the [examples guide](examples/README.m
Simulation-only training and inference on Linux/NVIDIA GPUs. See the [RL index](examples/rl/README.md) for the task progression and guides.

1. **[Reach: target reaching](examples/rl/reach/README.md)** — Move the end effector of a bare-arm robot (`xarm5`, `xarm6`, `xarm7`, `uf850`, `lite6`) to a target with a success distance strictly below **5 mm**. Supports single-arm and four-arm real-time GLB inference, with [pretrained checkpoints on Hugging Face](https://huggingface.co/UFACTORY-Developer/ufactory_genesis_rl).
2. **[Pick & Place: tabletop](examples/rl/pick_place/README.md)** — xArm6 + Gripper G2 grasps and transfers a cube sampled uniformly in `x ∈ [300, 500] mm`, `y ∈ [-200, 200] mm` to a fixed target at `(300, 300) mm`, trained from scratch with pure PPO.
2. **[Pick & Place: tabletop](examples/rl/pick_place/README.md)** — xArm6 + Gripper G2 grasps and transfers a cube sampled uniformly in `x ∈ [300, 500] mm`, `y ∈ [-200, 200] mm` to a fixed target at `(300, 300) mm`, trained from scratch with pure PPO, with a [pretrained checkpoint on Hugging Face](https://huggingface.co/UFACTORY-Developer/ufactory_genesis_rl).



Expand Down
4 changes: 2 additions & 2 deletions README_zh.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ufactory_genesis

![Python](https://img.shields.io/badge/python-3.12%20%7C%203.13-blue) ![License](https://img.shields.io/badge/license-MIT-green) ![Version](https://img.shields.io/badge/version-0.3.10-orange) ![Genesis](https://img.shields.io/badge/genesis-1.4.7-lightgrey) ![CI](https://github.com/xArm-Developer/ufactory_genesis/actions/workflows/ci.yml/badge.svg)
![Python](https://img.shields.io/badge/python-3.12%20%7C%203.13-blue) ![License](https://img.shields.io/badge/license-MIT-green) ![Version](https://img.shields.io/badge/version-0.3.11-orange) ![Genesis](https://img.shields.io/badge/genesis-1.4.7-lightgrey) ![CI](https://github.com/xArm-Developer/ufactory_genesis/actions/workflows/ci.yml/badge.svg)

基于 Genesis 的 UFACTORY 机械臂仿真与强化学习示例。

Expand All @@ -26,7 +26,7 @@
在 Linux/NVIDIA GPU 上进行仿真训练与推理。学习顺序及各任务指南见 [RL 索引](examples/rl/README_zh.md)。

1. **[Reach:目标到达](examples/rl/reach/README_zh.md)**:让未安装夹爪的机械臂(`xarm5`、`xarm6`、`xarm7`、`uf850`、`lite6`)末端到达目标点,成功距离严格小于 **5 mm**。支持单臂、四臂 GLB 实时推理,提供 [Hugging Face 预训练检查点](https://huggingface.co/UFACTORY-Developer/ufactory_genesis_rl)。
2. **[Pick & Place:桌面抓放](examples/rl/pick_place/README_zh.md)**:xArm6 + Gripper G2 抓取在 `x ∈ [300, 500] mm`、`y ∈ [-200, 200] mm` 内均匀随机采样的方块并搬运到桌面固定目标位置 `(300, 300) mm`,以纯 PPO 从零训练策略。
2. **[Pick & Place:桌面抓放](examples/rl/pick_place/README_zh.md)**:xArm6 + Gripper G2 抓取在 `x ∈ [300, 500] mm`、`y ∈ [-200, 200] mm` 内均匀随机采样的方块并搬运到桌面固定目标位置 `(300, 300) mm`,以纯 PPO 从零训练策略,提供 [Hugging Face 预训练检查点](https://huggingface.co/UFACTORY-Developer/ufactory_genesis_rl)。



Expand Down
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Supported version

Only the current `0.3.10` development line receives security fixes. This is Alpha robotics software and is not safety-certified.
Only the current `0.3.11` development line receives security fixes. This is Alpha robotics software and is not safety-certified.

## Reporting

Expand Down
33 changes: 33 additions & 0 deletions assets/configs/runtime/grippers/bio_gripper_g2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
schema_version: 1
robot:
urdf: assembly:bio_gripper_g2
task:
parameters:
fixed_object_position_m: [0.38, -0.12, 0.015]
fixed_target_position_m: [0.38, 0.12, 0.015]
default_ee_position_m: [0.38, -0.12, 0.30]
gripper:
adapter: bio_g2
drive_joint: bio_gripper_g2_right_finger_joint
all_joint_names: [bio_gripper_g2_right_finger_joint, bio_gripper_g2_left_finger_joint]
finger_link_names: [bio_gripper_g2_left_finger, bio_gripper_g2_right_finger]
open_drive: 0.0395
closed_drive: 0.0
open_gap_m: 0.150
closed_gap_m: 0.071
kp: 16000.0
kv: 40.0
force_lower_n: -20.0
force_upper_n: 20.0
damping: 0.1
frictionloss: 0.0
real_command: true
feedback: true
closed_loop: false
allowed_contact_links: [bio_gripper_g2_left_finger, bio_gripper_g2_right_finger]
tool_tip_offset_z_m: 0.0595
finger_pad_below_center_m: 0.0
finger_close_descent_m: 0.0
grasp_table_clearance_m: 0.100
grasp_height_extra_m: 0.0
tcp_offset: [157.64, 0.0, 59.5, 0.0, 0.0, 0.0]
1 change: 1 addition & 0 deletions assets/configs/runtime/grippers/robotiq_2f_140.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ gripper:
finger_close_descent_m: 0.0253
grasp_table_clearance_m: 0.01
grasp_height_extra_m: 0.0
tcp_offset: [0.0, 0.0, 246.1, 0.0, 0.0, 0.0]
task:
parameters:
default_ee_position_m: [0.30, 0.00, 0.36]
1 change: 1 addition & 0 deletions assets/configs/runtime/grippers/robotiq_2f_85.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,4 @@ gripper:
finger_close_descent_m: 0.0135
grasp_table_clearance_m: 0.01
grasp_height_extra_m: 0.0
tcp_offset: [0.0, 0.0, 173.8, 0.0, 0.0, 0.0]
33 changes: 33 additions & 0 deletions assets/configs/runtime/grippers/vacuum_gripper.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
schema_version: 1
robot:
urdf: assembly:vacuum_gripper
task:
parameters:
fixed_object_position_m: [0.30, 0.00, 0.015]
fixed_target_position_m: [0.30, 0.25, 0.015]
default_ee_position_m: [0.30, 0.00, 0.30]
gripper:
adapter: vacuum_gripper
drive_joint: ""
all_joint_names: []
finger_link_names: []
open_drive: 0.0
closed_drive: 0.0
open_gap_m: 1.0
closed_gap_m: 0.0
kp: 0.0
kv: 0.0
force_lower_n: 0.0
force_upper_n: 0.0
damping: 0.0
frictionloss: 0.0
real_command: true
feedback: false
closed_loop: false
allowed_contact_links: [xarm_vacuum_gripper_link]
tool_tip_offset_z_m: 0.126
finger_pad_below_center_m: 0.0
finger_close_descent_m: 0.0
grasp_table_clearance_m: 0.050
grasp_height_extra_m: 0.0
tcp_offset: [0.0, 0.0, 126.0, 0.0, 0.0, 0.0]
3 changes: 3 additions & 0 deletions assets/configs/runtime/motion/default.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
schema_version: 1
motion:
# Mode 1 servo streaming rate (Hz); xArm SDK supports 30-250 Hz (default 50 Hz).
rate_hz: 50.0
joint_speed_rad_s: 1.0
joint_acceleration_rad_s2: 12.0
cartesian_speed_m_s: 0.15
cartesian_acceleration_m_s2: 0.8
gripper_duration_s: 2.0
# Firmware-aligned set_allow_approx_motion(bool) singularity avoidance (disabled by default).
allow_approx_motion: false
3 changes: 2 additions & 1 deletion assets/configs/runtime/robots/lite6.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ robot:
dof: 6
joint_names: [joint1, joint2, joint3, joint4, joint5, joint6]
ee_link: link6
assets_dir: assets/urdf/lite6
assets_dir: assets/urdf/robots/lite6
urdf: "assembly:lite6_gripper:stl"
capabilities: [servo_j, servo_cartesian, lite6_gripper, sdk_sim, hardware_gripper]
environment_contact_pairs: [[link_base, table]]
Expand Down Expand Up @@ -44,3 +44,4 @@ gripper:
finger_close_descent_m: 0.0
grasp_table_clearance_m: 0.006
grasp_height_extra_m: 0.015
tcp_offset: [0.0, 0.0, 75.3, 0.0, 0.0, 0.0]
Loading
Loading