#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include "single_diff.h"
#include "sats_management.h"
#include "linear_algebra.h"
Go to the source code of this file.
#define DEBUG_SATS_MAN 0 |
Definition at line 20 of file sats_management.c.
u8 choose_reference_sat | ( | u8 | num_sats, |
sdiff_t * | sats | ||
) |
Definition at line 22 of file sats_management.c.
void init_sats_management | ( | sats_management_t * | sats_management, |
u8 | num_sdiffs, | ||
sdiff_t * | sdiffs, | ||
sdiff_t * | sdiffs_with_ref_first | ||
) |
Definition at line 229 of file sats_management.c.
u8 intersect_sats | ( | u8 | num_sats1, |
u8 | num_sdiffs, | ||
u8 * | sats1, | ||
sdiff_t * | sdiffs, | ||
sdiff_t * | intersection_sats | ||
) |
Definition at line 47 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.
void print_sats_management_short | ( | sats_management_t * | sats_man | ) |
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 | ( | u8 | ref_prn, |
sats_management_t * | sats_management, | ||
u8 | num_sdiffs, | ||
sdiff_t * | sdiffs, | ||
sdiff_t * | sdiffs_with_ref_first | ||
) |
Puts sdiffs into sdiffs_with_ref_first with the sdiff for ref_prn first, while updating sats_management
Definition at line 154 of file sats_management.c.
void set_reference_sat_and_prns | ( | u8 | ref_prn, |
sats_management_t * | sats_management, | ||
u8 | num_sdiffs, | ||
sdiff_t * | sdiffs, | ||
sdiff_t * | sdiffs_with_ref_first | ||
) |
Definition at line 208 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.