I. Introduction
Autonomous driving research has taken off in recent years. Most of the interest is in four-wheeled vehicles (FWV), because of their stability on four wheels. But that is not the same case when it comes to Two-Wheeled vehicles (TWV) because of their lacking in balancing aids. This throws a critical problem to introduce autonomous driving to TWV. (Humanoid) Robotics is another area that has seen great development. This gave a push for more general robots of humanoid shape. General robots are those which imply interacting with the world in the same way as humans do. Thus, TWV pose an interesting challenge. Using the concept of inverted pendulum, the robot balances the scooter i.e TWV. The usage of an electronic component called PID controller helps as an aid for perfect balancing of TWV. This calculates the error and passes the corrected signal to the robot so that it can balance again. For the virtual demonstration of the paper (GAZEBO) an open-source robotic 3D platform is used and Robotics Operated System (ROS) for the pre-build robotic packages. Most of the autonomous vehicles released are only Four-Wheeled Vehicles, because of their stability on four wheels. But that is not the same case when it comes to TWV because of their lacking in balancing aids. PID based controller is used for performing balance control and trajectory tracking by manipulating the steering point. It is a type of control loop that employs feedback and is widely used in industrial control systems and a variety of other applications requiring continuously modulated control. To control flow, temperature, pressure, level, and many other industrial processes, PID controllers are used in most automatic process control applications. The aim is to provide a new scope using humanoid robotics and PID controller for balancing the Robot which is driving a vehicle.