e.getBearing() returns angles with errors
"feistybot99" <[email protected]>
| Newsgroups | gmane.comp.java.robocode |
|---|---|
| Message-ID | <[email protected]> |
Hi
I am relatively new to Robo as well as Java but I have a question:
When I use e.getBearing() the angle returned has a significant error, like around 25 degrees. I thnk its because the the beam width is too wide. Its around 30 deg. So I can't get an accurate fix on the enemy. How can I make the beam width narrower or otherwise get a more accurate bearing?
Another question, how can I print data to the screen or console window? The program seems to ignore out.println
kind regards,
andrew
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Robocode/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/Robocode/join
(Yahoo! ID required)
<*> To change settings via email:
[email protected]
[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/