This project has the tools to work on a balancing robot.
It has a simple simulation world and the tools to control the prototype robot.
The whole project is though and designed to be used with ROS, it also uses Eigen3.4 to run the controller and Gazebo for the simulation.
It is important to at least install the velocity controllers for ROS to be able to use the package.
# Install all the controllers for the ROS-noetic version
sudo apt install ros-noetic-controller*
The hardware used on this project is the following:
To be able to use it, it is important to have built the catkin environment.
cd /path/to/catkin/workspace
# ROS noetic
catkin_make
To simulate the robot, it is just a matter of running the launch file:
roslaunch hybrid_robot hybrid_robot.launch
It can be changed the nodes to run and run other nodes individually through the terminal or any other IDE.
The needed nodes to run the simulation are:
To be able to run the prototype it is needed to upload the following scripts into the robot: