MayankD409 / Bruno_Quadruped_Sim

Bruno is a Quadruped robot that can be simulated in Gazebo using ROS2. This repository contains all the code to required to setup the simulation of bruno in any system.
MIT License
5 stars 2 forks source link

License

Bruno_Quadruped_Sim

Introduction

This project aims to simulate a quadruped robot in Gazebo and control it with keyboard/Joypad commands using ROS2 Humble.

Features

Dependencies

Instruction to run the simulation

Follow the steps below to setup the repository:

# source ROS2 and Build the workspace
source /opt/ros/galactic/setup.bash
# Create a workspace
mkdir -p ~/bruno_ws/src
cd bruno_ws/src
# Clone the repository in the workspace
git clone https://github.com/MayankD409/Bruno_Quadruped_Sim.git
# Install the dependencies
cd ~/bruno_ws
rosdep install -i --from-path src --rosdistro humble -y
# build the workspace
colcon build --symlink-install

To run the simulation open the terminal and follow the below steps:

# source ROS2
source /opt/ros/galactic/setup.bash
# Source the workspace
cd ~/bruno_ws
source install/setup.bash
# Run the launch file
ros2 launch bruno debug.launch.py

Open another terminal to launch the virtual Joypad Node for teleoperation:

# source ROS2
source /opt/ros/galactic/setup.bash
# Launch the Joypad
cd ~/bruno_ws/src/UI
python3 controller.py

License

This project is licensed under the MIT License - see the LICENSE file for details.