alcemirfernandes / pynguin

Automatically exported from code.google.com/p/pynguin
GNU General Public License v3.0
0 stars 0 forks source link

turnto() requires an unexpected amount of, well, turning #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.  Run pynguin for a while, turning around, etc.
2.  turnto(0)
3.  Note that it takes quite a while for the penguin to turn to 0--in 
particular, it spins round and round.

What is the expected output? What do you see instead?
turning directly to 0.  instead, the penguin turns for quite a while before 
stopping.  It seems like maybe the behavior of turnto relies on some cumulative 
number keeping track of how much the penguin has turned, and it unwinds all 
those turns, instead of the number of degrees turned % 360?

What version of the product are you using? On what operating system?
0.8, Ubuntu 9.10.

Please provide any additional information below.

Original issue reported on code.google.com by aresnick...@gmail.com on 8 Jun 2010 at 11:09

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 33016e3070.

Original comment by miss...@hotmail.com on 9 Jun 2010 at 2:09