In this paper, we use a nonlinear hierarchical model predictive control (MPC) to stabilize the Segway robot. We also use hardware in the loop (HIL) simulation in order to model the delay response of the wheels' motor and verify the control algorithm. In Two-Wheeled Personal Transportation Robots (TWPTR), changing the center of mass location and […]