InvalidDigit when generating from standard XML file
Having this error when using mavio:
called `Result::unwrap()` on an `Err` value: Inspect(Parse(EnumEntryMavCmdParamInvalidDefaultValue(ParseIntError(ParseIntError { kind: InvalidDigit }))))
I cannot tell where the error is coming from... Any idea how I can debug this?
Can be tested with message definitions from this commit: https://github.com/mavlink/mavlink/commit/1ae3edc41f7a62b86867ed4f385011cac91c4001
Edit 1: Looks like the problem is "NaN" on some default values from MAV_CMD commands.
Edit 2: mavinspect only handles "float"/"double" NaN cases https://gitlab.com/mavka/libs/mavinspect/-/blob/main/src/protocol/common/value.rs#L52
Edited by roby2014