-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
/begin COMPU_METHOD cv_0_001Nm[rpm]_S2 ""
IDENTICAL "%5.0" "0.001 Nm/rpm"
/end COMPU_METHOD
the identifier "cv_0_001Nm[rpm]_S2" will be parsed as 2 identifiers, probely because [ ] character.
/begin CALIBRATION_METHOD
"DataSetId" 0x100
/begin CALIBRATION_HANDLE
0x8031453C
/end CALIBRATION_HANDLE
/end CALIBRATION_METHOD
for the version "0x100" it is sometime be Hex, not always be Integer. but the code is fixed as bellow,
void A2lGrammar::initCalibration_method()
{
calibration_method.typePar << String << Integer;
calibration_method.namePar << "Method" << "Version";
calibration_method.factoryOptNode.insert("CALIBRATION_HANDLE", &CALIBRATION_HANDLE::nodeFactory);
}
Is it possible to give some suggestion to fix this issue? thanks.
liurunjieuk
Metadata
Metadata
Assignees
Labels
No labels