Urdf File Macro + New Dimensions

This commit is contained in:
2026-11-04 21:09:41 +01:00
parent 6dae4519e3
commit de055dbf93
3 changed files with 170 additions and 1 deletions
+11 -1
View File
@@ -113,7 +113,17 @@ The repository contains a few pieces that are still present but not fully connec
* **Python:** 3.12 recommended
* **OS:** Windows 10/11 or Linux
* **Dependencies:** `pybullet`, `gymnasium`, `stable-baselines3`, `torch`, `numpy`, `pygame`, `ikpy`, `pyserial`, `matplotlib`, `dearpygui`
* **Dependencies:** `pybullet`, `gymnasium`, `stable-baselines3`, `torch`, `numpy`, `pygame`, `ikpy`, `pyserial`, `matplotlib`, `dearpygui`, `xacro`
## Robot model
Edit [`JackBotUrdf.xacro`](JackBotUrdf.xacro), which defines shared leg dimensions, coxa starting-position properties, and a reusable leg macro. Regenerate the checked-in URDF after changing the model:
```bash
xacro JackBotUrdf.xacro -o JackBotUrdf.urdf
```
The `xacro` dependency is included in `requirements.txt`. Keep `JackBotUrdf.urdf` as generated output; the simulator and kinematics continue loading that file.
---