Urdf File Macro + New Dimensions
This commit is contained in:
@@ -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.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user