|
RTE RBC 2oo2 Reference Application 0.1.0 build 0006685
SIL 4 2oo2 Dual-Site Fault-Tolerant ERTMS Radio Block Centre Reference Architecture
|
Implementation of ERTMS Subset-026 §5.6 Supervised Location and Position Reporting. More...
Go to the source code of this file.
Functions | |
| 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). | |
| 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_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). | |
Implementation of ERTMS Subset-026 §5.6 Supervised Location and Position Reporting.
Definition in file ab_gp_proc_position.c.
| 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).
| [in,out] | ctx | Train ERTMS context. |
| [in] | nid_lrbg | Last Relevant Balise Group NID. |
| [in] | d_lrbg_m | Reported distance from LRBG in meters. |
| [in] | q_dirlrbg | Reported direction relative to LRBG orientation. |
| [in] | v_train_kmh | Reported train speed in km/h. |
| [in] | m_mode | Active ETCS mode. |
| [in] | m_level | Active ETCS level. |
| [in] | cycle | Current RTE execution cycle. |
| [in] | timestamp_ms | Current timestamp in milliseconds. |
Definition at line 10 of file ab_gp_proc_position.c.
| 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.
| [in] | ctx | Train ERTMS context. |
| [in] | route_id | Interlocking route ID to check. |
Definition at line 108 of file ab_gp_proc_position.c.
| 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).
| [in] | ctx | Train ERTMS context. |
Definition at line 135 of file ab_gp_proc_position.c.