36 lines
663 B
C++
36 lines
663 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 RETURN_OK;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|