The satellite's Global Positioning System (GPS).
More...
#include <artemis_devices.h>
|
Adafruit_GPS * | gps = new Adafruit_GPS(&Serial7) |
| The core sensor object. More...
|
|
The satellite's Global Positioning System (GPS).
◆ read()
void Artemis::Devices::GPS::read |
( |
uint32_t |
uptime | ) |
|
Reads the satellite's GPS data.
This method of the GPS class reads the last known GPS data, stores it in a gpsbeacon, and transmits that beacon to ground.
- Parameters
-
uptime | The time, in milliseconds, since the Teensy has been powered on. |
◆ setup()
bool Artemis::Devices::GPS::setup |
( |
void |
| ) |
|
Sets up the satellite's GPS.
This method of the GPS class sets up the serial connection to the satellite's GPS and applies settings to it.
- Returns
- true The GPS has been successfully set up.
-
false The serial connection to the GPS failed to start.
◆ update()
void Artemis::Devices::GPS::update |
( |
void |
| ) |
|
Update the satellite's GPS.
This method of the GPS class checks the serial connection to see if there is more data to be read in. If there is, it is read in and parsed.
◆ gps
Adafruit_GPS* Artemis::Devices::GPS::gps = new Adafruit_GPS(&Serial7) |
The documentation for this class was generated from the following files: