powerbot/RSBot-API — pull request #415 by nightmares18 (2012-07-05 22:15:22+00:00)
Title: Camera Fixes

-Maximum pitch getPitch() returns is 98, so the setPitch() for boolean up true has to be adjusted accordingly.

-The setPitch() method always only did like a fraction of what percent it was suppose to go up to. Therefore the sleep and timer had to be adjusted, now I use the same method with those adjusted sleeps and timer and it works much better. I would say works 100% of the time for me now instead of like 10% of the time. Changed Timer from 100ms to 200ms. Need more time between the last pitch and a new pitch, so the Time.sleep() was also adjusted, not sure if even more is needed, I think it is good at adjusted sleep.