mirror of
https://github.com/AtsushiSakai/PythonRobotics.git
synced 2026-01-14 16:57:58 -05:00
* Add inverted_pendulum_lqr_control * reorganize document of inverted pendulum control module * Refactor inverted_pendulum_lqr_control.py * Add doccument for inverted pendulum control * Corrected inverted pedulum LQR control doccument * Refactor inverted pendulum control by mpc and lqr * Add unit test for inverted_pendulum_lqr_control.py
13 lines
213 B
Python
13 lines
213 B
Python
import conftest
|
|
|
|
from Control.inverted_pendulum import inverted_pendulum_mpc_control as m
|
|
|
|
|
|
def test1():
|
|
m.show_animation = False
|
|
m.main()
|
|
|
|
|
|
if __name__ == '__main__':
|
|
conftest.run_this_test(__file__)
|