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

what are the actions in agent in rldemo ? #74

Open
Pascal66 opened this issue Sep 26, 2016 · 1 comment
Open

what are the actions in agent in rldemo ? #74

Pascal66 opened this issue Sep 26, 2016 · 1 comment

Comments

@Pascal66
Copy link

this.actions = [];
this.actions.push([1,1]);
this.actions.push([0.8,1]);
this.actions.push([1,0.8]);
this.actions.push([0.5,0]);
this.actions.push([0,0.5]);

@rajshah4
Copy link

I am slowly working through the rldemo and this is what I have:

this.actions.push([1,1]);  //straight ahead, ahead big
this.actions.push([0.8,1]); //loop counterclockwise, turn .2 (where 6.28 is a full circle), ahead medium
this.actions.push([1,0.8]); //loop clockwise, turn .2 (where 6.28 is a full circle), ahead medium
this.actions.push([0.5,0]); //clockwise, turn .5 (where 6.28 is a full circle), ahead small
this.actions.push([0,0.5]); //counterclockwise turn .5 (where 6.28 is a full circle), ahead small

This should help a bit. Sorry that the distance ahead is vague. I am not familiar with the calculations used for moving (two inputs that combine rotation and distance).

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