https://github.com/nate711/pupperv3_mujoco_sim
https://github.com/nate711/pupperv3_mujoco_sim
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nate711/pupperv3_mujoco_sim
- Owner: Nate711
- Created: 2024-02-04T13:39:09.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-04T21:59:15.000Z (5 months ago)
- Last Synced: 2025-01-13T18:35:29.832Z (5 months ago)
- Language: C++
- Size: 9.68 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Prereqs
* ARM computer
* If you have a x86 computer. Download Mujoco 2.3.1 release https://github.com/google-deepmind/mujoco/releases/download/2.3.1/mujoco-2.3.1-linux-x86_64.tar.gz and replace the existing third_party/mujoco-2.3.1 directory.
* pupper_v3_description (https://github.com/G-Levine/pupper_v3_description) repo in the same ros workspace# Install
```bash
sudo apt install -y libglfw3-dev
cd ${YOUR_WORKSPACE_FOLDER}/src
git clone https://github.com/Nate711/pupperv3_mujoco_sim.git
source /opt/ros/humble/setup.bash
cd ${YOUR_WORKSPACE_FOLDER}
colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_EXPORT_COMPILE_COMMANDS=1
source /install/local_setup.bash
```# Usage
Using the simulator as a hardware interface
```bash
ros2 launch pupper_mujoco_sim test_hw_interface.launch.py
```Using the simulator as a regular ros node with subscription to joint commands
```bash
ros2 launch pupper_mujoco_sim floating_base_launch.py
```# TODO / Limitations
* Make mujoco_core_interactive.hpp load model xml based on package and model parameter rather than hardcode to `pupper_v3_description/description/mujoco_xml/pupper_v3_complete.xml`
* Make hardware interface set model package and xml file based on parameter