FACT++  1.0
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 
)
inlineprivate

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  }
void PostMessage(const void *msg, size_t s=0)
float data[4 *1440]