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

About calc_potential() function with husky #120

Open
Berk035 opened this issue Jun 4, 2020 · 0 comments
Open

About calc_potential() function with husky #120

Berk035 opened this issue Jun 4, 2020 · 0 comments

Comments

@Berk035
Copy link

Berk035 commented Jun 4, 2020

Hello dear contributors,

I study with husky robot in a virtual environment about RL. I used (progress) variable that stands for
progress = potential - potential_old . So, I aim that the agent must make progress through target location in environment. The function is calc_potential() for this purpose. I need to understand specific point of the function. Function code is:

def calc_potential(self):
        # progress in potential field is speed*dt, typical speed is about 2-3 meter per second, this potential will change 2-3 per frame (not per second),
        return - self.walk_target_dist / self.scene.dt

This force the agent to go towards to target. But, I need change this situation at some points such as walls, stairs and holes. Let's back to the question:

  • Could you describe definition of potential for husky robot?
  • What is the effect of division self.scene.dt ?
  • What happened if I change self.walk_target_dist with constant parameters? (I think, It forces the agent go faster but I need different sights.)

Thank you in advance. Have a nice day.

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