Motorcortex Core
version: 2.7.6
drive_cia402sim.h
1
/*
2
* Developer : Alexey Zakharov (alexey.zakharov@vectioneer.com)
3
* All rights reserved. Copyright (c) 2018 VECTIONEER.
4
*/
5
6
#ifndef MOTORCORTEX_LIB_DRIVE_CIA402SIM_H
7
#define MOTORCORTEX_LIB_DRIVE_CIA402SIM_H
8
9
#include "drive_base.h"
10
#include "drive_cia402.h"
11
12
namespace
mcx {
13
14
namespace
parameter_server {
15
class
Parameter;
16
}
17
18
namespace
drive {
19
20
class
DriveCiA402Sim
:
public
DriveBase
{
21
public
:
22
23
DriveCiA402Sim
();
24
25
explicit
DriveCiA402Sim
(
const
std::string& name);
26
27
void
setName(
const
std::string& name)
override
{
28
cia402_.setName(name);
29
}
30
31
bool
update(
double
dt_sec,
const
DriveIn
& drive_in,
DriveOut
* drive_out)
override
;
32
33
private
:
34
DriveCiA402
cia402_;
35
unsigned
int
cia402_status_{};
36
};
37
38
}
// namespace drive
39
40
}
// namespace mcx
41
42
#endif //MOTORCORTEX_LIB_DRIVE_CIA402SIM_H
mcx::drive::DriveOut
Definition:
drive_base.h:34
mcx::drive::DriveIn
Definition:
drive_base.h:19
mcx::drive::DriveCiA402
Definition:
drive_cia402.h:19
mcx::drive::DriveBase
Definition:
drive_base.h:53
mcx::drive::DriveCiA402Sim
Definition:
drive_cia402sim.h:20
drive
cia402
drive_cia402sim.h
Generated by
1.8.18