PDA

View Full Version : More accurate compass rotation?



Brotein
06-18-2014, 04:25 PM
Having an issue with the script I'm working on right now.

minimap.setAngle(MM_DIRECTION_SOUTH);

I would say the range of degree rotation is something like 180 +/- 20. This is causing my color searches to get messed up because the camera will rotate too far and reveal more of the scene than is needed.

Now the weird thing is that when you call....

minimap.setAngle(MM_DIRECTION_WEST);

This will rotate 90 +/- 5 o maybe even more accurate than that. So why does calling SOUTH create such a large range and become inaccurate when
WEST is almost, if not, 100% accurate to what it should rotate to?

As an example, calling SOUTH
http://i.imgur.com/tnC9t6u.png

And then WEST
http://i.imgur.com/JnJ2Bkn.png

See the clear accuracy issue?

KeepBotting
06-18-2014, 04:33 PM
Make sure you're using classic camera mode and not RS3

Olly
06-18-2014, 04:58 PM
The accuracy is mostly down-to that the screen keeps rotating after you finish pressing the button so it's kind like guess work. But south is so bad because reading the compass at south is kinda bad, il look into that. :)

Ashaman88
06-18-2014, 07:19 PM
Also turn down the compass sensitivity.. it's one of the settings you can change in rs... it will slow down compass rotation

Brotein
06-19-2014, 03:27 PM
Also turn down the compass sensitivity.. it's one of the settings you can change in rs... it will slow down compass rotation

Thanks I didn't know that was even a setting before. That seems to be doing the trick right now, though the accuracy of South is still something to be noted.