View Single Post
  #5   Spotlight this post!  
Unread 10-03-2014, 22:42
MatthewC529 MatthewC529 is offline
Lcom/mattc/halp;
AKA: Matthew
FRC #1554 (Oceanside Sailors)
Team Role: Mentor
 
Join Date: Feb 2014
Rookie Year: 2013
Location: New York
Posts: 39
MatthewC529 is on a distinguished road
Re: Java Questions and Concerns

Quote:
Originally Posted by Ether View Post
Just curious: what extra Math Functions did you have in mind?



I suppose my main focus would be on teaching recursion and the core computer science curriculum as well as extra bits, albeit without the over-abstraction. Since I have no implementation as of now I can show you what I am basing it off of.

This Interpolation Class and This Math Class. The Math Class would not nearly be as extensive except I would centralize the functions offered by Squawk and Java ME into the class just for ease of use. Likely the interpolation class would come with either a JavaFX or Javax.Swing demo to demonstrate how the functions work and what results they yield for values.

I mention interpolation specifically because the problem I have seen from past code, at least for my team, is that the implementation for acceleration and deceleration are somewhat jittery although it is likely Linear Interpolation would be enough. Also what I do depends on if we do get Java SE 7, I could make a much more powerful library in that case that wraps around the WPI Core Classes.

Other stuff I would probably add, since this is focused on my team though it will be open source, is Thread Management and Implementation as well as Event Timing. What I want to do and what I will do all depends on what I can do with the robot after the competition. And I am not the best at coming up with things off the top of my head so sorry if any of it seems redundant.

Last edited by MatthewC529 : 10-03-2014 at 22:43. Reason: Wrong Word
Reply With Quote