summaryrefslogtreecommitdiff
path: root/Venus_Skeleton/dataTypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'Venus_Skeleton/dataTypes.h')
-rw-r--r--Venus_Skeleton/dataTypes.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/Venus_Skeleton/dataTypes.h b/Venus_Skeleton/dataTypes.h
index 9a77ae1..3829da1 100644
--- a/Venus_Skeleton/dataTypes.h
+++ b/Venus_Skeleton/dataTypes.h
@@ -10,15 +10,18 @@ typedef enum {
// Sensor data
typedef struct {
- // ir
bool IR_left_detected;
bool IR_right_detected;
- bool sample_turret_detected;
bool sample_gripper_detected;
- int distance;
+ bool sample_turret_detected[NUM_TURRET_DIRECTIONS];
+ bool beacon_detected[NUM_TURRET_DIRECTIONS];
long obstacle_turret_distances[NUM_TURRET_DIRECTIONS];
- // ..
- long timer; // 32-bit
+ int robot_x[NUM_TURRET_DIRECTIONS];
+ int robot_y[NUM_TURRET_DIRECTIONS];
+ int robot_deg[NUM_TURRET_DIRECTIONS];
+ int robot_curr_x;
+ int robot_curr_y;
+ int robot_curr_deg;
} data_t;
enum {
CHANGED_SENS_COMPASS = 1 << 0,