Page 1 of 1

New data types to RED A 2.x

Posted: Tue Feb 11, 2025 12:46 pm
by washausen
Hello

I would like to propose an extension of the data types in the RED A in order to be able to map more complex data structures as individual values (e.g. coordinates, hit points, etc.).
In addition to the data types “tuple and “triple”, lists and dictionaries based on these are also helpful. The list od tuples/triples covers for example, the values in "VUT ShapeFront" (see viewtopic.php?p=1339#p1339). The type "list of tuple dict" and "list of triple dict" would increase the readability here, since e.g. with the "VUT Shape Front" the position can be entered as a key and does not have to be counted implicitly.

Code: Select all

tuple:		(float; float)
tuple list:	(float; float) (float; float) (float; float)		
		A tuple list consists of two or more tuples.
triple:		(float; float; float)
triple list:	(float; float; float) (float; float; float) (float; float; float)		
		A triple list consists of two or more triples.
tuple dict:	(string: float; float)		
		A tuple dict is a tuple which is enhanced by a describing string. 
triple dict:	(string: float; float; float)		
		A tuple dict is a triples which is enhanced by a describing string. 
list of tuple dict:	(string: float; float) (String: float; float) (String: float; float)	
			A list of tuple dicts consists of two or more tuple dictionary. The key (string) is separated by “:” from the values. This struct allows a generic definition of tuple values. The key max be the location in percentage of the vehicle front and the values the x and y coordinates.
list of triple dict:	(string: float; float; float) (String: float; float; float) (String: float; float; float)	
			A list of triple dicts consists of two or more triple dictionary. The key (string) is separated by “:” from the values. This struct allows a generic definition of tuple values. The key max be the location in percentage of the vehicle front and the values the x and y coordinates.
Please find these enhanchement in chapter 1.2 of the attached proposal of RED A:
ISO_TS13499_RED_A_V2.2_Rev_20241205.pdf
(877.5 KiB) Downloaded 15 times
I would be happy about any feedback or comment.

Kind reagrds,
Martin