this code is for inverted pendulum balancer. it is based on two-loop PID controller. One controller is for Angle and another one is for velocity.

Dependencies:   HCSR04 L298HBridge mbed

Auto generated API documentation and code listings for inverted_pendulum_system

Code

communication.cpp [code]
communication.h [code]
controller.cpp [code]
controller.h [code]
distance.cpp [code]
distance.h [code]
get_angle.cpp [code]
get_angle.h [code]
main.cpp [code]
PID.cpp [code]
PID.h [code]
stabilizer.cpp [code]
stabilizer.h [code]