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

Reward modification to stabilize robot #563

Closed
garg-akash opened this issue Nov 16, 2024 · 3 comments
Closed

Reward modification to stabilize robot #563

garg-akash opened this issue Nov 16, 2024 · 3 comments
Assignees

Comments

@garg-akash
Copy link

garg-akash commented Nov 16, 2024

Hello,

Firstly, thank you for providing such an interesting framework.

As I trained a DDPG policy on a Universal Robots model for cube lifting task using dense reward, I noticed that although the robot can pick the cube but it's quite unstable at times (jerk, oscillations etc.). It is most likely due to the fact that the reward function only considers if the robot is approaching the cube and if the cube has been lifted above the tabletop.

Is it a good idea to formulate a custom reward function that penalizes, for example, large robot joint velocity changes? Am I missing something about the environment here?

Thank you for the support in advance!
Akash

@kevin-thankyou-lin
Copy link
Contributor

Sure! Which controller are you using --- is it the OSC controller? Yes - you can certainly try adding extra reward terms in a custom reward function.

@kevin-thankyou-lin kevin-thankyou-lin self-assigned this Nov 16, 2024
@garg-akash
Copy link
Author

Thank you for the prompt reply.

Yes, I'm using OSC controller at the moment.

@kevin-thankyou-lin
Copy link
Contributor

kevin-thankyou-lin commented Nov 17, 2024 via email

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

2 participants