You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This package contains the simulation of the AR4 robot in Mujoco.
3
+
Bringup package for the AR4 software stack on the MuJoCo simulator. To build the package, run
4
4
5
-
## Instructions to import the model
5
+
```bash
6
+
colcon build --packages-up-to ar4_mujoco_bringup
7
+
. install/setup.bash
8
+
```
6
9
7
-
The Mujoco model of the AR4 robot can be imported from the URDF description in the `ar4_description` package. The process requires running the two scripts in the `scripts/` folder in sequence.
10
+
To run the simulation, source and run:
11
+
12
+
```bash
13
+
ros2 launch ar4_mujoco_bringup main.launch.py
14
+
```
15
+
16
+
## Instructions to update the MuJoCo robot model
17
+
18
+
The MuJoCo model of the AR4 robot can be imported from the URDF description in the `ar4_description` package. The process requires running the two scripts in the `scripts/` folder in sequence.
8
19
9
20
1. First run `stage1_create_urdf_from_xacro.sh` from **within** the development container. This script will generate the URDF file from the xacro description.
10
-
1. Then run `stage2_create_mjcf_from_urdf.sh` from **outside** the development container (this script needs to create a new containerized environment running Ubuntu 24.04). This script will generate the Mujoco model from the URDF file.
21
+
1. Then run `stage2_create_mjcf_from_urdf.sh` from **outside** the development container (this script needs to create a new containerized environment running Ubuntu 24.04). This script will generate the MuJoCo model from the URDF file.
11
22
12
23
At this point you'll see the `urdf/` and `mjcf/` folders in the `ar4_mujoco_sim` package as updated. Commit those changes.
0 commit comments