Classes | Defines | Functions
sats_management.h File Reference
#include "constants.h"
#include "single_diff.h"
Include dependency graph for sats_management.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  sats_management_t

Defines

#define INTERSECTION_SATS_THRESHOLD_SIZE   2
#define NEW_REF   1
#define NEW_REF_START_OVER   -1
#define OLD_REF   0

Functions

void init_sats_management (sats_management_t *sats_management, u8 num_sats, sdiff_t *sdiffs, sdiff_t *sdiffs_with_ref_first)
s8 match_sdiffs_to_sats_man (sats_management_t *sats, u8 num_sdiffs, sdiff_t *sdiffs, sdiff_t *sdiffs_with_ref_first)
void print_sats_management (sats_management_t *sats_management)
void print_sats_management_short (sats_management_t *sats_management)
s8 rebase_sats_management (sats_management_t *sats_management, u8 num_sats, sdiff_t *sdiffs, sdiff_t *sdiffs_with_ref_first)
void set_reference_sat_of_prns (u8 ref_prn, u8 num_sats, u8 *prns)
void update_sats_sats_management (sats_management_t *sats_management, u8 num_non_ref_sdiffs, sdiff_t *non_ref_sdiffs)

Define Documentation

Definition at line 23 of file sats_management.h.

#define NEW_REF   1

Definition at line 20 of file sats_management.h.

#define NEW_REF_START_OVER   -1

Definition at line 21 of file sats_management.h.

#define OLD_REF   0

Definition at line 19 of file sats_management.h.


Function Documentation

void init_sats_management ( sats_management_t sats_management,
u8  num_sats,
sdiff_t sdiffs,
sdiff_t sdiffs_with_ref_first 
)

Definition at line 229 of file sats_management.c.

s8 match_sdiffs_to_sats_man ( sats_management_t sats,
u8  num_sdiffs,
sdiff_t sdiffs,
sdiff_t sdiffs_with_ref_first 
)

Definition at line 341 of file sats_management.c.

void print_sats_management ( sats_management_t sats_management)

Prints one prn per line

Definition at line 252 of file sats_management.c.

Prints all prns on one line

Definition at line 260 of file sats_management.c.

s8 rebase_sats_management ( sats_management_t sats_management,
u8  num_sdiffs,
sdiff_t sdiffs,
sdiff_t sdiffs_with_ref_first 
)

Updates sats to the new measurements' sat set

Definition at line 271 of file sats_management.c.

void set_reference_sat_of_prns ( u8  ref_prn,
u8  num_sats,
u8 prns 
)

Puts sdiffs into sdiffs_with_ref_first with the sdiff for ref_prn first

Definition at line 121 of file sats_management.c.

void update_sats_sats_management ( sats_management_t sats_management,
u8  num_non_ref_sdiffs,
sdiff_t non_ref_sdiffs 
)

Definition at line 331 of file sats_management.c.



swiftnav
Author(s):
autogenerated on Sat Jun 8 2019 18:56:55