Hi, I've been going over the Gravitational Movement tutorial on RoboWiki however I may have come across an error. Im reluctant to say that it is due to the fact that I may have overlooked something. This is taken directly from the RoboWiki website. These are the declerations: static Point2D.Double[] enemyPoints = new Point2D.Double[NUMBER_OF_ENEMIES]; int count = 0; This is the code: public void onScannedRobot(ScannedRobotEvent e) { double absBearing = e.getBearingRadians() + getHeadingRadians();...
Hi, I've been going over the Gravitational Movement tutorial on RoboWiki however I may have come across an error. Im reluctant to say that it is due to the fact that I may have overlooked something. This is taken directly from the RoboWiki website. These are the declerations: static Point2D.Double[] enemyPoints = new Point2D.Double[NUMBER_OF_ENEMIES]; int count = 0; This is the code: public void onScannedRobot(ScannedRobotEvent e) { double absBearing = e.getBearingRadians() + getHeadingRadians();...
Hi, I've been going over the Gravitational Movement tutorial on RoboWiki however I may have come across an error. Im reluctant to say that it is due to the fact that I may have overlooked something. This is taken directly from the RoboWiki website. These are the declerations: static Point2D.Double[] enemyPoints = new Point2D.Double[NUMBER_OF_ENEMIES]; int count = 0; This is the code: public void onScannedRobot(ScannedRobotEvent e) { double absBearing = e.getBearingRadians() + getHeadingRadians();...