Josh
2010-03-20 13:50:19 UTC
Hello Robocoders,
I've got a question that I would like to ask. I am in the process of trying to understand linear targeting. From reading at Robowiki, it seems I must start with the "lateral velocity."
The given formula for lateral velocity is:
-----------------------------------------------------------------------
e.getVelocity() * Math.sin(e.getHeadingRadians() - absoluteBearing).
-----------------------------------------------------------------------
where e is the ScannedRobotEvent instance.
I find it hard to understand this equation. Any help would be very helpful!
Thanks for reading,
Josh
------------------------------------
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've got a question that I would like to ask. I am in the process of trying to understand linear targeting. From reading at Robowiki, it seems I must start with the "lateral velocity."
The given formula for lateral velocity is:
-----------------------------------------------------------------------
e.getVelocity() * Math.sin(e.getHeadingRadians() - absoluteBearing).
-----------------------------------------------------------------------
where e is the ScannedRobotEvent instance.
I find it hard to understand this equation. Any help would be very helpful!
Thanks for reading,
Josh
------------------------------------
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/