gdsl / SOFTENG-306-PROJECT-1

1 stars 0 forks source link

Movement #5

Closed gdsl closed 9 years ago

gdsl commented 9 years ago

Hi guys have changed movement quite a bit now implementing a queue structure. So to add movement now do addMovement(type,amount,velocity) eg addMovement("forward_x",1,1) this will move 1 meter forward in x direction face should still work

gdsl commented 9 years ago

also i changed animal so it does this

gdsl commented 9 years ago

also faceSouth() etc etc still work i have changed them

Wal8800 commented 9 years ago

I change some code in animal and fixed the merge conflict. I pushed it now, can you check does simulation still work ? not sure if i broke anything

gdsl commented 9 years ago

looks ok

Wal8800 commented 9 years ago

Gyver can you explain how does your movement queue works ?

Wal8800 commented 9 years ago

screenshot from 2015-08-11 19 43 22 is the picker robot suppose to go to that row ?

nikhilprasad1 commented 9 years ago

uh what the hell

Wal8800 commented 9 years ago

Also for example, the dog starting at -36,18. I want to the dog to turn east, move forward until 0,18 then turn west and move forward until it get backs to -36,18 Is the following code right ?

alphaDog.faceEast(1) alphaDog.addMovement("forward_x", 36, 1); alphaDog.faceWest(1) alphaDog.addMovement("forward_x, 36, 1);

gdsl commented 9 years ago

yes your code looks good. The picture you should is weird that happened to me once but when i restart that doesnt happen