eive-obsw/mission/controller/acs/SensorValues.cpp

36 lines
665 B
C++
Raw Normal View History

2022-09-19 15:37:05 +02:00
/*
* SensorValues.cpp
*
* Created on: 30 Mar 2022
* Author: rooob
*/
2022-09-26 13:23:20 +02:00
#include <SensorValues.h>
2022-09-19 15:37:05 +02:00
#include <stddef.h>
#include <cmath>
#include <fsfw/src/fsfw/datapoollocal/LocalPoolVariable.h>
namespace ACS {
SensorValues::SensorValues() {
}
SensorValues::~SensorValues() {
}
ReturnValue_t SensorValues::update() {
// lp_var_t<float> quaternion(objects::STAR_TRACKER, PoolIds::CALI_QW, nullptr, pool_rwm_t::VAR_READ);
// ReturnValue_t result = quaternion.read();
// if ( result != RETURN_OK) {
// return RETURN_FAILED;
// }
// quatJB[3] = static_cast<double>(quaternion.value);
// quatJBValid = quaternion.isValid();
2022-09-20 15:45:49 +02:00
return returnvalue::OK;
2022-09-19 15:37:05 +02:00
}
}