Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A2L RECORD_LAYOUT Parameter acquisition #55

Open
jxwdgd5201314 opened this issue Sep 14, 2024 · 0 comments
Open

A2L RECORD_LAYOUT Parameter acquisition #55

jxwdgd5201314 opened this issue Sep 14, 2024 · 0 comments

Comments

@jxwdgd5201314
Copy link

/begin RECORD_LAYOUT Scalar_FLOAT32_IEEE
  FNC_VALUES  1 FLOAT32_IEEE COLUMN_DIR DIRECT
/end   RECORD_LAYOUT

在 A2L文件中 Record Layout 属性 是代表标定量的数据类型,对应 Pya2l中 model.Characteristic 的deposit属性,但是通常情况下, Record Layout 属性 和变量实际的数据类型的字符串不一致,请问有什么办法,可以获取到标定量最原始的数据类型

举例

当前假设一个标定量数据如下
caliSensorMsgCycleTsRadar Scalar_FLOAT32_IEEE 0xa001c020
其中Scalar_FLOAT32_IEEE 是他的deposit参数。但是我需要FLOAT32_IEEE 这个值,是否有办法获取,多谢,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant