pub fn complete(project: &mut CalibrationProject) -> Result<(), CalError>Expand description
Register tables and declare element_counts on an already-parsed
project.
Every caller that loads SAMPLE_A2L — or a file with the same
declarations — needs both: a2l_parse skips the COMPU_TAB blocks and
does not retain NUMBER/NO_AXIS_PTS, so neither the tabulation points
nor a curve’s element count arrive with the parse. A host that has its own
source for either (an exporter, a .ara companion file) should call
register_table and
declare_elements
directly instead.
§Errors
CalError::Unsupported when a named
characteristic or module is absent, or a table’s points are not ascending.