Package jmri.jmrix.rps
This package contains software specific to the RPS system from
NAC Services, Inc.
Tools are provided to input (and eventually output) several layers of information:
- Raw input (Readings)
- Processed values (Measurements)
- ...
- Distributor
- There's exactly one of these. It's basic
function is to handle all the computations. These include:
- Hold the alignment and control information
- Receive Readings
- Distribute the Readings to anybody interested
- Compute Measurements from them
- Distribute the Measurements to whoever is interested
- ControlPanel
- There can be at most one of these, which can manually update the alignment and control information.
- Monitor
- Shows the Readings and Measurements as they are produced.
- SerialAdapter
- Connect (as configured) to a serial port and create Readings for the Distributor
Limitations
- This provides only one computation at a time (through the Distributor), which is a bit of a pain when doing comparative work.
- The alignment constants are stored in a fixed file location in the JMRI preferences directory.
Related Documentation
For overviews, tutorials, examples, guides, and tool documentation, please see:-
Interface Summary Interface Description Calculator Describes a specific method of calculating a measurement.Constants Basic constants for the RPS package and subpackages.MeasurementListener Connect to a source of Measurements.ReadingListener Connect to a source of Readings. -
Class Summary Class Description AbstractCalculator Some helpful implementations and values for Calculators.Algorithms Provide central access to the RPS algorithms.Analytic_AAlgorithm Implementation of RPS location-finding using GPS equations from Sam Storm van Leeuwen <samsvl@nlr.nl>, ported to Java by Norris Weimer <norris.weimer@ualberta.ca>, and ported to JMRI/RPS by Bob Jacobsen.Analytic_AAlgorithm.RetVal Internal class to handle return value.Ash1_0Algorithm Implementation of 1st algorithm for reducing ReadingsAsh1_0Algorithm.RetVal Internal class to handle return value.Ash1_1Algorithm Implementation of version 1.1 algorithm for reducing ReadingsAsh1_1Algorithm.RetVal Internal class to handle return value.Ash2_0Algorithm Implementation of 2nd algorithm for reducing ReadingsAsh2_0Algorithm.RetVal Internal class to handle return value.Ash2_1Algorithm Implementation of 2.1th algorithm for reducing ReadingsAsh2_1Algorithm.RetVal Internal class to handle return value.Ash2_2Algorithm Implementation of 2.1th algorithm for reducing ReadingsAsh2_2Algorithm.RetVal Internal class to handle return value.Bundle Distributor Distributes Readings and the Measurements calculated from them.Distributor.ForwardMeasurement Forward the Measurement from the Swing thread.Distributor.ForwardReading Forward the Reading from the Swing thread.Engine Engine does basic computations of RPS system.InitialAlgorithm Implementation of 1st algorithm for reducing Readings.Measurement Encodes a single measurement point for RPS.Model Model holds RPS representation of layout geometry and logical structure.PollingFile Persist RPS polling information.PositionFile Persist RPS configuration information.Reading Encodes a single set of input values (a "reading") for RPS.Receiver Holds all the state information for a single receiver.Region Represent a region in space for the RPS system.RpsBlock Create a Block that can control a locomotive within a specific Block based on an RpsSensor.RpsConnectionTypeList Get a list of valid RPS Connection Types.RpsMenu Create an "RPS" menu containing the JMRI RPS-specific tools.RpsReporter RPS implementation of the Reporter interface.RpsReporterManager RPS implementation of a ReporterManager.RpsSensor Extend jmri.AbstractSensor for RPS systems.RpsSensorManager Manage the RPS-specific Sensor implementation.RpsSystemConnectionMemo Minimal implementation of SystemConnectionMemo.Transmitter Represents an RPS transmitter, generally a locomotive.