gomspace lib working
This commit is contained in:
@ -6,6 +6,7 @@
|
||||
#include <fsfw/objectmanager/ObjectManager.h>
|
||||
#include <gps.h>
|
||||
#include <libgpsmm.h>
|
||||
#include <param/param_string.h>
|
||||
|
||||
#include <cstdio>
|
||||
#include <ctime>
|
||||
@ -18,10 +19,8 @@
|
||||
#include "bsp_q7s/memory/scratchApi.h"
|
||||
#include "fsfw/tasks/TaskFactory.h"
|
||||
#include "fsfw/timemanager/Stopwatch.h"
|
||||
#include "test/DummyParameter.h"
|
||||
|
||||
#include "p60pdu.h"
|
||||
#include <param/param_string.h>
|
||||
#include "test/DummyParameter.h"
|
||||
|
||||
Q7STestTask::Q7STestTask(object_id_t objectId) : TestTask(objectId) {
|
||||
doTestSdCard = false;
|
||||
@ -38,15 +37,18 @@ ReturnValue_t Q7STestTask::performOneShotAction() {
|
||||
if (doTestScratchApi) {
|
||||
testScratchApi();
|
||||
}
|
||||
uint8_t p60pdu_node = 3;
|
||||
uint8_t hk_mem[P60PDU_HK_SIZE];
|
||||
param_index_t p60pdu_hk{};
|
||||
p60pdu_hk.physaddr = hk_mem;
|
||||
if (!p60pdu_get_hk(&p60pdu_hk, p60pdu_node, 1000)) {
|
||||
printf("Error getting p60pdu hk\n");
|
||||
} else {
|
||||
//param_list(&p60pdu_hk, 1);
|
||||
if (DO_TEST_GOMSPACE_API) {
|
||||
uint8_t p60pdu_node = 3;
|
||||
uint8_t hk_mem[P60PDU_HK_SIZE];
|
||||
param_index_t p60pdu_hk{};
|
||||
p60pdu_hk.physaddr = hk_mem;
|
||||
if (!p60pdu_get_hk(&p60pdu_hk, p60pdu_node, 1000)) {
|
||||
printf("Error getting p60pdu hk\n");
|
||||
} else {
|
||||
param_list(&p60pdu_hk, 1);
|
||||
}
|
||||
}
|
||||
|
||||
// testJsonLibDirect();
|
||||
// testDummyParams();
|
||||
if (doTestProtHandler) {
|
||||
|
Reference in New Issue
Block a user