MRTKLIB 0.7.14
Modernized GNSS Positioning Library
Loading...
Searching...
No Matches
mrtk_ppp_ar.h
Go to the documentation of this file.
1/*------------------------------------------------------------------------------
2 * mrtk_ppp_ar.h : PPP ambiguity resolution 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_ppp_ar.h
18 * @brief MRTKLIB PPP Ambiguity Resolution Module.
19 *
20 * This header provides the PPP ambiguity resolution function using
21 * integer least-squares estimation (ILS) with the LAMBDA/MLAMBDA method.
22 *
23 * @note Functions declared here are implemented in mrtk_ppp_ar.c.
24 */
25#ifndef MRTK_PPP_AR_H
26#define MRTK_PPP_AR_H
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
34#include "mrtklib/mrtk_nav.h"
35#include "mrtklib/mrtk_obs.h"
36#include "mrtklib/mrtk_rtkpos.h"
37
38/**
39 * @brief Ambiguity resolution in PPP.
40 * @param[in] ctx Runtime context (NULL = use global)
41 * @param[in,out] rtk RTK control/result struct
42 * @param[in] obs Observation data
43 * @param[in] n Number of observation data
44 * @param[in,out] exc Satellite exclusion flags
45 * @param[in] nav Navigation data
46 * @param[in] azel Azimuth/elevation angles (rad)
47 * @param[in,out] x Float states
48 * @param[in,out] P Float covariance
49 * @return Status (0: no resolution, 1: success)
50 */
51int ppp_ar(mrtk_ctx_t* ctx, rtk_t* rtk, const obsd_t* obs, int n, int* exc, const nav_t* nav, const double* azel,
52 double* x, double* P);
53
54#ifdef __cplusplus
55}
56#endif
57
58#endif /* MRTK_PPP_AR_H */
MRTKLIB Context — runtime context for processing, trace, and error handling.
struct nav_s nav_t
Definition mrtk_eph.h:40
MRTKLIB Foundation — Common types, standard includes, and system constants (MAXSAT,...
MRTKLIB Navigation Module — Navigation data types and satellite/nav utility functions.
MRTKLIB Observation Module — Observation data types and utility functions.
int ppp_ar(mrtk_ctx_t *ctx, rtk_t *rtk, const obsd_t *obs, int n, int *exc, const nav_t *nav, const double *azel, double *x, double *P)
Ambiguity resolution in PPP.
MRTKLIB RTK Positioning Module — relative and precise positioning.
Runtime context for MRTKLIB processing.
Observation data record.
Definition mrtk_obs.h:44