12 #define CAN_ID_US1_0_IN 0x370
13 #define CAN_ID_US1_0_OUT 0x371
14 #define CAN_ID_US1_1_IN 0x372
15 #define CAN_ID_US1_1_OUT 0x373
16 #define CAN_ID_US1_2_IN 0x374
17 #define CAN_ID_US1_2_OUT 0x375
18 #define CAN_ID_US1_3_IN 0x376
19 #define CAN_ID_US1_3_OUT 0x377
20 #define CAN_ID_US1_4_IN 0x378
21 #define CAN_ID_US1_4_OUT 0x379
22 #define CAN_ID_US1_5_IN 0x37A
23 #define CAN_ID_US1_5_OUT 0x37B
24 #define CAN_ID_US1_6_IN 0x37C
25 #define CAN_ID_US1_6_OUT 0x37D
26 #define CAN_ID_US1_7_IN 0x37E
27 #define CAN_ID_US1_7_OUT 0x37F
29 #define MRM_US1_INACTIVITY_ALLOWED_MS 10000
34 std::vector<uint16_t>* readings;
40 bool started(uint8_t deviceNumber);
50 Mrm_us1(
Robot* robot = NULL, uint8_t maxNumberOfBoards = 4);
57 void add(
char * deviceName = (
char *)
"");
69 uint16_t
reading(uint8_t sensorNumber = 0);
bool messageDecode(uint32_t canId, uint8_t data[8])
Definition: mrm-us1.cpp:68
Mrm_us1(Robot *robot=NULL, uint8_t maxNumberOfBoards=4)
Definition: mrm-us1.cpp:10
void test()
Definition: mrm-us1.cpp:145
void add(char *deviceName=(char *)"")
Definition: mrm-us1.cpp:21
uint16_t reading(uint8_t sensorNumber=0)
Definition: mrm-us1.cpp:97
void readingsPrint()
Definition: mrm-us1.cpp:111
Definition: mrm-robot.h:42
Definition: mrm-board.h:356