Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Commit

Permalink
[CPM] Add "has_" for sensor related fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Delooz committed Aug 5, 2021
1 parent 01e6138 commit f83bdb5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 6 additions & 1 deletion msg/PerceivedObject.msg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
uint8 objectID
uint16 sensorID
bool has_sensorIDList
uint8[] sensorIDList
time timeOfDetection
int32 timeOfMeasurement #INTEGER {oneMilliSecond(1)} (-1500..1500)
Expand All @@ -13,9 +13,14 @@ SpeedExtended ySpeed
SpeedExtended zSpeed
LongitudinalAcceleration xAcceleration
LateralAcceleration yAcceleration

bool has_planarObjectDimension1
ObjectDimension planarObjectDimension1
bool has_planarObjectDimension2
ObjectDimension planarObjectDimension2
bool has_verticalObjectDimension
ObjectDimension verticalObjectDimension

ObjectRefPoint objectRefPoint
DynamicStatus dynamicStatus
StationType classification
Expand Down
3 changes: 3 additions & 0 deletions msg/VehicleSensorProperty.msg
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
int32 range # zeroPointOneMeter(1), oneMeter(10)} (0..10000)
int32 horizontalOpeningAngleStart # zeroPointOneDegree(1), oneDegree(10), unavailable(3601)} (0..3601)
int32 horizontalOpeningAngleEnd # zeroPointOneDegree(1), oneDegree(10), unavailable(3601)} (0..3601)

bool has_verticalOpeningAngleStart
int32 verticalOpeningAngleStart # zeroPointOneDegree(1), oneDegree(10), unavailable(3601)} (0..3601)
bool has_verticalOpeningAngleEnd
int32 verticalOpeningAngleEnd # zeroPointOneDegree(1), oneDegree(10), unavailable(3601)} (0..3601)

0 comments on commit f83bdb5

Please sign in to comment.