Mission_1_DB
테이블 (3)
배터리 데이터 (battery)
- id (PK) — int(11) — 기본 키 — NOT NULL — Auto Increment
- sensor_id (FK) — int(11) — 외래 키 → 센서 데이터.sensor_id — NOT NULL — Auto Increment
- percentage (Field) — decimal(5,3) — NOT NULL
센서 데이터 (sensor_value)
- sensor_id (PK) — int(11) — 기본 키 — NOT NULL — Auto Increment
- date (Field) — datetime — NOT NULL — Subscribe 로 받은 데이터 기록 날짜 및 시간
- value_1 (Field2) — decimal(5,3) — NOT NULL — Subscribe 리스트로 받는 1번 데이터
- value_2 (Field3) — decimal(5,3) — NOT NULL — Subscribe 리스트로 받는 2번 데이터
- value_3 (Field4) — decimal(5,3) — NOT NULL — Subscribe 리스트로 받는 3번 데이터
- value_4 (Field5) — decimal(5,3) — NOT NULL — Subscribe 리스트로 받는 4번 데이터
- value_5 (Field6) — decimal(5,3) — NOT NULL — Subscribe 리스트로 받는 5번 데이터
- value_6 (Field7) — decimal(5,3) — NOT NULL — Subscribe 리스트로 받는 6번 데이터
- value_7 (Field8) — decimal(5,3) — NOT NULL — Subscribe 리스트로 받는 7번 데이터
- value_8 (Field9) — decimal(5,3) — NOT NULL — Subscribe 리스트로 받는 8번 데이터
- value_9 (Field10) — decimal(5,3) — NOT NULL — Subscribe 리스트로 받는 9번 데이터
- value_10 (Field11) — decimal(5,3) — NOT NULL — Subscribe 리스트로 받는 10번 데이터
전방 장애물 판별 데이터 (find)
- id (PK) — int(11) — 기본 키 — NOT NULL — Auto Increment
- sensor_id (FK) — int(11) — 외래 키 → 센서 데이터.sensor_id — NOT NULL — Auto Increment
- value_5 (Field) — decimal(5,3) — NOT NULL — Subscribe 리스트로 받는 5번 데이터
- value_6 (Field2) — decimal(5,3) — NOT NULL — Subscribe 리스트로 받는 6번 데이터
- find_5 (Field3) — boolean — NOT NULL — 5번 데이터에서 값이 0.5 이하일 때 장애물 있다고 판단
- find_6 (Field4) — boolean — NOT NULL — 6번 데이터에서 값이 0.5 이하일 때 장애물 있다고 판단