1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-02-03 04:39:17 +00:00

Avoid copying nearly 4KB of data every time we call vtl_loop()

This commit is contained in:
Victor Castillo 2024-10-06 16:29:47 +02:00
parent 8636aa1788
commit 3aae8c1614
No known key found for this signature in database
GPG Key ID: 8EF1FC8B7182F608
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ Vtl_Engine::~Vtl_Engine()
{
}
bool Vtl_Engine::vtl_loop(Vtl_Data new_data)
bool Vtl_Engine::vtl_loop(const Vtl_Data& new_data)
{
// TODO: Implement main VTL loop here
using arma::as_scalar;

View File

@ -42,7 +42,7 @@ public:
void configure(Vtl_Conf config_); // set config parameters
// TODO: output functions here (output for tracking KF updates, VTL computed user PVT, etc...)
bool vtl_loop(Vtl_Data new_data);
bool vtl_loop(const Vtl_Data& new_data);
void reset(); // reset all internal states
void debug_print(); // print debug information