Hacker News new | ask | show | jobs
by pramalin 4103 days ago
I have started and coached a new FIRST Robotics Competition team last year for 2014-2015 season and wanted to use Java. Initially I thought the programming would be very complicated for the high school students, many of whom didn't have any prior programming experience.

How can you control the speed of the robot proportional to the pressure applied on the joystick for example?. However, I was very pleased with the WPILib framework that comes with the kit. This can be accomplished by essentially a single line like (ignoring the variable initialization),

    myRobot.arcade(stick);
http://wpilib.screenstepslive.com/s/4485/m/13809/l/145307-cr...