Skip to content

Commit 6477929

Browse files
authoredFeb 21, 2025··
refactor: rename files and update references for inverted pendulum an… (#1171)
* refactor: rename files and update references for inverted pendulum and path tracking modules * refactor: rename inverted pendulum control files and update type check references * refactor: update import statements to use consistent casing for InvertedPendulum module
1 parent f343573 commit 6477929

20 files changed

+23
-22
lines changed
 

‎Control/move_to_pose/__init__.py

Whitespace-only changes.
File renamed without changes.
File renamed without changes.

‎docs/index_main.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ this graph shows GitHub star history of this project:
4343
modules/7_arm_navigation/arm_navigation
4444
modules/8_aerial_navigation/aerial_navigation
4545
modules/9_bipedal/bipedal
46-
modules/10_control/control
46+
modules/10_inverted_pendulum/inverted_pendulum
4747
modules/11_utils/utils
4848
modules/12_appendix/appendix
4949

‎docs/modules/10_control/control_main.rst

-12
This file was deleted.

‎docs/modules/10_control/inverted_pendulum_control/inverted_pendulum_control_main.rst ‎docs/modules/10_inverted_pendulum/inverted_pendulum_main.rst

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
Inverted Pendulum Control
2-
-----------------------------
1+
.. _`Inverted Pendulum`:
2+
3+
Inverted Pendulum
4+
------------------
35

46
An inverted pendulum on a cart consists of a mass :math:`m` at the top of a pole of length :math:`l` pivoted on a
57
horizontally moving base as shown in the adjacent.

‎docs/modules/11_utils/utils_main.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. _utils:
1+
.. _`utils`:
22

33
Utilities
44
==========

‎docs/modules/12_appendix/appendix_main.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. _appendix:
1+
.. _`Appendix`:
22

33
Appendix
44
==============

‎docs/modules/1_introduction/3_technologies_for_robotics/technologies_for_robotics_main.rst

+10
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,13 @@ Robot type specific technologies
5656

5757
#. :ref:`Aerial Navigation`
5858
#. :ref:`Bipedal`
59+
#. :ref:`Inverted Pendulum`
60+
61+
62+
Additional Information
63+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
64+
65+
#. :ref:`utils`
66+
#. :ref:`Appendix`
67+
68+

‎docs/modules/6_path_tracking/path_tracking_main.rst

+1
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ Path tracking is the ability of a robot to follow the reference path generated b
1616
lqr_speed_and_steering_control/lqr_speed_and_steering_control
1717
model_predictive_speed_and_steering_control/model_predictive_speed_and_steering_control
1818
cgmres_nmpc/cgmres_nmpc
19+
move_to_a_pose_control/move_to_a_pose_control

‎tests/test_inverted_pendulum_lqr_control.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import conftest
2-
from Control.inverted_pendulum import inverted_pendulum_lqr_control as m
2+
from InvertedPendulum import inverted_pendulum_lqr_control as m
33

44

55
def test_1():

‎tests/test_inverted_pendulum_mpc_control.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import conftest
22

3-
from Control.inverted_pendulum import inverted_pendulum_mpc_control as m
3+
from InvertedPendulum import inverted_pendulum_mpc_control as m
44

55

66
def test1():

‎tests/test_move_to_pose.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import itertools
22
import numpy as np
33
import conftest # Add root path to sys.path
4-
from Control.move_to_pose import move_to_pose as m
4+
from PathTracking.move_to_pose import move_to_pose as m
55

66

77
def test_random():

‎tests/test_move_to_pose_robot.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import conftest # Add root path to sys.path
2-
from Control.move_to_pose import move_to_pose as m
2+
from PathTracking.move_to_pose import move_to_pose as m
33

44

55
def test_1():

‎tests/test_mypy_type_check.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
"AerialNavigation",
88
"ArmNavigation",
99
"Bipedal",
10-
"Control",
1110
"Localization",
1211
"Mapping",
1312
"PathPlanning",
1413
"PathTracking",
1514
"SLAM",
15+
"InvertedPendulum"
1616
]
1717

1818

0 commit comments

Comments
 (0)
Please sign in to comment.