added GPS and RW sensor readings. added RW1..4 dummies to acsTask

This commit is contained in:
2022-11-17 13:01:29 +01:00
parent c430caadd7
commit f3ac6d4a7e
2 changed files with 8 additions and 1 deletions

View File

@ -82,8 +82,11 @@ ReturnValue_t SensorValues::update() {
ReturnValue_t susUpdate = updateSus();
ReturnValue_t gyrUpdate = updateGyr();
ReturnValue_t strUpdate = updateStr();
ReturnValue_t gpsUpdate = updateGps();
ReturnValue_t rwUpdate = updateRw();
if ((mgmUpdate && susUpdate && gyrUpdate && strUpdate) == returnvalue::FAILED) {
if ((mgmUpdate && susUpdate && gyrUpdate && strUpdate && gpsUpdate && rwUpdate) ==
returnvalue::FAILED) {
return returnvalue::FAILED;
};
return returnvalue::OK;