ark::gps::NmeaInterfaceStage

Defined in header “ark/gps/stages/nmea_interface_stage.hh”.


This is a simple pipeline stages that spins up a thread in the background and then processing NMEA strings coming in from a serial device. It publishes these out to the rest of the network.

Methods

  • NmeaInterfaceStage(std::string name)
    Constructor.

  • ~NmeaInterfaceStage()
    Destructor.

  • void initialize(pipeline::StageInterface & interface)
    Called from the executor when we are initialized.

  • void start()
    Called to start this stage; this constructs the background thread that talks to the GPS.

  • void shutdown()
    Called on shutdown, when the pipeline is finishing execution. This gives you a chance to finish out any outstanding work before your destructors are called.