Code Structure- Variables and Objects

CMUcam:

struct robot{
int node_number;
int x;
int y;
int dx;
int dy;
int direction;
cc3_track_pkt_t t_pkt;
cc3_track_pkt_t t_pkt_prev;
};

ball[4]:

x
y
dx
dy

Leave a Reply