Motorcortex Core
version: 2.7.6
TestB.h
1
/*
2
* This is a template for the MOTORCORTEX Module header file
3
*/
4
5
#ifndef TESTB_H
6
#define TESTB_H
7
8
#include "ct_module.h"
9
#include "ps_handlers.h"
10
11
class
TestB
:
public
mcx::container::Module
{
12
public
:
13
14
TestB
() =
default
;
15
16
~
TestB
()
override
=
default
;
17
18
private
:
19
void
create_(
const
char
* name,
mcx::parameter_server::Parameter
* parameter_server, uint64_t dt_micro_s)
override
;
20
21
bool
initPhase1_()
override
;
22
23
bool
initPhase2_()
override
;
24
25
bool
startOp_()
override
;
26
27
bool
stopOp_()
override
;
28
29
bool
iterateOp_(
const
mcx::container::TaskTime
& system_time,
mcx::container::UserTime
* user_time)
override
;
30
31
std::array<double, 20> input1_;
32
mcx::parameter_server::ParamHandle
input1_handle_;
33
std::array<double, 10> input2_;
34
mcx::parameter_server::ParamHandle
input2_handle_;
35
36
};
37
38
#endif
/* TESTB_H */
mcx::parameter_server::Parameter
Definition:
ps_parameter.h:45
TestB
Definition:
TestB.h:11
mcx::container::TaskTime
Internal time source.
Definition:
ct_time.h:25
mcx::container::UserTime
External time source.
Definition:
ct_time.h:40
mcx::container::Module
A building block of the Motorcortex components.
Definition:
ct_module.h:64
mcx::parameter_server::ParamHandle
Definition:
ps_handlers.h:43
test
linking
control
TestB.h
Generated by
1.8.18