Add more examples

This commit is contained in:
2026-03-07 15:17:45 -05:00
parent e78106d540
commit 87bb2d74b5
16 changed files with 228 additions and 26 deletions

View File

@@ -1,3 +1,4 @@
//
// Created by Johnathon Slightham on 2026-02-16.
//
@@ -21,6 +22,7 @@ class RemoteManagement {
m_robot_controller(controller) {
}
bool perform_ota();
double ota_progress(); // 0 to 1 representing % progress.
void restart();
private:
@@ -29,6 +31,7 @@ class RemoteManagement {
bool ota_end();
uint16_t m_sequence_num = 0;
uint16_t m_total_packets = 0;
uint8_t m_module_id;
std::ifstream m_file;
std::unique_ptr<Flatbuffers::OTAPacketBuilder> m_builder;