Text this: Real time control for two-wheels inverted pendulum mobile robot