MRTKLIB 0.7.14
Modernized GNSS Positioning Library
Loading...
Searching...
No Matches
mrtk_vrs.h
Go to the documentation of this file.
1/*------------------------------------------------------------------------------
2 * mrtk_vrs.h : VRS-RTK positioning type definitions and 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_vrs.h
18 * @brief MRTKLIB VRS-RTK Module — double-differenced RTK using CLAS VRS.
19 *
20 * This header provides the VRS-RTK positioning function that uses
21 * pre-generated virtual reference station observations with CLAS SSR
22 * corrections for double-differenced RTK positioning with LAMBDA PAR.
23 *
24 * @note Functions declared here are implemented in mrtk_vrs.c.
25 */
26#ifndef MRTK_VRS_H
27#define MRTK_VRS_H
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32
34#include "mrtklib/mrtk_nav.h"
35#include "mrtklib/mrtk_obs.h"
36#include "mrtklib/mrtk_rtkpos.h"
37
38/**
39 * @brief VRS-RTK relative positioning.
40 *
41 * Performs double-differenced RTK positioning using rover observations
42 * and pre-generated virtual reference station observations with CLAS
43 * SSR orbit/clock corrections.
44 *
45 * @param[in,out] rtk RTK control/result struct
46 * @param[in] obs Observation data (rover + VRS base, sorted by rcv)
47 * @param[in] nu Number of rover observations (rcv=1)
48 * @param[in] nr Number of base observations per channel [nr[0], nr[1]]
49 * @param[in,out] nav Navigation data (SSR corrections)
50 * @return 1 if solution updated, 0 otherwise
51 */
52extern int relposvrs(rtk_t* rtk, const obsd_t* obs, int nu, int* nr, nav_t* nav);
53
54#ifdef __cplusplus
55}
56#endif
57
58#endif /* MRTK_VRS_H */
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.
MRTKLIB RTK Positioning Module — relative and precise positioning.
int relposvrs(rtk_t *rtk, const obsd_t *obs, int nu, int *nr, nav_t *nav)
VRS-RTK relative positioning.
Definition mrtk_vrs.c:2163
Observation data record.
Definition mrtk_obs.h:44