ROBOTIS-GIT / turtlebot3_machine_learning

Apache License 2.0
121 stars 82 forks source link

Reward Function #34

Closed RiyaPahwa closed 4 years ago

RiyaPahwa commented 4 years ago

Kindly explain the Reward Function used in this code. How is the reward calculated for angular movements?

ROBOTIS-Will commented 4 years ago

@RiyaPahwa The Reward Function in the code is calculated with multiplication of the Angular Reward Function by Distance Reward Function. The Angular Reward Function is based on a trigonometric function to get a value between -1 to 1. Thank you.