// ********************************************************************* // created: 2008/2/28 - 16:24 // filename: structureCanCarmen.h // // author: Gerald Dherbomez // Copyright Heudiasyc UMR UTC/CNRS 6599 // // version: $Id: $ // // purpose: Description of the CAN structures for Carmen // // to add: // 094 - comodos // 612 - eclairage // 208 - couple // 349 - couple boite vitesse // 552 - heure // // to verify: // 350 and 319 not present in real time acquisition // ********************************************************************* #ifndef STRUCTURECANCARMEN_H #define STRUCTURECANCARMEN_H #include #include "driver/CanDriverBase.h" #include "CanFrame.h" //#include "kernel/cstdint.h" //#include "kernel/road_time.h" /// Basic structure of a CAN frame //struct CanFrame //{ // static const std::size_t MAX_CAN_MSG_LENGTH = 8; // uint32_t id; // uint8_t dlc; // uint8_t data [MAX_CAN_MSG_LENGTH]; //}; /// CAN structure with timestamping //struct TimestampedCanFrame //{ // CanFrame frame; // road_time_t time; // road_timerange_t timerange; //}; #endif