This commit is contained in:
parent
07fe2cb122
commit
ada1111252
@ -62,11 +62,7 @@ void ImtqHandler::doStartUp() {
|
|||||||
void ImtqHandler::doShutDown() { setMode(_MODE_POWER_DOWN); }
|
void ImtqHandler::doShutDown() { setMode(_MODE_POWER_DOWN); }
|
||||||
|
|
||||||
ReturnValue_t ImtqHandler::buildNormalDeviceCommand(DeviceCommandId_t* id) {
|
ReturnValue_t ImtqHandler::buildNormalDeviceCommand(DeviceCommandId_t* id) {
|
||||||
// TODO: Add IMTQ torque handling here, will be set in the software and thus must be part
|
// Depending on the normal polling mode configuration, 3-4 communication steps are recommended
|
||||||
// of normal handling. Keep in mind that torqueing should happen after all HK data was read
|
|
||||||
// because the MGM values might be useless if the IMTQ is torqueing. Also, remove
|
|
||||||
// calibrated MGM polling, we have our own calibration. Thus, there are 3 communication
|
|
||||||
// steps per IMTQ cycle.
|
|
||||||
switch (communicationStep) {
|
switch (communicationStep) {
|
||||||
case CommunicationStep::GET_ENG_HK_DATA:
|
case CommunicationStep::GET_ENG_HK_DATA:
|
||||||
*id = IMTQ::GET_ENG_HK_DATA;
|
*id = IMTQ::GET_ENG_HK_DATA;
|
||||||
|
Loading…
Reference in New Issue
Block a user