This repository contains all the files and code needed to simulate the a1 quadrupedal robot using Gazebo and ROS. The software runs on ROS noetic and Ubuntu 20.04. If you want to use a different ROS version, you might have to do some changes to the source code.
This software is a copy of my main project, where some of the constants have been changed in order to make it work for this particular robot.
cd src && catkin_init_workspace
cd .. && catkin_make
source devel/setup.bash
roscd a1_controller/scripts && chmod +x robot_controller_gazebo.py
cp -r RoboticsUtilities ~/.local/lib/python3.8/site-packages
roscd a1_joystick/scripts && chmod +x ramped_joystick.py
source devel/setup.bash
roslaunch a1 run_robot_gazebo.launch
After all the nodes have started, you can start using your joystick to control the robot.
If the robot happens to be on its back when you start Gazebo, simply press CTRL + R. The simulator will reset the simulation and you're set to use the robot using your joystick.
- mike4192: https://github.com/mike4192/spotMicro
- Unitree Robotics: https://github.com/unitreerobotics/a1_ros
- QUADRUPED ROBOTICS: https://quadruped.de