47 void incExpectedResponses(int32_t *fa, int32_t *hp, int32_t *hm);
48 void clearResponses();
49 void verifyResponses();
52 void _parseErrorResponse(
ModbusBuffer *buffer, uint8_t called_function,
double timestamp,
62 void _parseElectromechanicalForceAndStatusResponse(
ModbusBuffer *buffer,
const ILCMap &ilc,
65 void _parseForceDemandResponse(
ModbusBuffer *buffer, uint8_t address,
const ILCMap &ilc);
68 void _parsePneumaticForceStatusResponse(
ModbusBuffer *buffer, uint8_t address,
const ILCMap &ilc);
69 void _parseSingleAxisPneumaticForceStatusResponse(
ModbusBuffer *buffer,
const ILCMap &ilc);
70 void _parseDualAxisPneumaticForceStatusResponse(
ModbusBuffer *buffer,
const ILCMap &ilc);
72 void _parseSetHPADCChannelOffsetAndSensitivityResponse(
ModbusBuffer *buffer,
const ILCMap &ilc);
73 void _parseSetFAADCChannelOffsetAndSensitivityResponse(
ModbusBuffer *buffer,
const ILCMap &ilc);
85 void _checkForceActuatorForces(
const ILCMap &ilc);
86 void _checkHardpointActuatorMeasuredForce(int32_t actuatorId);
87 void _checkHardpointActuatorAirPressure(int32_t actuatorId);
89 void _warnResponseTimeout(
double timestamp, int32_t actuatorId);
90 void _warnInvalidCRC(
double timestamp);
91 void _warnIllegalFunction(
double timestamp, int32_t actuatorId);
92 void _warnIllegalDataValue(
double timestamp, int32_t actuatorId);
93 void _warnInvalidLength(
double timestamp, int32_t actuatorId);
94 void _warnUnknownSubnet(
double timestamp);
95 void _warnUnknownAddress(
double timestamp, int32_t actuatorId);
96 void _warnUnknownFunction(
double timestamp, int32_t actuatorId);
97 void _warnUnknownProblem(
double timestamp, int32_t actuatorId);
103 int32_t _faExpectedResponses[FA_COUNT];
104 int32_t _hpExpectedResponses[HP_COUNT];
105 int32_t _hmExpectedResponses[HP_COUNT];
107 MTM1M3_logevent_detailedStateC *_detailedState;
109 MTM1M3_logevent_hardpointActuatorInfoC *_hardpointActuatorInfo;
110 MTM1M3_logevent_hardpointActuatorStateC *_hardpointActuatorState;
111 MTM1M3_hardpointActuatorDataC *_hardpointActuatorData;
113 MTM1M3_logevent_forceActuatorStateC *_forceActuatorState;
114 MTM1M3_logevent_forceActuatorWarningC *_forceActuatorWarning;
115 MTM1M3_logevent_forceActuatorForceWarningC *_forceWarning;
116 MTM1M3_appliedCylinderForcesC *_appliedCylinderForces;
118 MTM1M3_logevent_hardpointMonitorInfoC *_hardpointMonitorInfo;
119 MTM1M3_logevent_hardpointMonitorStateC *_hardpointMonitorState;
120 MTM1M3_logevent_hardpointMonitorWarningC *_hardpointMonitorWarning;
121 MTM1M3_hardpointMonitorDataC *_hardpointMonitorData;
123 MTM1M3_outerLoopDataC *_outerLoopData;