MonoBrick EV3 Firmware
Public Member Functions | Properties | List of all members
MonoBrickFirmware.Sensors.BeaconLocation Class Reference

Class for IR beacon location. More...

Public Member Functions

 BeaconLocation (sbyte location, sbyte distance)
 Initializes a new instance of the MonoBrickFirmware.IO.IRBeaconLocation class. More...
 

Properties

sbyte Location [get, set]
 Gets the location of the beacon ranging from minus to plus increasing clockwise when pointing towards the beacon More...
 
sbyte Distance [get, set]
 Gets the distance of the beacon in CM (0-100) More...
 

Detailed Description

Class for IR beacon location.

Constructor & Destructor Documentation

MonoBrickFirmware.Sensors.BeaconLocation.BeaconLocation ( sbyte  location,
sbyte  distance 
)
inline

Initializes a new instance of the MonoBrickFirmware.IO.IRBeaconLocation class.

Parameters
locationLocation.
distanceDistance.

Property Documentation

sbyte MonoBrickFirmware.Sensors.BeaconLocation.Distance
getset

Gets the distance of the beacon in CM (0-100)

The distance to the beacon.

sbyte MonoBrickFirmware.Sensors.BeaconLocation.Location
getset

Gets the location of the beacon ranging from minus to plus increasing clockwise when pointing towards the beacon

The location of the beacon.


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