![]() |
GNSS-SDR 0.0.21
An Open Source GNSS Software Defined Receiver
|
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< PvtInterface > | get_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. | |
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.
| 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 | ( | ) |
Destructor.
| void GNSSFlowgraph::acquisition_manager | ( | unsigned int | who | ) |
Manage satellite acquisition.
| [in] | who | Channel ID |
| void GNSSFlowgraph::apply_action | ( | unsigned int | who, |
| unsigned int | what ) |
Applies an action to the flow graph.
| [in] | who | Who generated the action |
| [in] | what | What is the action. 0: acquisition failed; 1: acquisition success; 2: tracking lost |
| void GNSSFlowgraph::connect | ( | ) |
Connects the defined blocks in the flow graph.
Signal Source > Signal conditioner > Channels >> Observables >> PVT > Output filter
|
inline |
Definition at line 131 of file gnss_flowgraph.h.
| void GNSSFlowgraph::disconnect | ( | ) |
Disconnect the blocks in the flow graph.
|
inline |
Returns a smart pointer to the PVT object.
Definition at line 151 of file gnss_flowgraph.h.
| void GNSSFlowgraph::priorize_satellites | ( | const std::vector< std::pair< int, Gnss_Satellite > > & | visible_satellites | ) |
Prioritize visible satellites in the specified vector.
|
inline |
Definition at line 136 of file gnss_flowgraph.h.
| 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
| void GNSSFlowgraph::set_configuration | ( | const std::shared_ptr< ConfigurationInterface > & | configuration | ) |
Set flow graph configuratiob.
| void GNSSFlowgraph::start | ( | ) |
Start the flow graph.
| void GNSSFlowgraph::stop | ( | ) |
Stop the flow graph.
| 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.