Skip to content

Commit e3a7d34

Browse files
author
Bharath Balaji
committed
changing action space to default 6 actions
1 parent 4b1a192 commit e3a7d34

File tree

1 file changed

+2
-2
lines changed
  • reinforcement_learning/rl_deepracer_robomaker_coach_gazebo/src/robomaker/environments

1 file changed

+2
-2
lines changed

reinforcement_learning/rl_deepracer_robomaker_coach_gazebo/src/robomaker/environments/deepracer_env.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -427,11 +427,11 @@ def step(self, action):
427427

428428
# Convert discrete to continuous
429429
throttle = 1.0
430-
throttle_multiplier = 2.0
430+
throttle_multiplier = 0.8
431431
throttle = throttle*throttle_multiplier
432432
steering_angle = 0.8
433433

434-
self.throttle, self.steering_angle = self.two_steering_two_throttle_10_states(throttle, steering_angle, action)
434+
self.throttle, self.steering_angle = self.default_6_actions(throttle, steering_angle, action)
435435

436436
self.action_taken = action
437437

0 commit comments

Comments
 (0)