ROBOTIS-GIT / turtlebot3_machine_learning

Apache License 2.0
119 stars 82 forks source link

Question about the setReward #13

Closed alexofficial closed 5 years ago

alexofficial commented 5 years ago

Hello,

I have a question about the formula used in the setReward:

In the video that you have, the angle is calculated as angle= pi/2 + action * p/8 + Φ but in your enviroment stage is calculated as angle = -pi / 4 + heading + (pi / 8 * i) + pi / 2. Why?

kijongGil commented 5 years ago

Hi @alexofficial :) I'm sorry for late reply. I had a business trip last week. Actually, the angle meaning of the video and the code seems to be a bit confusing. The angle of the video is wrong, angle = -pi/4 + action * pi/8 + Φis right.

kijongGil commented 5 years ago

This issue will be closed since there were no actions for a while. You can reopen this issue to show this issue to the users whenever. Thanks.

meh369 commented 4 years ago

Hi @alexofficial :) I'm sorry for late reply. I had a business trip last week. Actually, the angle meaning of the video and the code seems to be a bit confusing. The angle of the video is wrong, angle = -pi/4 + action * pi/8 + Φis right.

Is Φ, Heading or yaw??

Ac31415 commented 2 years ago

Hi @alexofficial :)

I'm sorry for late reply. I had a business trip last week.

Actually, the angle meaning of the video and the code seems to be a bit confusing.

The angle of the video is wrong, angle = -pi/4 + action * pi/8 + Φis right.

Is Φ, Heading or yaw??

I have the same question, too!