RTE RBC 2oo2 Reference Application 0.1.0 build 0006685
SIL 4 2oo2 Dual-Site Fault-Tolerant ERTMS Radio Block Centre Reference Architecture
Loading...
Searching...
No Matches
ab_gp_proc_position.h
Go to the documentation of this file.
1
8
9#ifndef RTE_EXAMPLE_AB_GP_PROC_POSITION_H
10#define RTE_EXAMPLE_AB_GP_PROC_POSITION_H
11
12#include "ab_gp_ertms_types.h"
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
32 uint32_t nid_lrbg,
33 uint32_t d_lrbg_m,
34 rbc_q_dirlrbg_t q_dirlrbg,
35 uint32_t v_train_kmh,
36 uint32_t m_mode,
37 uint32_t m_level,
38 uint32_t cycle,
39 uint32_t timestamp_ms);
40
48 uint16_t route_id);
49
56
57#ifdef __cplusplus
58}
59#endif
60
61#endif /* RTE_EXAMPLE_AB_GP_PROC_POSITION_H */
bool ab_gp_proc_position_has_exceeded_ma(const ab_gp_ertms_train_context_t *ctx)
Checks if the train has reached or exceeded its Limit of Authority (LOA / EOA).
bool ab_gp_proc_position_is_train_in_route(const ab_gp_ertms_train_context_t *ctx, uint16_t route_id)
Checks if the train is currently located within a specific interlocking route.
bool ab_gp_proc_position_update(ab_gp_ertms_train_context_t *ctx, uint32_t nid_lrbg, uint32_t d_lrbg_m, rbc_q_dirlrbg_t q_dirlrbg, uint32_t v_train_kmh, uint32_t m_mode, uint32_t m_level, uint32_t cycle, uint32_t timestamp_ms)
Processes an inbound Position Report (Msg 136 + Packet 0).
rbc_q_dirlrbg_t
Balise Group Orientation (Q_DIRLRBG) Subset-026 Section 7.5.1.16: 0 = Reverse 1 = Nominal 2 = Unknown...
ERTMS Subset-026 Chapter 5 Operational Procedure Data Types and Enums.
Complete ERTMS state and procedure context for one train slot.