12 #define CAN_ID_US_B0_IN 0x360
13 #define CAN_ID_US_B0_OUT 0x361
14 #define CAN_ID_US_B1_IN 0x362
15 #define CAN_ID_US_B1_OUT 0x363
16 #define CAN_ID_US_B2_IN 0x364
17 #define CAN_ID_US_B2_OUT 0x365
18 #define CAN_ID_US_B3_IN 0x366
19 #define CAN_ID_US_B3_OUT 0x367
20 #define CAN_ID_US_B4_IN 0x368
21 #define CAN_ID_US_B4_OUT 0x369
22 #define CAN_ID_US_B5_IN 0x36A
23 #define CAN_ID_US_B5_OUT 0x36B
24 #define CAN_ID_US_B6_IN 0x36C
25 #define CAN_ID_US_B6_OUT 0x36D
26 #define CAN_ID_US_B7_IN 0x36E
27 #define CAN_ID_US_B7_OUT 0x36F
29 #define MRM_US_B_INACTIVITY_ALLOWED_MS 10000
34 std::vector<uint16_t>* readings;
40 bool started(uint8_t deviceNumber);
57 void add(
char * deviceName = (
char *)
"");
69 uint16_t
reading(uint8_t sensorNumber = 0);
Definition: mrm-us-b.h:33
void test()
Definition: mrm-us-b.cpp:145
void readingsPrint()
Definition: mrm-us-b.cpp:111
void add(char *deviceName=(char *)"")
Definition: mrm-us-b.cpp:21
bool messageDecode(uint32_t canId, uint8_t data[8])
Definition: mrm-us-b.cpp:68
uint16_t reading(uint8_t sensorNumber=0)
Definition: mrm-us-b.cpp:97
Mrm_us_b(Robot *robot=NULL, uint8_t maxNumberOfBoards=4)
Definition: mrm-us-b.cpp:10
Definition: mrm-robot.h:42
Definition: mrm-board.h:356