mission and config folders added , make file is added
This commit is contained in:
46
bsp_linux/fsfwconfig/datapool/dataPoolInit.cpp
Normal file
46
bsp_linux/fsfwconfig/datapool/dataPoolInit.cpp
Normal file
@ -0,0 +1,46 @@
|
||||
/*
|
||||
* dataPoolInit.cpp
|
||||
*
|
||||
* brief: Initialisation function for all variables in the data pool.
|
||||
* This file was auto-generated by getDataPoolFromFLPmib.py via
|
||||
* the flpmib database at 2018-06-04T12:02:46+00:00.
|
||||
*/
|
||||
#include "../../../bsp_linux/fsfwconfig/datapool/dataPoolInit.h"
|
||||
|
||||
void dataPoolInit(std::map<uint32_t, PoolEntryIF*>* pool_map) {
|
||||
uint32_t testVar[1] = { 0 };
|
||||
pool_map->insert(
|
||||
std::pair<uint32_t, PoolEntryIF*>(datapool::DUMMY1,
|
||||
new PoolEntry<uint32_t>(testVar, 1)));
|
||||
pool_map->insert(
|
||||
std::pair<uint32_t, PoolEntryIF*>(datapool::DUMMY2,
|
||||
new PoolEntry<uint32_t>(testVar, 1)));
|
||||
pool_map->insert(
|
||||
std::pair<uint32_t, PoolEntryIF*>(datapool::DUMMY3,
|
||||
new PoolEntry<uint32_t>(testVar, 1)));
|
||||
pool_map->insert(
|
||||
std::pair<uint32_t, PoolEntryIF*>(datapool::DUMMY4,
|
||||
new PoolEntry<uint32_t>(testVar, 1)));
|
||||
pool_map->insert(
|
||||
std::pair<uint32_t, PoolEntryIF*>(datapool::DUMMY5,
|
||||
new PoolEntry<uint32_t>(testVar, 1)));
|
||||
pool_map->insert(
|
||||
std::pair<uint32_t, PoolEntryIF*>(datapool::DUMMY6,
|
||||
new PoolEntry<uint32_t>(testVar, 1)));
|
||||
int32_t testVarSigned[1] = { 0 };
|
||||
pool_map->insert(
|
||||
std::pair<int32_t, PoolEntryIF*>(datapool::LIMIT_VAR,
|
||||
new PoolEntry<int32_t>(testVarSigned, 1)));
|
||||
|
||||
/*float t_Centroid_PoolId[2] = {0,0};
|
||||
pool_map->insert(
|
||||
std::pair<uint32_t, PoolEntryIF*>(datapool::Centroid_PoolId,
|
||||
new PoolEntry<float>(t_Centroid_PoolId, 2)));
|
||||
uint32_t t_CentroidTime_PoolId[2] = {0,0};
|
||||
pool_map->insert(
|
||||
std::pair<uint32_t, PoolEntryIF*>(datapool::CentroidTime_PoolId,
|
||||
new PoolEntry<uint32_t>(t_CentroidTime_PoolId, 2)));
|
||||
*/
|
||||
|
||||
//TODO: define your pool map entries here
|
||||
}
|
32
bsp_linux/fsfwconfig/datapool/dataPoolInit.h
Normal file
32
bsp_linux/fsfwconfig/datapool/dataPoolInit.h
Normal file
@ -0,0 +1,32 @@
|
||||
/*
|
||||
* dataPoolInit.h
|
||||
*
|
||||
* brief: Initialisation function for all variables in the data pool.
|
||||
* This file was auto-generated by getDataPoolFromFLPmib.py via
|
||||
* the flpmib database at 2018-06-04T12:02:46+00:00.
|
||||
*/
|
||||
#ifndef DATAPOOLINIT_H_
|
||||
#define DATAPOOLINIT_H_
|
||||
|
||||
#include <fsfw/datapool/DataPool.h>
|
||||
|
||||
namespace datapool {
|
||||
enum opus_variable_id {
|
||||
NO_PARAMETER = 0x0, //This PID is used to denote a non-existing param in the OBSW (NOPARAME), Size: 1
|
||||
DUMMY1 = 0x100000,
|
||||
DUMMY2 = 0x100001,
|
||||
DUMMY3 = 0x100002,
|
||||
DUMMY4 = 0x100003,
|
||||
DUMMY5 = 0x100004,
|
||||
DUMMY6 = 0x100005,//TEST VAR
|
||||
LIMIT_VAR = 0x100006,
|
||||
TIME_STAMPER = 0x100007,
|
||||
//Centroid_PoolId = 0x100008,
|
||||
//CentroidTime_PoolId = 0x100009
|
||||
|
||||
//TODO: add your unique datapool Ids here
|
||||
};
|
||||
}
|
||||
|
||||
void dataPoolInit( std::map<uint32_t, PoolEntryIF*>* pool_map );
|
||||
#endif /* DATAPOOLINIT_H_ */
|
Reference in New Issue
Block a user