#646 goto driver turns the long way really fast sometimes

Release-3.0
closed-accepted
Player (393)
5
2011-07-17
2011-07-12
Jayen Ashar
No

Hi,

I had a problem when turning in place, the goto driver goto driver sometimes turned the long way really fast. The attached patch fixes this and includes some other small changes:
- "last_dir" is removed
- "angle_diff" is simplified
- when turning in place, "ad" has the correct sign
- when turning in place, angular velocity is limited by "min_angular_vel" and "max_angular_vel"

Discussion

  • Jayen Ashar

    Jayen Ashar - 2011-07-12

    goto driver turning in place correctly and honouring min_ and max_ angular_vel

     
    Attachments
  • Rich Mattes

    Rich Mattes - 2011-07-17
    • status: open --> closed-accepted
     
  • Rich Mattes

    Rich Mattes - 2011-07-17

    The changes have been made in SVN trunk.
    Thank you for your contribution.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks