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).
85 lines
3.1 KiB
C
85 lines
3.1 KiB
C
/*
|
|
* Generated by asn1c
|
|
* From ASN.1 module "ETSI-ITS-CDD"
|
|
* found in "TS102894-2v241-CDD.asn"
|
|
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -fprefix=Vanetza_ITS2_ -R`
|
|
*/
|
|
|
|
#ifndef _Vanetza_ITS2_PerceivedObject_H_
|
|
#define _Vanetza_ITS2_PerceivedObject_H_
|
|
|
|
|
|
#include "asn_application.h"
|
|
|
|
/* Including external dependencies */
|
|
#include "Identifier2B.h"
|
|
#include "DeltaTimeMilliSecondSigned.h"
|
|
#include "CartesianPosition3dWithConfidence.h"
|
|
#include "ObjectPerceptionQuality.h"
|
|
#include "constr_SEQUENCE.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* Forward declarations */
|
|
struct Vanetza_ITS2_Velocity3dWithConfidence;
|
|
struct Vanetza_ITS2_Acceleration3dWithConfidence;
|
|
struct Vanetza_ITS2_EulerAnglesWithConfidence;
|
|
struct Vanetza_ITS2_CartesianAngularVelocityComponent;
|
|
struct Vanetza_ITS2_LowerTriangularPositiveSemidefiniteMatrices;
|
|
struct Vanetza_ITS2_ObjectDimension;
|
|
struct Vanetza_ITS2_SequenceOfIdentifier1B;
|
|
struct Vanetza_ITS2_ObjectClassDescription;
|
|
struct Vanetza_ITS2_MapPosition;
|
|
|
|
/* Vanetza_ITS2_PerceivedObject */
|
|
typedef struct Vanetza_ITS2_PerceivedObject {
|
|
Vanetza_ITS2_Identifier2B_t *objectId; /* OPTIONAL */
|
|
Vanetza_ITS2_DeltaTimeMilliSecondSigned_t measurementDeltaTime;
|
|
Vanetza_ITS2_CartesianPosition3dWithConfidence_t position;
|
|
struct Vanetza_ITS2_Velocity3dWithConfidence *velocity; /* OPTIONAL */
|
|
struct Vanetza_ITS2_Acceleration3dWithConfidence *acceleration; /* OPTIONAL */
|
|
struct Vanetza_ITS2_EulerAnglesWithConfidence *angles; /* OPTIONAL */
|
|
struct Vanetza_ITS2_CartesianAngularVelocityComponent *zAngularVelocity; /* OPTIONAL */
|
|
struct Vanetza_ITS2_LowerTriangularPositiveSemidefiniteMatrices *lowerTriangularCorrelationMatrices; /* OPTIONAL */
|
|
struct Vanetza_ITS2_ObjectDimension *objectDimensionZ; /* OPTIONAL */
|
|
struct Vanetza_ITS2_ObjectDimension *objectDimensionY; /* OPTIONAL */
|
|
struct Vanetza_ITS2_ObjectDimension *objectDimensionX; /* OPTIONAL */
|
|
Vanetza_ITS2_DeltaTimeMilliSecondSigned_t *objectAge; /* OPTIONAL */
|
|
Vanetza_ITS2_ObjectPerceptionQuality_t *objectPerceptionQuality; /* OPTIONAL */
|
|
struct Vanetza_ITS2_SequenceOfIdentifier1B *sensorIdList; /* OPTIONAL */
|
|
struct Vanetza_ITS2_ObjectClassDescription *classification; /* OPTIONAL */
|
|
struct Vanetza_ITS2_MapPosition *mapPosition; /* OPTIONAL */
|
|
/*
|
|
* This type is extensible,
|
|
* possible extensions are below.
|
|
*/
|
|
|
|
/* Context for parsing across buffer boundaries */
|
|
asn_struct_ctx_t _asn_ctx;
|
|
} Vanetza_ITS2_PerceivedObject_t;
|
|
|
|
/* Implementation */
|
|
extern asn_TYPE_descriptor_t asn_DEF_Vanetza_ITS2_PerceivedObject;
|
|
extern asn_SEQUENCE_specifics_t asn_SPC_Vanetza_ITS2_PerceivedObject_specs_1;
|
|
extern asn_TYPE_member_t asn_MBR_Vanetza_ITS2_PerceivedObject_1[16];
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
/* Referred external types */
|
|
#include "Velocity3dWithConfidence.h"
|
|
#include "Acceleration3dWithConfidence.h"
|
|
#include "EulerAnglesWithConfidence.h"
|
|
#include "CartesianAngularVelocityComponent.h"
|
|
#include "LowerTriangularPositiveSemidefiniteMatrices.h"
|
|
#include "ObjectDimension.h"
|
|
#include "SequenceOfIdentifier1B.h"
|
|
#include "ObjectClassDescription.h"
|
|
#include "MapPosition.h"
|
|
|
|
#endif /* _Vanetza_ITS2_PerceivedObject_H_ */
|
|
#include "asn_internal.h"
|