Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
import numpy as np
import scipy.linalg as la
import pathlib
from utils.angle import angle_mod
sys.path.append(str(pathlib.Path(__file__).parent.parent.parent))

sys.path.append(str(pathlib.Path(__file__).parent.parent.parent))
from utils.angle import angle_mod
from PathPlanning.CubicSpline import cubic_spline_planner

# === Parameters =====
Expand Down
4 changes: 2 additions & 2 deletions PathTracking/lqr_steer_control/lqr_steer_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
import numpy as np
import sys
import pathlib
from utils.angle import angle_mod
sys.path.append(str(pathlib.Path(__file__).parent.parent.parent))

sys.path.append(str(pathlib.Path(__file__).parent.parent.parent))
from utils.angle import angle_mod
from PathPlanning.CubicSpline import cubic_spline_planner

Kp = 1.0 # speed proportional gain
Expand Down
7 changes: 5 additions & 2 deletions PathTracking/rear_wheel_feedback/rear_wheel_feedback.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,14 @@
import matplotlib.pyplot as plt
import math
import numpy as np
from utils.angle import angle_mod

import sys
import pathlib
from scipy import interpolate
from scipy import optimize

sys.path.append(str(pathlib.Path(__file__).parent.parent.parent))
from utils.angle import angle_mod

Kp = 1.0 # speed proportional gain
# steering control parameter
KTH = 1.0
Expand Down
4 changes: 2 additions & 2 deletions PathTracking/stanley_controller/stanley_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
import matplotlib.pyplot as plt
import sys
import pathlib
from utils.angle import angle_mod
sys.path.append(str(pathlib.Path(__file__).parent.parent.parent))

sys.path.append(str(pathlib.Path(__file__).parent.parent.parent))
from utils.angle import angle_mod
from PathPlanning.CubicSpline import cubic_spline_planner

k = 0.5 # control gain
Expand Down