GNSS-SDR 0.0.21
An Open Source GNSS Software Defined Receiver
Loading...
Searching...
No Matches
An_Packet_Printer Class Reference

class that prints PVT solutions in a serial device following a custom version of the Advanced Navigation Packet Protocol. More...

#include <an_packet_printer.h>

Public Member Functions

 An_Packet_Printer (const std::string &an_dump_devname)
 Default constructor.
 ~An_Packet_Printer ()
 Default destructor.
bool print_packet (const Rtklib_Solver *const pvt_data, const std::map< int, Gnss_Synchro > &gnss_observables_map)
 Print AN packet to the initialized device.
void close_serial () const
 Close serial port. Also done in the destructor, this is only for testing.

Detailed Description

class that prints PVT solutions in a serial device following a custom version of the Advanced Navigation Packet Protocol.

Definition at line 73 of file an_packet_printer.h.

Constructor & Destructor Documentation

◆ An_Packet_Printer()

An_Packet_Printer::An_Packet_Printer ( const std::string & an_dump_devname)
explicit

Default constructor.

◆ ~An_Packet_Printer()

An_Packet_Printer::~An_Packet_Printer ( )

Default destructor.

Member Function Documentation

◆ close_serial()

void An_Packet_Printer::close_serial ( ) const

Close serial port. Also done in the destructor, this is only for testing.

◆ print_packet()

bool An_Packet_Printer::print_packet ( const Rtklib_Solver *const pvt_data,
const std::map< int, Gnss_Synchro > & gnss_observables_map )

Print AN packet to the initialized device.


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