Skip to content

Commit

Permalink
Issue #17: Updates the name of a file
Browse files Browse the repository at this point in the history
- Renames the constants file to include the _module notation, to better represent the file type.
  • Loading branch information
exoticDFT committed Feb 6, 2021
1 parent c8e9948 commit 198dc1d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion script/constants.py → script/constants_module.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

# Module to define several constants used throughout the AV stack
MAX_ACCELERATION = 3.0 # [m/s^2] (positive)
MAX_DECELERATION = 9.0 # [m/s^2] (positive)
MAX_JERK = 1.3 # [m/s^3] (positive)
Expand Down
6 changes: 3 additions & 3 deletions script/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
from map_updater import OdometryState

# Import some constants
from constants import MODE_EMERGENCY
from constants import MAX_ACCELERATION, MAX_DECELERATION, MAX_JERK
from constants import FREEFLOW_SPEED
from constants_module import MODE_EMERGENCY
from constants_module import MAX_ACCELERATION, MAX_DECELERATION, MAX_JERK
from constants_module import FREEFLOW_SPEED


class AckermannController:
Expand Down
4 changes: 2 additions & 2 deletions script/trivial_planner.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
from predictor_module import TrajectoryPredictor

# Import some constants
from constants import MODE_NORMAL, MODE_EMERGENCY
from constants import MAX_ACCELERATION, MAX_DECELERATION
from constants_module import MODE_NORMAL, MODE_EMERGENCY
from constants_module import MAX_ACCELERATION, MAX_DECELERATION


class TrivialPlanner:
Expand Down

0 comments on commit 198dc1d

Please sign in to comment.