Skip to content

Commit

Permalink
Added mu tuning parameter to hp guidance
Browse files Browse the repository at this point in the history
  • Loading branch information
Mokaz committed Apr 14, 2024
1 parent df221a6 commit 833642d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
path_generator_order: 1 # Differentiability order
time_to_max_speed: 10.0 # Time to reach maximum speed
dt: 0.1 # Time step
u_desired: 0.5 # Desired speed
u_desired: 0.5 # Desired speed
mu: 0.03 # Tuning parameter
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ def __init__(self):
('hybridpath_guidance.path_generator_order', 1),
('hybridpath_guidance.time_to_max_speed', 10.0),
('hybridpath_guidance.dt', 0.1),
('hybridpath_guidance.u_desired', 0.5)
('hybridpath_guidance.u_desired', 0.5),
('hybridpath_guidance.mu', 0.03)
])

self.waypoint_server = self.create_service(Waypoint, 'waypoint_list', self.waypoint_callback)
Expand All @@ -32,7 +33,7 @@ def __init__(self):
self.path_generator_order = self.get_parameter('hybridpath_guidance.path_generator_order').get_parameter_value().integer_value
self.dt = self.get_parameter('hybridpath_guidance.dt').get_parameter_value().double_value
self.u_desired = self.get_parameter('hybridpath_guidance.u_desired').get_parameter_value().double_value
self.mu = 0.03
self.mu = self.get_parameter('hybridpath_guidance.mu').get_parameter_value().double_value
self.eta = np.zeros(3)

# Flags for logging
Expand Down

0 comments on commit 833642d

Please sign in to comment.