This commit is contained in:
35
mission/controller/acs/SensorValues.cpp
Normal file
35
mission/controller/acs/SensorValues.cpp
Normal file
@ -0,0 +1,35 @@
|
||||
/*
|
||||
* 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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user