what are the actions in agent in rldemo ?
Pascal66 opened this issue · comments
Priveyes commented
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]);
Rajiv Shah commented
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).