-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
@marcelbuesing I tried multiplexed signal parsing on one of the opendbc files and got some errors.
Offending message: https://github.com/commaai/opendbc/blob/master/hyundai_kia_generic.dbc#L1061-L1080
There seems to be problem with floats:
40322 | pub const CAN_VERS_MAX: u8 = 7.7_u8;
| ^^^^^^ invalid suffix `u8`
Also barks about this signal: https://github.com/commaai/opendbc/blob/master/hyundai_kia_generic.dbc#L476
17469 | match self.lv_gsl_map_raw() {
| --------------------- this expression has type `bool`
17470 | 0 => Ok(Ems13LvGslMap::M0(Ems13LvGslMapM0{ raw: self.raw })),
17471 | 1 => Ok(Ems13LvGslMap::M1(Ems13LvGslMapM1{ raw: self.raw })),
| ^ expected `bool`, found integer
PS: this file also needs this patch: #41
Metadata
Metadata
Assignees
Labels
No labels