The bike is designed by assembling different parts, taken from different sources and some were built explicitly. This ros package tries to demonstrate the balancing of a two wheeled bike in ros-noetic using a reaciton wheel.
- ubuntu 20.04
- git
- ros-noetic-desktop-full
cd ~
mkdir -p catkin_ws/src
cd catkin_ws
catkin_makeecho "source ~/catkin_ws/devel/setup.bash" >> ~/.bashrcsudo apt-get install ros-noetic-ros-control -y
sudo apt-get install ros-noetic-ros-controllers -ycd ~/catkin_ws/src
git clone https://github.com/ab31mohit/self_balancing_bike.git
cd ..
catkin_makeroslaunch self_balancing_bike empty_world_urdf.launch
| (Without balancing the bike) | Balancing bike at a point |
|---|---|
![]() |
![]() |
These are the frames attached to different portions of the bike
You can launch the rviz.launch file to visualize these frames.


