Fig. 12
From: Embedded solutions for a class of highly unstable, underactuated and self-balancing robotic systems

Embedded software flowchart: position control mode
From: Embedded solutions for a class of highly unstable, underactuated and self-balancing robotic systems
Embedded software flowchart: position control mode