Commit graph

63 commits

Author SHA1 Message Date
Aadi Desai f11d869a4a
Minor fixes, outside of project 2021-06-17 10:56:44 +01:00
Aadi Desai 046f28a3c2
Add colour command to help text 2021-06-15 18:06:36 +01:00
Mee2001 7dd064afe9 Charge cycles added (6hrs)
Heading orientation fixed
2021-06-15 13:33:58 +01:00
Aadi Desai f0c4567102 Add data flow for battery stats when Energy is not integrated 2021-06-15 12:59:46 +01:00
Mee2001 34114e1b55 Fix UI range
Change colour to string
Fix distance counting
2021-06-15 12:57:28 +01:00
Aadi Desai a02bb51d7e Merge branch 'main' into Integration 2021-06-15 11:25:46 +01:00
Mee2001 ca662990b7 Update UI for Colour
Update for negative translation
Change default UI values
2021-06-15 11:25:10 +01:00
Mee2001 ec55c24a7c Implement stop
Fix UI
2021-06-15 09:42:22 +01:00
Aadi Desai 6ca4be5e11 Add missing RSSI / Signal Strength tracking 2021-06-15 08:59:11 +01:00
Aadi Desai 8353103e1f Add colour selection to Command<->Control reference doc 2021-06-15 08:55:42 +01:00
Aadi Desai 531a86c6d0 Fix instruction struct
Type declaration of colour variable
2021-06-15 08:52:33 +01:00
Aadi Desai c98bafd6f7 Add ability to select Vision colour tracking 2021-06-15 03:14:04 +01:00
Aadi Desai bbe36fb9dd Merge branch 'main' into Testad3919 2021-06-15 03:08:12 +01:00
Aadi Desai 72021e7208 Fix Instruction Queue and Emergency Stop 2021-06-15 01:33:52 +01:00
Mee2001 5e95a8d860 Control updates 2021-06-15 00:51:46 +01:00
Aadi Desai 4fd4e56f62 Add command.js to webserver serve code 2021-06-14 20:27:49 +01:00
Aadi Desai 5f3d1b5366 Merge branch 'main' into Integration 2021-06-14 18:38:15 +01:00
Aadi Desai 20f13252a7 Merge branch 'main' into PIOjc4419 2021-06-14 18:36:47 +01:00
Aadi Desai 2c135f118a Add external compass input 2021-06-14 17:50:15 +01:00
jc4419 46519cfe19 Alpha stage commit. Console done.
Console Changes: changed the name of the tokens so that more helpful error messages. Added help text.
Moved command.jison to src.
Other Changes: Added more telemetry data about battery and rover status.
Finished gui commands, replaced to sliders from buttons and linked them to command console.
2021-06-14 20:37:05 +04:00
Aadi Desai 54d30741e0
Merge branch 'main' into Integration 2021-06-14 12:17:20 +01:00
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
jc4419 6c221f6d12 Fully implemented the console. Console required the additon of a parser written in .jison api and output as command.js which is linked in html. Tested working sending correct JSON packets. 2021-06-13 22:42:00 +04: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
jc4419 44f9d8ce7b Removed redundant leftover code from previous versions. Tweaked some coloring and formatting(again).
Added the 'Command Buffer' section.
Added the JSON format for sending data, yet to be implemented.
2021-06-12 04:18:04 +04:00
jc4419 f5ca382c49 Added extra telemetry data parameters, and the corresponding javascript websocket back end. In short rover to client interface is done, needs to be tested. Also changed button interface to accomodate new 'command buffer' system. No real time control. Also made layout static so that button layout doesnt break when resizing window. 2021-06-11 22:45:00 +04:00
jc4419 385eac760f Changed layout fomatting to use tables instead of 'float' property. Removed com port field so it works in my environment. 2021-06-11 17:44:12 +04:00
Aadi Desai 778be64c3d Create Vision<->Control reference doc 2021-06-10 18:00:13 +01:00
Mee2001 f40452c255 Integrated Command and Drive 2021-06-10 14:40:00 +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