Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In _get_reward() function,what's the mean of setting the reward about plane_heading and plane_heading2? #77

Open
8acemak1rkey opened this issue Oct 20, 2023 · 0 comments

Comments

@8acemak1rkey
Copy link

if self.plane_heading>180:
deger_1 = (self.plane_heading-360)
else:
deger_1 = self.plane_heading

    if self.plane_heading_2>180:
        deger_2 = (self.plane_heading_2-360)
    else:
        deger_2 = self.plane_heading_2
    self.reward -= abs(deger_1-deger_2)/90

I don't know what's the meaning of this reward setting.
I don't know what's the meaning of this code.
What do these equations mean?
Thank you very much for your reply!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant