Skip to content

Commit

Permalink
Update IMITATION_LEARNING.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan-267 authored Jan 30, 2024
1 parent 02a87b7 commit c811fa1
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions docs/IMITATION_LEARNING.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,15 @@ to manually set the values.

> [!NOTE]
> `set_action()` will be called just before `get_action()`, so the demo recorder will record the currently applied
> action
> for the current state/observations.
> action for the current state/observations.
> [!TIP]
> The values in the array that `get_action()` returns should be in the same order as the action keys defined in
> `func get_action_space()`. For continous actions:
> If an action is size 1, that means add one value to the array.
> If an action is size 2, add two values for that action.
> If an action is size 2, and the next action is size 1, add two values for the first action,
> then one value for the second.
Now we can simplify the heuristic handling code (for when "human control" mode is used) in robot.gd.

Expand Down

0 comments on commit c811fa1

Please sign in to comment.