Skip to content

Commit

Permalink
Update schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
ROV Laptop committed Jun 20, 2024
1 parent 003c123 commit 718d691
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/float/float_transceiver/float_transceiver.ino
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ const uint32_t PROFILE_SEGMENT = 60000;
#endif

// Schedule (all delays in ms)
const uint32_t RELEASE_MAX = 300000;
const uint32_t RELEASE_MAX = 8 * 60000;
const uint32_t SUCK_MAX = PROFILE_SEGMENT;
const uint32_t DESCEND_TIME = PROFILE_SEGMENT;
const uint32_t PUMP_MAX = PROFILE_SEGMENT;
const uint32_t ASCEND_TIME = 0; // Disable ascend times now that we're properly ballasted
const uint32_t TX_MAX = 60000;
const uint32_t ONE_HOUR = 360000;
const uint32_t TX_MAX = 2 * 60000;
const uint32_t CODA = 2 * 60000;

const size_t SCHEDULE_LENGTH = 12;

Expand Down Expand Up @@ -78,7 +78,7 @@ Stage SCHEDULE[SCHEDULE_LENGTH] = {
{StageType::Pump, PUMP_MAX },
{StageType::WaitProfiling, ASCEND_TIME },

{StageType::WaitTransmitting, ONE_HOUR },
{StageType::WaitTransmitting, CODA },
};

uint32_t stageStartTime;
Expand Down Expand Up @@ -255,7 +255,7 @@ void loop() {

// If we signal a third profile, restart the schedule
if (currentStage >= SCHEDULE_LENGTH) {
currentStage = 1;
currentStage = 2;
}

// Switch to sucking/pumping depending on the stage we're entering
Expand Down

0 comments on commit 718d691

Please sign in to comment.