#include <Bicam.h>
BicamTrigger triggers an image capture via the Lantronix XPort. Camera trigger is connected to XPort GPIO pins. BicamTrigger uses an XPort object to activate and deactivate the GPIO pins.
Public Member Functions | |
| BicamGPS () | |
| Default no argument constructor. | |
| BicamGPS (XPort *pXPort) | |
| Initializing constructor. | |
| BicamGPS (char *host, int serialIPPort) | |
| Initializing constructor. | |
| ~BicamGPS () | |
| Default destructor. | |
| int | configure (XPort *pXPort) |
| Configure XPort parameters. | |
| GPGGA * | getGPGGA () |
| |
| GPRMC * | getGPRMC () |
| |
| XPort * | getXPort () |
| |
| void | setXPort (XPort *xp) |
| Set XPort member variable. | |
| XPort * | connect (char *host, int serialIPPort) |
| Establish XPort socket connections for serial communications. | |
| int | initialize () |
| Initialize BicamGPS member variables. | |
| int | writeNMEA () |
| Write NMEA GPGGA and GPRMC messages to XPort serial port. | |
| int | update (time_t timaVal, double lat, double lon, double alt) |
| Update lat, lon , alt, and time for NMEA messages. | |
| double | getLat () |
| |
| double | getLon () |
| |
| double | getAlt () |
| |
Protected Member Functions | |
| int | initNMEA () |
| Initialize NMEA fields. | |
| int | degrees (double value) |
| |
| double | decimalMinutes (double value) |
| |
Protected Attributes | |
| XPort * | xport |
| Lantronix XPort single port terminal server w/ GPIO. | |
| GPGGA | gpgga |
| GPGGA NMEA message. | |
| GPRMC | gprmc |
| GPRMC NMEA message. | |
| double | latitude |
| current latitude (decimal degrees) | |
| double | longitude |
| current longitude (decimal degrees) | |
| double | altitude |
| current alttitude (m) | |
| boolean | initialized |
| Indicates whether the NMEA messages are initialized. | |
| BicamGPS::BicamGPS | ( | char * | host, | |
| int | serialIPPort | |||
| ) |
| int BicamGPS::initNMEA | ( | ) | [protected] |
| int BicamGPS::degrees | ( | double | value | ) | [protected] |
| value | decimal degrees |
| double BicamGPS::decimalMinutes | ( | double | value | ) | [protected] |
| value | decimal degrees |
| int BicamGPS::configure | ( | XPort * | pXPort | ) |
| XPort * BicamGPS::connect | ( | char * | host, | |
| int | serialIPPort | |||
| ) |
| int BicamGPS::writeNMEA | ( | ) |
| int BicamGPS::update | ( | time_t | timeVal, | |
| double | lat, | |||
| double | lon, | |||
| double | alt | |||
| ) |
GPGGA BicamGPS::gpgga [protected] |
GPRMC BicamGPS::gprmc [protected] |
1.5.4