feistybot99
2011-04-25 01:16:11 UTC
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:
Robocode-***@yahoogroups.com
Robocode-***@yahoogroups.com
<*> To unsubscribe from this group, send an email to:
Robocode-***@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
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:
Robocode-***@yahoogroups.com
Robocode-***@yahoogroups.com
<*> To unsubscribe from this group, send an email to:
Robocode-***@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/