Team2168 / 2014_Main_Robot

Code for the 2014 FRC season.
Other
2 stars 1 forks source link

Vision subsystem problems #1

Closed jcorcoran closed 10 years ago

jcorcoran commented 10 years ago

There is no arraylist in J2ME, so this code won't run on the robot: http://stackoverflow.com/questions/3343212/arraylist-in-j2me

Complete your comments in this class, there's only one and it's an incomplete thought. More Comments!

If this is truely a subsystem (and it should be) the class needs to extend the Subsystem class. We won't be able to use the class in a command or command group if this isn't done.

Add some methods (stubs - fill in with functionality later) that return if the goal is hot, distance to goal, which goal (left/right), etc. That way we can write code that make use of these methods.

Also, work in a branch, don't commit to master. Future commits to master will be removed from the repo.

wshclth commented 10 years ago

Changed data to vectors. Added more comments. Extended subsystem class. Added a method called isHotTarget.

jcorcoran commented 10 years ago

closing, obe