mirror of
https://github.com/AtsushiSakai/PythonRobotics.git
synced 2026-02-13 18:45:03 -05:00
Add inverted_pendulum_lqr_control (#635)
* 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
This commit is contained in:
11
tests/test_inverted_pendulum_lqr_control.py
Normal file
11
tests/test_inverted_pendulum_lqr_control.py
Normal file
@@ -0,0 +1,11 @@
|
||||
import conftest
|
||||
from Control.inverted_pendulum import inverted_pendulum_lqr_control as m
|
||||
|
||||
|
||||
def test_1():
|
||||
m.show_animation = False
|
||||
m.main()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
conftest.run_this_test(__file__)
|
||||
Reference in New Issue
Block a user