Skip to content

refactor: rename files and update references for inverted pendulum an… #1171

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file removed Control/move_to_pose/__init__.py
Empty file.
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/index_main.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ this graph shows GitHub star history of this project:
modules/7_arm_navigation/arm_navigation
modules/8_aerial_navigation/aerial_navigation
modules/9_bipedal/bipedal
modules/10_control/control
modules/10_inverted_pendulum/inverted_pendulum
modules/11_utils/utils
modules/12_appendix/appendix

Expand Down
12 changes: 0 additions & 12 deletions docs/modules/10_control/control_main.rst

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
Inverted Pendulum Control
-----------------------------
.. _`Inverted Pendulum`:

Inverted Pendulum
------------------

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
horizontally moving base as shown in the adjacent.
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/11_utils/utils_main.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. _utils:
.. _`utils`:

Utilities
==========
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/12_appendix/appendix_main.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. _appendix:
.. _`Appendix`:

Appendix
==============
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,13 @@ Robot type specific technologies

#. :ref:`Aerial Navigation`
#. :ref:`Bipedal`
#. :ref:`Inverted Pendulum`


Additional Information
^^^^^^^^^^^^^^^^^^^^^^^^^^^^

#. :ref:`utils`
#. :ref:`Appendix`


1 change: 1 addition & 0 deletions docs/modules/6_path_tracking/path_tracking_main.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ Path tracking is the ability of a robot to follow the reference path generated b
lqr_speed_and_steering_control/lqr_speed_and_steering_control
model_predictive_speed_and_steering_control/model_predictive_speed_and_steering_control
cgmres_nmpc/cgmres_nmpc
move_to_a_pose_control/move_to_a_pose_control
2 changes: 1 addition & 1 deletion tests/test_inverted_pendulum_lqr_control.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import conftest
from Control.inverted_pendulum import inverted_pendulum_lqr_control as m
from InvertedPendulum import inverted_pendulum_lqr_control as m


def test_1():
Expand Down
2 changes: 1 addition & 1 deletion tests/test_inverted_pendulum_mpc_control.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import conftest

from Control.inverted_pendulum import inverted_pendulum_mpc_control as m
from InvertedPendulum import inverted_pendulum_mpc_control as m


def test1():
Expand Down
2 changes: 1 addition & 1 deletion tests/test_move_to_pose.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import itertools
import numpy as np
import conftest # Add root path to sys.path
from Control.move_to_pose import move_to_pose as m
from PathTracking.move_to_pose import move_to_pose as m


def test_random():
Expand Down
2 changes: 1 addition & 1 deletion tests/test_move_to_pose_robot.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import conftest # Add root path to sys.path
from Control.move_to_pose import move_to_pose as m
from PathTracking.move_to_pose import move_to_pose as m


def test_1():
Expand Down
2 changes: 1 addition & 1 deletion tests/test_mypy_type_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
"AerialNavigation",
"ArmNavigation",
"Bipedal",
"Control",
"Localization",
"Mapping",
"PathPlanning",
"PathTracking",
"SLAM",
"InvertedPendulum"
]


Expand Down