mirror of https://github.com/FOME-Tech/fome-fw.git
Starter is engaged on start-up in pull-up configuration #1969
This commit is contained in:
parent
41a02a0153
commit
c8f1c7f8c7
|
@ -62,12 +62,14 @@ public class BaseTest {
|
||||||
sendCommand(getDisableCommand(Fields.CMD_SELF_STIMULATION));
|
sendCommand(getDisableCommand(Fields.CMD_SELF_STIMULATION));
|
||||||
sendCommand(getDisableCommand(Fields.CMD_INJECTION));
|
sendCommand(getDisableCommand(Fields.CMD_INJECTION));
|
||||||
sendCommand(getDisableCommand(Fields.CMD_IGNITION));
|
sendCommand(getDisableCommand(Fields.CMD_IGNITION));
|
||||||
|
sendCommand(getDisableCommand(Fields.CMD_PWM));
|
||||||
// changing engine type while engine is running does not work well - we rightfully
|
// changing engine type while engine is running does not work well - we rightfully
|
||||||
// get invalid configuration critical errors
|
// get invalid configuration critical errors
|
||||||
sleepSeconds(2);
|
sleepSeconds(2);
|
||||||
sendCommand("set " + Fields.CMD_ENGINE_TYPE + " " + type, COMPLEX_COMMAND_RETRY, Timeouts.SET_ENGINE_TIMEOUT);
|
sendCommand("set " + Fields.CMD_ENGINE_TYPE + " " + type, COMPLEX_COMMAND_RETRY, Timeouts.SET_ENGINE_TIMEOUT);
|
||||||
// TODO: document the reason for this sleep?!
|
// TODO: document the reason for this sleep?!
|
||||||
sleepSeconds(3);
|
sleepSeconds(3);
|
||||||
|
sendCommand(getEnableCommand(Fields.CMD_PWM));
|
||||||
sendCommand(getEnableCommand(Fields.CMD_SELF_STIMULATION));
|
sendCommand(getEnableCommand(Fields.CMD_SELF_STIMULATION));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue