Re: e.getBearing() returns angles with errors

"feistybot99" <[email protected]>
Newsgroups gmane.comp.java.robocode
Message-ID <[email protected]>

--- In [email protected], "feistybot99" <aprudente_99@...> wrote:
>
> 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
>

Never mind, i found the problem with the angle error. I still have the  question about printing out to the screen. Do I have to show the console window first? Let me know. 

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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.