Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
alekskl01 committed Apr 21, 2024
1 parent 306b355 commit 38956a9
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,18 @@ def __init__(self):
def waypoint_callback(self, request, response):
self.get_logger().info('Received waypoints, generating path...')
self.waypoints = request.waypoint

generator = HybridPathGenerator(self.waypoints, self.path_generator_order, self.lambda_val)
self.path = generator.path

self.waypoints_received = True
self.waiting_message_printed = False # Reset this flag to handle multiple waypoint sets

self.s = 0
signals = HybridPathSignals(self.path, self.s)
self.u_desired = signals.u_desired
self.w = signals.get_w(self.mu, self.eta)

response.success = True
return response

Expand Down

0 comments on commit 38956a9

Please sign in to comment.