Marius Eggert
b2484136b1
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
36 lines
669 B
C++
36 lines
669 B
C++
/*
|
|
* SensorValues.cpp
|
|
*
|
|
* Created on: 30 Mar 2022
|
|
* Author: rooob
|
|
*/
|
|
#include <acs/SensorValues.h>
|
|
|
|
#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();
|
|
|
|
return returnvalue::OK;
|
|
}
|
|
}
|
|
|
|
|