Rev | Line | |
---|
[4] | 1 | // *********************************************************************
|
---|
| 2 | // created: 2008/2/28 - 16:24
|
---|
| 3 | // filename: structureCanCarmen.h
|
---|
| 4 | //
|
---|
| 5 | // author: Gerald Dherbomez
|
---|
| 6 | // Copyright Heudiasyc UMR UTC/CNRS 6599
|
---|
| 7 | //
|
---|
| 8 | // version: $Id: $
|
---|
| 9 | //
|
---|
| 10 | // purpose: Description of the CAN structures for Carmen
|
---|
| 11 | //
|
---|
| 12 | // to add:
|
---|
| 13 | // 094 - comodos
|
---|
| 14 | // 612 - eclairage
|
---|
| 15 | // 208 - couple
|
---|
| 16 | // 349 - couple boite vitesse
|
---|
| 17 | // 552 - heure
|
---|
| 18 | //
|
---|
| 19 | // to verify:
|
---|
| 20 | // 350 and 319 not present in real time acquisition
|
---|
| 21 | // *********************************************************************
|
---|
| 22 |
|
---|
| 23 | #ifndef STRUCTURECANCARMEN_H
|
---|
| 24 | #define STRUCTURECANCARMEN_H
|
---|
| 25 |
|
---|
| 26 | #include <cstddef>
|
---|
| 27 |
|
---|
| 28 | #include "driver/CanDriverBase.h"
|
---|
| 29 | #include "CanFrame.h"
|
---|
| 30 |
|
---|
| 31 | //#include "kernel/cstdint.h"
|
---|
| 32 | //#include "kernel/road_time.h"
|
---|
| 33 |
|
---|
| 34 | /// Basic structure of a CAN frame
|
---|
| 35 | //struct CanFrame
|
---|
| 36 | //{
|
---|
| 37 | // static const std::size_t MAX_CAN_MSG_LENGTH = 8;
|
---|
| 38 |
|
---|
| 39 | // uint32_t id;
|
---|
| 40 | // uint8_t dlc;
|
---|
| 41 | // uint8_t data [MAX_CAN_MSG_LENGTH];
|
---|
| 42 | //};
|
---|
| 43 |
|
---|
| 44 | /// CAN structure with timestamping
|
---|
| 45 | //struct TimestampedCanFrame
|
---|
| 46 | //{
|
---|
| 47 | // CanFrame frame;
|
---|
| 48 | // road_time_t time;
|
---|
| 49 | // road_timerange_t timerange;
|
---|
| 50 | //};
|
---|
| 51 |
|
---|
| 52 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.