akm

Dependents:   aigamozu_program_ver2 aigamozu_program_ver2_yokokawa aigamozu_auto_ver1 aigamozu_auto_ver2 ... more

agzIDLIST.h

Committer:
s1200058
Date:
2015-05-14
Revision:
11:f97178c08e4c
Parent:
9:ede1ec39d419
Child:
13:3d74358d3b1b

File content as of revision 11:f97178c08e4c:

#include "mbed.h"

////////////
//Bases
////////////

//BASE 1
#define BASE1_NUM 4
#define BASE1_32H 0x0013A200
#define BASE1_32L 0x4099371F
 
//BASE 2
#define BASE2_32H 0x0013A200
#define BASE2_32L 0x40993720
 
//BASE 3
#define BASE3_32H 0x0013A200
#define BASE3_32L 0x40993706
 
//BASE 4
#define BASE4_32H 0x0013A200
#define BASE4_32L 0x40993718
 
//BASE 5
#define BASE5_32H 0x0013A200
#define BASE5_32L 0x40993705

//BASE 6
#define BASE1_NUM 5
#define BASE1_32H 0x0013A200
#define BASE1_32L 0x40993784
 
//BASE 7
#define BASE2_32H 0x0013A200
#define BASE2_32L 0x40993757
 
//BASE 8
#define BASE3_32H 0x0013A200
#define BASE3_32L 0x40993700
 
//BASE 9
#define BASE4_32H 0x0013A200
#define BASE4_32L 0x40CACD51
 
//BASE 10
#define BASE5_32H 0x0013A200
#define BASE5_32L 0x40CACCD8

//BASE 11
#define BASE4_32H 0x0013A200
#define BASE4_32L 0x40CACD61
 
//BASE 12
#define BASE5_32H 0x0013A200
#define BASE5_32L 0x40CACD5B


////////////////
//robot
////////////////

//ROBOT 1
#define PAN_NUM 3
#define PAN1_R1_SH 0x0013a200
#define PAN1_R1_SL 0x40993787

//ROBOT 2
#define PAN1_R2_SH 0x0013a200
#define PAN1_R2_SL 0x4099371a

//ROBOT 3
#define PAN1_R3_SH 0x0013a200
#define PAN1_R3_SL 0x409926ff

//ROBOT 4
#define PAN1_R4_SH 0x0013a200
#define PAN1_R4_SL 0x40993704

//ROBOT 5
#define PAN1_R5_SH 0x0013a200
#define PAN1_R5_SL 0x409eaef7

//ROBOT 6
#define PAN1_R6_SH 0x0013a200
#define PAN1_R6_SL 0x40993703

//ROBOT 7
#define PAN1_R7_SH 0x0013a200
#define PAN1_R7_SL 0x40993701

//ROBOT 8
#define PAN1_R8_SH 0x0013a200
#define PAN1_R8_SL 0x40993716

//ROBOT 9 
#define PAN1_R9_SH 0x0013a200
#define PAN1_R9_SL 0x40993715

//ROBOT 10
#define PAN1_R10_SH 0x0013a200
#define PAN1_R10_SL 0x40993708

//ROBOT 11
#define PAN1_R11_SH 0x0013a200
#define PAN1_R11_SL 0x4099377a

//ROBOT 12
#define PAN1_R12_SH 0x0013a200
#define PAN1_R12_SL 0x40993707

//ROBOT 13
#define PAN1_R13_SH 0x0013a200
#define PAN1_R13_SL 0x40993709

//ROBOT 14
#define PAN1_R14_SH 0x0013a200
#define PAN1_R14_SL 0x40993713

//ROBOT 15
#define PAN1_R15_SH 0x0013a200
#define PAN1_R15_SL 0x40993717

//MANAGER
#define MANAGER_NUM 1
#define MANAGER_32H 0x0013A200
#define MANAGER_32L 0x409EAEF3

/////////////////////////////////////////
//
//Address List
//
/////////////////////////////////////////
XBeeAddress64 base_Address[BASE_NUM] = {XBeeAddress64(BASE1_32H,BASE1_32L), XBeeAddress64(BASE2_32H,BASE2_32L), 
                                 XBeeAddress64(BASE3_32H,BASE3_32L), XBeeAddress64(BASE4_32H,BASE4_32L),};
XBeeAddress64 robot_Address[PAN_NUM] = {XBeeAddress64(PAN1_32H,PAN1_32L), XBeeAddress64(PAN2_32H,PAN2_32L),
                                 XBeeAddress64(PAN3_32H,PAN3_32L)};
XBeeAddress64 manager_Address[MANAGER_NUM] = XBeeAddress64(MANAGER_32H, MANAGER_32L);


//AigamoRobots