
Code for the mbed NXP LPC1768 To be used on The Robot Studio Slave Boards License : Simplified BSD
Diff: include/eposCmd.h
- Revision:
- 1:b430b4401fc4
- Parent:
- 0:18d7499b82f3
- Child:
- 2:7ab1d5918efe
--- a/include/eposCmd.h Wed Feb 27 14:53:45 2013 +0000 +++ b/include/eposCmd.h Wed Mar 06 17:07:47 2013 +0000 @@ -9,16 +9,16 @@ //Define #define NUMBER_MAX_EPOS2_PER_SLAVE 15 -#define NUMBER_MSG_PER_PACKET 15 -#define NUMBER_BYTES_PER_MSG 7 -#define NUMBER_EPOS2_BOARDS 1 -#define NB_SAMPLES_MEDIAN 5 -#define NB_MSG_TO_TRACK 20 //at least 4 -#define CMD_BUFFER_SIZE 26 //13*2 -> 2 cmdSet of 13 cmds each -#define PAUSE 10 -#define EPOS2_OK 0 -#define EPOS2_ERROR -1 -#define LOOP_PERIOD_TIME 20000 //20 ms +#define NUMBER_MSG_PER_PACKET 45 +#define NUMBER_BYTES_PER_MSG 8 +#define NUMBER_EPOS2_BOARDS 1 +#define NB_SAMPLES_MEDIAN 5 +//#define NB_MSG_TO_TRACK 20 //at least 4 +//#define CMD_BUFFER_SIZE 26 //13*2 -> 2 cmdSet of 13 cmds each +#define PAUSE 10 +#define EPOS2_OK 0 +#define EPOS2_ERROR -1 +#define LOOP_PERIOD_TIME 20000 //20 ms enum ActivatedMode {