FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
void ConnectionDrive::SendCanFrame
(
uint16_t
cobid
,
uint8_t
m0
=
0
,
uint8_t
m1
=
0
,
uint8_t
m2
=
0
,
uint8_t
m3
=
0
,
uint8_t
m4
=
0
,
uint8_t
m5
=
0
,
uint8_t
m6
=
0
,
uint8_t
m7
=
0
)
inline
private
Definition at line
537
of file
drivectrl.cc
.
References
data
.
540
{
541
const
uint16_t desc = (cobid<<5) | 8;
542
543
vector<uint8_t>
data
(11);
544
data
[0] = 10;
545
data
[1] = desc>>8;
546
data
[2] = desc&0xff;
547
548
const
uint8_t msg[8] = { m0, m1, m2, m3, m4, m5, m6, m7 };
549
memcpy(
data
.data()+3, msg, 8);
550
551
PostMessage
(
data
);
552
}
Connection::PostMessage
void PostMessage(const void *msg, size_t s=0)
data
float data[4 *1440]
Definition:
EventBuilderWrapper.h:95
ConnectionDrive
Generated on Sun Sep 18 2016 20:50:44 for FACT++ by
1.8.11