Manual

Copyright © Dr Robot Inc. 2008
44
VI. Constellation system API
VI.1. short GetGPS01( )
Description:
Get the distance measurement (unit: mm) from the LEFT Constellation receiver
module on the car to the selected Constellation transponder (ID = ID1).
Syntax: ival = GetGPS01 ( );
Parameter: void
Return value: short ival
Remarks:
If ival = 0x7fff, it means receiver did not get the distance measurement, the
transponder with ID1 is out of range.
If ival = 0x7ff0, it means receiver did not get any new distance data.
VI.2. short GetGPS02 ( )
Description:
Get the distance measurement (unit: mm) from the LEFT Constellation receiver on
the car to the selected Constellation transponder (ID = ID2).
Syntax: ival = GetGPS02 ( );
Parameter: void
Return value: short ival
Remarks:
If ival = 0x7fff, it means receiver did not get the distance measurement, the
transponder with ID2 is out of range.
If ival = 0x7ff0, it means receiver did not get any new distance data.
VI.3. short GetGPS03 ( )
Description:
Get the distance measurement (unit: mm) from the LEFT Constellation receiver on
the car to the selected Constellation transponder (ID = ID3).
Syntax: ival = GetGPS03 ( );
Parameter: void
Return value: short ival
Remarks:
If ival = 0x7fff, it means receiver did not get the distance measurement, the
transponder with ID3 is out of range.
If ival = 0x7ff0, it means receiver did not get any new distance data.
VI.4. short GetGPS04 ( )
Description:
Get the distance measurement (unit: mm) from the LEFT Constellation receiver on
the car to the selected Constellation transponder (ID = ID4).
Syntax: ival = GetGPS04 ( );