#include <northstar_interface.h>
Public Member Functions | |
unsigned int | sequenceNo () const |
char | roomId () const |
unsigned char | numSpotsVisible () const |
signed short | posX () const |
signed short | posY () const |
float | posTheta () const |
unsigned short | magSpot0 () const |
unsigned short | magSpot1 () const |
void | setSequenceNo (unsigned int number) |
void | incSequenceNo () |
void | setRoomId (char roomId) |
void | setNumSpotsVisible (unsigned char numSpotsVisible) |
void | setPosX (signed short posX) |
void | setPosY (signed short posY) |
void | setPosTheta (float posTheta) |
void | setMagSpot0 (unsigned short magSpot0) |
void | setMagSpot1 (unsigned short magSpot1) |
void | reset () |
This class holds data delivered by the NorthStar sensor
unsigned int NorthStarReadings::sequenceNo | ( | ) | const [inline] |
The sequence number is increased whenever th Northstar delivers new data.
char NorthStarReadings::roomId | ( | ) | const [inline] |
The current room id.
unsigned char NorthStarReadings::numSpotsVisible | ( | ) | const [inline] |
The number of visible spots.
signed short NorthStarReadings::posX | ( | ) | const [inline] |
The current position in x direction. The scale depends on the calibration.
signed short NorthStarReadings::posY | ( | ) | const [inline] |
The current position in y direction. The scale depends on the calibration.
float NorthStarReadings::posTheta | ( | ) | const [inline] |
The current orientation in degrees.
unsigned short NorthStarReadings::magSpot0 | ( | ) | const [inline] |
The signal strength of spot 1.
unsigned short NorthStarReadings::magSpot1 | ( | ) | const [inline] |
The signal strength of spot 2.
void NorthStarReadings::setSequenceNo | ( | unsigned int | number | ) | [inline] |
void NorthStarReadings::reset | ( | ) | [inline] |
Reset all values to default.