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

35 lines
655 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-27 11:06:11 +02:00
#include "SensorValues.h"
2022-09-19 15:37:05 +02:00
#include <stddef.h>
#include <cmath>
2022-09-27 11:06:11 +02:00
#include <fsfw/datapoollocal/LocalPoolVariable.h>
2022-09-19 15:37:05 +02:00
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
}
}