Commit graph

37 commits

Author SHA1 Message Date
Aadi Desai cea4237b75 Add waiting state to reference doc 2021-06-13 23:33:49 +01:00
Aadi Desai 39a8d232a7 Add wait function to rover
Instruction type and handling within switch statements
2021-06-13 21:43:43 +01:00
Aadi Desai b6cbfc7619 Add ability to pause rover for a defined time to reference doc 2021-06-13 21:24:38 +01:00
Aadi Desai 24bd7db3a8 Rover Control Program Complete
To be tested
2021-06-13 18:36:13 +01:00
Aadi Desai dc927495ec Fix type errors for battery stat reporting 2021-06-13 18:26:00 +01:00
Aadi Desai f3ca90fb2e Add battery cycle tracking to Command<->Control reference doc 2021-06-13 17:59:21 +01:00
Aadi Desai 0483397ae6 Add emergency stop function 2021-06-13 17:26:50 +01:00
Aadi Desai 39603efd3c Add odometer reset flag to Drive<->Control reference doc 2021-06-13 16:51:46 +01:00
Aadi Desai bbec96810f Set up basic rover flow, individual functions to be completed 2021-06-13 00:56:49 +01:00
Aadi Desai 5e6254029a Add instruction.h
Struct for holding instructions in FIFO Queue, enum for instruction types
2021-06-13 00:50:38 +01:00
Aadi Desai 1e87e9b0f4 Fix incorrect variable types
reqSpeed is between 0 & 1, batteryVoltage has decimal places, both should be float not int
2021-06-13 00:47:41 +01:00
Aadi Desai 52e14dfaa8 Update Command<->Control reference doc
Add Rover state and correct comments
2021-06-12 21:00:55 +01:00
Aadi Desai 1d29735429 Update Command<->Control reference doc 2021-06-12 15:15:37 +01:00
Aadi Desai 5667ef67f2 Add basic status flag for flow control 2021-06-12 12:50:44 +01:00
Aadi Desai 88adbdc572 Correct location of credentials.h to include/ 2021-06-12 12:47:12 +01:00
Aadi Desai 778be64c3d Create Vision<->Control reference doc 2021-06-10 18:00:13 +01:00
Aadi Desai 7ab9de2cc7 Tidy up main.cpp formatting
Regions allow for Code Folding
2021-06-09 18:33:37 +01:00
Aadi Desai 5411a247bc Create Command<->Control reference doc 2021-06-09 15:25:18 +01:00
Aadi Desai 65f48f99c3 Create Energy<->Control reference doc 2021-06-08 20:26:59 +01:00
Aadi Desai 0798db2d3e Add expansion board mapping for connection to DE10 Lite 2021-06-07 16:59:56 +01:00
Aadi Desai fd76a692e1 Add ability for Drive to request current heading from Control 2021-06-07 16:29:04 +01:00
Aadi Desai 9463a14cdc Create Drive<->Control reference doc 2021-06-07 14:08:58 +01:00
Aadi Desai 0dee19f28c Updated main to use portable Ticker Lib 2021-06-05 13:11:09 +01:00
Aadi Desai 99c3af355b Add portable Ticker @ 2.0.0 Library 2021-06-05 13:10:51 +01:00
Aadi Desai e07744478d SPIFFS tested, working 2021-06-04 17:12:40 +01:00
Aadi Desai bcdd392020 Migrate to SPIFFS, untested 2021-06-04 01:02:32 +01:00
Aadi Desai 87b16945f2 Merge code from temp.cpp into main.cpp 2021-06-03 21:29:14 +01:00
Aadi Desai de87475e47 Add debugging compilation and monitor flags 2021-06-03 21:29:00 +01:00
Aadi Desai 3920375c43 Update library dependencies 2021-06-03 21:28:20 +01:00
Aadi Desai d8209c009f Add dummy credentials file 2021-06-03 01:09:29 +01:00
Aadi Desai a120aa10fc Add Json dependency to project 2021-06-02 18:53:55 +01:00
Aadi Desai 084959db0e Add temp file to migrate to main.cpp 2021-06-02 18:50:54 +01:00
Aadi Desai 02aed60775 Add software serial library and demo
Connect each TX/RX pair as loopback: results in message passing through both pairs of hardware and software UARTs and echoing back input to serial monitor
2021-06-01 17:46:31 +01:00
Aadi Desai 6c31662970 UART Test program for ESP32 expansion board
Uses ESP32 hardware serial UARTs with pins of Arduino HAT board
2021-05-22 18:06:39 +01:00
Aadi Desai 98933c77c9 Set PIO Serial Monitor to "Line Mode"
Using "send_on_enter" monitor filter mode
2021-05-22 18:05:24 +01:00
Aadi Desai 3142d1e64e
Remove blink sketch
ESP32 DevKitC V4 does not have LED_BUILTIN
2021-05-18 12:28:50 +01:00
Aadi Desai e4b6e0dc0d Control Module Initial Commit 2021-05-18 12:18:36 +01:00