RiverRat  - An MIT iCampus project http://web.mit.edu/riverrat/

Main Page | Software Documentation | Hardware Documentation | People | Contact | Wiki

Main Page | Class Hierarchy | Class List | File List | Class Members

riverrat.StaticMark Class Reference

Finished prototype - A Mark that does not have a position sensor onboard, and cannot be updated. More...

Inheritance diagram for riverrat.StaticMark:

riverrat.Mark riverrat.RaceObject List of all members.

Public Member Functions

 StaticMark (int newid)
void update (Fix newfix) throws StaticMarkException
 Updates the target's current position with a Fix.


Detailed Description

Finished prototype - A Mark that does not have a position sensor onboard, and cannot be updated.

Definition at line 6 of file StaticMark.java.


Member Function Documentation

void riverrat.StaticMark.update Fix  newfix  )  throws StaticMarkException
 

Updates the target's current position with a Fix.

Shifts the current position into the top of the track Vector, and updates the target's heading based on the previous position, if the heading has not already been defined in the argument Fix. The track Vector is managed to ensure that it stays the right size.

Parameters:
newfix a Fix with the new position

Reimplemented from riverrat.RaceObject.

Definition at line 19 of file StaticMark.java.


The documentation for this class was generated from the following file:  

Brought to you by the RiverRat team.