Skip to content

Commit

Permalink
Clarify handling of purely technical IDs
Browse files Browse the repository at this point in the history
Addresses #809.

Signed-off-by: Pierre R. Mai <[email protected]>
  • Loading branch information
pmai committed May 13, 2024
1 parent 7c9529f commit 3c47dad
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions osi_common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,9 @@ message Orientation3d
// available address space is exhausted and the specific values have not been in
// use for several time steps. Sensor specific tracking IDs have no restrictions
// and should behave according to the sensor specifications.
// Purely simulation technical IDs, like sensor IDs, are not required to be
// unique among all simulated items, but rather unique within the context of the
// given message type.
//
// The value MAX(uint64) = 2^(64) -1 =
// 0b1111111111111111111111111111111111111111111111111111111111111111 is
Expand Down
2 changes: 1 addition & 1 deletion osi_sensorview.proto
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ message SensorView
// which are used in the detected features.
//
// \rules
// is_globally_unique
// is_locally_unique
// is_set
// \endrules
//
Expand Down
3 changes: 2 additions & 1 deletion rules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ is_less_than: '^[ ]\b(is_less_than)\b: ([\s\d]+)$'
is_equal_to: '^[ ]\b(is_equal_to)\b: ([\s\d]+)$'
is_different_to: '^[ ]\b(is_different_to)\b: ([\s\d]+)$'
is_globally_unique: '^[ ]\b(is_globally_unique)\b'
is_locally_unique: '^[ ]\b(is_locally_unique)\b'
refers_to: '^[ ]\b(refers_to)\b'
is_iso_country_code: '^[ ]\b(is_iso_country_code)\b'
first_element: '^[ ]\b(first_element)\b'
last_element: '^[ ]\b(last_element)\b'
check_if: '^[ ](\bcheck_if\b)(.*\belse do_check\b)'
is_set: '^[ ]\b(is_set)\b'
is_set: '^[ ]\b(is_set)\b'

0 comments on commit 3c47dad

Please sign in to comment.