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.
6
4
7
-
To run the simulation, source and run
8
-
`ros2 launch ar4_mujoco_sim ar4_sim.launch.py`
5
+
## Instructions to import the model
9
6
10
-
#### Launch file arguments
11
-
- 'rsp':
12
-
- Run [`robot state publisher`](https://github.com/ros/robot_state_publisher) node. (default: 'false')
13
-
- 'rviz':
14
-
- Start RViz. (default: 'false')
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.
8
+
9
+
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.
11
+
12
+
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