obu-firmware builds against vanetza-idf from microbu-esp32c5/external, but that tree was gitignored, so a clone of this repository could not build the firmware it ships. It is now committed here as ordinary files in its own folder, microbu-esp32c5/: the colleague's commit cf4b99f plus the V2X2MAP bridge's signature verification (--trust) used on the bench. Nothing is fetched from or pushed to the colleague's repository; this repository and its remotes carry everything. The folder's own .gitignore keeps build output, downloaded components and private key material out, as it did there; the committed file set is identical to that repository's tracked files. The ESP32-C5 is still flashed from obu-firmware/, which only takes vanetza-idf from microbu-esp32c5/, so the two stay separate folders. FLASHING.md says how to take a newer version of the colleague's tree (copy it over the folder, rebuild, test, commit).
99 lines
2.5 KiB
C
99 lines
2.5 KiB
C
/*
|
|
* Generated by asn1c
|
|
* From ASN.1 module "DSRC"
|
|
* found in "ISO19091.asn"
|
|
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
|
|
*/
|
|
|
|
#ifndef _ComputedLane_H_
|
|
#define _ComputedLane_H_
|
|
|
|
|
|
#include "asn_application.h"
|
|
|
|
/* Including external dependencies */
|
|
#include "LaneID.h"
|
|
#include "Angle.h"
|
|
#include "Scale-B12.h"
|
|
#include "DrivenLineOffsetSm.h"
|
|
#include "DrivenLineOffsetLg.h"
|
|
#include "constr_CHOICE.h"
|
|
#include "asn_SEQUENCE_OF.h"
|
|
#include "constr_SEQUENCE_OF.h"
|
|
#include "constr_SEQUENCE.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* Dependencies */
|
|
typedef enum ComputedLane__offsetXaxis_PR {
|
|
ComputedLane__offsetXaxis_PR_NOTHING, /* No components present */
|
|
ComputedLane__offsetXaxis_PR_small,
|
|
ComputedLane__offsetXaxis_PR_large
|
|
} ComputedLane__offsetXaxis_PR;
|
|
typedef enum ComputedLane__offsetYaxis_PR {
|
|
ComputedLane__offsetYaxis_PR_NOTHING, /* No components present */
|
|
ComputedLane__offsetYaxis_PR_small,
|
|
ComputedLane__offsetYaxis_PR_large
|
|
} ComputedLane__offsetYaxis_PR;
|
|
|
|
/* Forward declarations */
|
|
struct Reg_ComputedLane;
|
|
|
|
/* ComputedLane */
|
|
typedef struct ComputedLane {
|
|
LaneID_t referenceLaneId;
|
|
struct ComputedLane__offsetXaxis {
|
|
ComputedLane__offsetXaxis_PR present;
|
|
union ComputedLane__offsetXaxis_u {
|
|
DrivenLineOffsetSm_t small;
|
|
DrivenLineOffsetLg_t large;
|
|
} choice;
|
|
|
|
/* Context for parsing across buffer boundaries */
|
|
asn_struct_ctx_t _asn_ctx;
|
|
} offsetXaxis;
|
|
struct ComputedLane__offsetYaxis {
|
|
ComputedLane__offsetYaxis_PR present;
|
|
union ComputedLane__offsetYaxis_u {
|
|
DrivenLineOffsetSm_t small;
|
|
DrivenLineOffsetLg_t large;
|
|
} choice;
|
|
|
|
/* Context for parsing across buffer boundaries */
|
|
asn_struct_ctx_t _asn_ctx;
|
|
} offsetYaxis;
|
|
Angle_t *rotateXY; /* OPTIONAL */
|
|
Scale_B12_t *scaleXaxis; /* OPTIONAL */
|
|
Scale_B12_t *scaleYaxis; /* OPTIONAL */
|
|
struct ComputedLane__regional {
|
|
A_SEQUENCE_OF(struct Reg_ComputedLane) list;
|
|
|
|
/* Context for parsing across buffer boundaries */
|
|
asn_struct_ctx_t _asn_ctx;
|
|
} *regional;
|
|
/*
|
|
* This type is extensible,
|
|
* possible extensions are below.
|
|
*/
|
|
|
|
/* Context for parsing across buffer boundaries */
|
|
asn_struct_ctx_t _asn_ctx;
|
|
} ComputedLane_t;
|
|
|
|
/* Implementation */
|
|
extern asn_TYPE_descriptor_t asn_DEF_ComputedLane;
|
|
extern asn_SEQUENCE_specifics_t asn_SPC_ComputedLane_specs_1;
|
|
extern asn_TYPE_member_t asn_MBR_ComputedLane_1[7];
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
/* Referred external types */
|
|
#include "RegionalExtension.h"
|
|
|
|
#endif /* _ComputedLane_H_ */
|
|
#include "asn_internal.h"
|