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

This class represents a GNSS flow graph. More...

#include <gnss_flowgraph.h>

Public Member Functions

 GNSSFlowgraph (std::shared_ptr< ConfigurationInterface > configuration, std::shared_ptr< Concurrent_Queue< pmt::pmt_t > > queue)
 Constructor that initializes the receiver flow graph.
 ~GNSSFlowgraph ()
 Destructor.
void start ()
 Start the flow graph.
void stop ()
 Stop the flow graph.
void connect ()
 Connects the defined blocks in the flow graph.
void disconnect ()
 Disconnect the blocks in the flow graph.
void wait ()
 Wait for a flowgraph to complete.
void acquisition_manager (unsigned int who)
 Manage satellite acquisition.
void apply_action (unsigned int who, unsigned int what)
 Applies an action to the flow graph.
void set_configuration (const std::shared_ptr< ConfigurationInterface > &configuration)
 Set flow graph configuratiob.
bool connected () const
bool running () const
bool send_telemetry_msg (const pmt::pmt_t &msg)
 Sends a GNU Radio asynchronous message from telemetry to PVT.
std::shared_ptr< PvtInterfaceget_pvt ()
 Returns a smart pointer to the PVT object.
void priorize_satellites (const std::vector< std::pair< int, Gnss_Satellite > > &visible_satellites)
 Prioritize visible satellites in the specified vector.

Detailed Description

This class represents a GNSS flow graph.

It contains a signal source, a signal conditioner, a set of channels, a PVT and an output filter.

Definition at line 67 of file gnss_flowgraph.h.

Constructor & Destructor Documentation

◆ GNSSFlowgraph()

GNSSFlowgraph::GNSSFlowgraph ( std::shared_ptr< ConfigurationInterface > configuration,
std::shared_ptr< Concurrent_Queue< pmt::pmt_t > > queue )

Constructor that initializes the receiver flow graph.

◆ ~GNSSFlowgraph()

GNSSFlowgraph::~GNSSFlowgraph ( )

Destructor.

Member Function Documentation

◆ acquisition_manager()

void GNSSFlowgraph::acquisition_manager ( unsigned int who)

Manage satellite acquisition.

Parameters
[in]whoChannel ID

◆ apply_action()

void GNSSFlowgraph::apply_action ( unsigned int who,
unsigned int what )

Applies an action to the flow graph.

Parameters
[in]whoWho generated the action
[in]whatWhat is the action. 0: acquisition failed; 1: acquisition success; 2: tracking lost

◆ connect()

void GNSSFlowgraph::connect ( )

Connects the defined blocks in the flow graph.

Signal Source > Signal conditioner > Channels >> Observables >> PVT > Output filter

◆ connected()

bool GNSSFlowgraph::connected ( ) const
inline

Definition at line 131 of file gnss_flowgraph.h.

◆ disconnect()

void GNSSFlowgraph::disconnect ( )

Disconnect the blocks in the flow graph.

◆ get_pvt()

std::shared_ptr< PvtInterface > GNSSFlowgraph::get_pvt ( )
inline

Returns a smart pointer to the PVT object.

Definition at line 151 of file gnss_flowgraph.h.

◆ priorize_satellites()

void GNSSFlowgraph::priorize_satellites ( const std::vector< std::pair< int, Gnss_Satellite > > & visible_satellites)

Prioritize visible satellites in the specified vector.

◆ running()

bool GNSSFlowgraph::running ( ) const
inline

Definition at line 136 of file gnss_flowgraph.h.

◆ send_telemetry_msg()

bool GNSSFlowgraph::send_telemetry_msg ( const pmt::pmt_t & msg)

Sends a GNU Radio asynchronous message from telemetry to PVT.

It is used to assist the receiver with external ephemeris data

◆ set_configuration()

void GNSSFlowgraph::set_configuration ( const std::shared_ptr< ConfigurationInterface > & configuration)

Set flow graph configuratiob.

◆ start()

void GNSSFlowgraph::start ( )

Start the flow graph.

◆ stop()

void GNSSFlowgraph::stop ( )

Stop the flow graph.

◆ wait()

void GNSSFlowgraph::wait ( )

Wait for a flowgraph to complete.

Flowgraphs complete when either (1) all blocks indicate that they are done, or (2) after stop() has been called to request shutdown.


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