Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ChinYikMing committed Dec 4, 2023
1 parent e9063d9 commit cce88f4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ def control_stop_and_reverse(self):
self.info.output.throttle = 0.0

elif numpy.sign(self.info.current.speed) * numpy.sign(self.info.target.speed) == -1:
# requrest for change of driving direction
# request for change of driving direction
# first we have to come to full stop before changing driving
# direction
self.loginfo("VehicleControl: Request change of driving direction."
Expand Down Expand Up @@ -491,7 +491,7 @@ def update_drive_vehicle_control_command(self):
self.vehicle_info, self.vehicle_status, self.info.output.reverse)

# the engine lay off acceleration defines the size of the coasting area
# Interpretation: The engine already prforms braking on its own;
# Interpretation: The engine already performs braking on its own;
# therefore pushing the brake is not required for small decelerations
self.info.status.brake_upper_border = self.info.status.throttle_lower_border + \
phys.get_vehicle_lay_off_engine_acceleration(self.vehicle_info)
Expand Down

0 comments on commit cce88f4

Please sign in to comment.