MRTKLIB 0.7.14
Modernized GNSS Positioning Library
Loading...
Searching...
No Matches
mrtk_fcb.h
Go to the documentation of this file.
1/*------------------------------------------------------------------------------
2 * mrtk_fcb.h : fractional cycle bias (FCB) functions
3 *
4 * Copyright (C) 2026 H.SHIONO (MRTKLIB Project)
5 * Copyright (C) 2023-2025 Cabinet Office, Japan
6 * Copyright (C) 2024-2025 Lighthouse Technology & Consulting Co. Ltd.
7 * Copyright (C) 2023-2025 Japan Aerospace Exploration Agency
8 * Copyright (C) 2023-2025 TOSHIBA ELECTRONIC TECHNOLOGIES CORPORATION
9 * Copyright (C) 2015- Mitsubishi Electric Corp.
10 * Copyright (C) 2014 Geospatial Information Authority of Japan
11 * Copyright (C) 2014 T.SUZUKI
12 * Copyright (C) 2007-2023 T.TAKASU
13 *
14 * SPDX-License-Identifier: BSD-2-Clause
15 *----------------------------------------------------------------------------*/
16/**
17 * @file mrtk_fcb.h
18 * @brief MRTKLIB FCB Module — Fractional Cycle Bias data types and functions.
19 *
20 * This header provides FCB (Fractional Cycle Bias) read and update functions,
21 * extracted from readfcb.c with zero algorithmic changes.
22 *
23 * @note Functions declared here are implemented in mrtk_fcb.c.
24 */
25#ifndef MRTK_FCB_H
26#define MRTK_FCB_H
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
32#include "mrtklib/mrtk_nav.h"
33#include "mrtklib/mrtk_time.h"
34
35/*============================================================================
36 * FCB Functions
37 *===========================================================================*/
38
39/**
40 * @brief Read FCB (Fractional Cycle Bias) file.
41 * @param[in] file FCB file path (wild-card * expanded)
42 * @return Status (1: success, 0: failure)
43 */
44int readfcb(const char* file);
45
46/**
47 * @brief Update satellite FCB structure with current biases.
48 * @param[out] osb FCB structure to update
49 * @param[in] gt Current time
50 * @param[in] mode Mode (0: current, 1: all)
51 * @return Number of updated biases
52 */
53int udfcb_sat(osb_t* osb, gtime_t gt, int mode);
54
55#ifdef __cplusplus
56}
57#endif
58
59#endif /* MRTK_FCB_H */
int udfcb_sat(osb_t *osb, gtime_t gt, int mode)
Update satellite FCB structure with current biases.
Definition mrtk_fcb.c:169
int readfcb(const char *file)
Read FCB (Fractional Cycle Bias) file.
Definition mrtk_fcb.c:136
MRTKLIB Navigation Module — Navigation data types and satellite/nav utility functions.
MRTKLIB Time Module — GNSS time types and conversion functions.
GNSS time representation.
Definition mrtk_time.h:49