diff --git a/src/boards/Payload/Configs/WingConfig.h b/src/boards/Payload/Configs/WingConfig.h index eef6c39d0751e0072fe538ecd673038e85e62a43..8851252b684454e9aad55154e8a5bb339dd17256 100644 --- a/src/boards/Payload/Configs/WingConfig.h +++ b/src/boards/Payload/Configs/WingConfig.h @@ -51,7 +51,7 @@ constexpr float DEFAULT_TARGET_LAT = 39.389733; constexpr float DEFAULT_TARGET_LON = -8.288992; #elif defined(ROCCARASO) constexpr float DEFAULT_TARGET_LAT = 41.8039952; -constexpr float DEFAULT_TARGET_LON = 14.0535; +constexpr float DEFAULT_TARGET_LON = 14.0547223; #else // Milan constexpr float DEFAULT_TARGET_LAT = 42; constexpr float DEFAULT_TARGET_LON = 9; diff --git a/src/boards/Payload/StateMachines/Deployment/Deployment.cpp b/src/boards/Payload/StateMachines/Deployment/Deployment.cpp index 7cb8ead771c33f2fbbc7a77936f11d5d22165b34..43ecd8cc2be5520028facefa87b99bf7393db7c5 100644 --- a/src/boards/Payload/StateMachines/Deployment/Deployment.cpp +++ b/src/boards/Payload/StateMachines/Deployment/Deployment.cpp @@ -76,7 +76,7 @@ void Deployment::state_idle(const Event& event) void Deployment::state_cutting(const Event& event) { - static uint16_t ncCuttinTimeoutEventId = -1; + static uint16_t ncCuttingTimeoutEventId = -1; switch (event) { @@ -86,7 +86,7 @@ void Deployment::state_cutting(const Event& event) startCutting(); - ncCuttinTimeoutEventId = + ncCuttingTimeoutEventId = EventBroker::getInstance().postDelayed<CUT_DURATION>( Boardcore::Event{DPL_CUT_TIMEOUT}, TOPIC_DPL); break; @@ -99,7 +99,7 @@ void Deployment::state_cutting(const Event& event) } case EV_EXIT: { - EventBroker::getInstance().removeDelayed(ncCuttinTimeoutEventId); + EventBroker::getInstance().removeDelayed(ncCuttingTimeoutEventId); break; } } diff --git a/src/entrypoints/Payload/payload-entry.cpp b/src/entrypoints/Payload/payload-entry.cpp index 8846f841381020ba2db7a7cd558f2e8e33b9eaf8..d6073de12388909adcb845eb9109c371e66d0767 100644 --- a/src/entrypoints/Payload/payload-entry.cpp +++ b/src/entrypoints/Payload/payload-entry.cpp @@ -137,8 +137,8 @@ int main() 0.1, 0.01, PARAFOIL_LEFT_SERVO, PARAFOIL_RIGHT_SERVO)); // WingController::getInstance().addAlgorithm(new AutomaticWingAlgorithm( // 1, 0, PARAFOIL_LEFT_SERVO, PARAFOIL_RIGHT_SERVO)); - WingController::getInstance().addAlgorithm(new FileWingAlgorithm( - PARAFOIL_LEFT_SERVO, PARAFOIL_RIGHT_SERVO, "/sd/servoCorta.csv")); + // WingController::getInstance().addAlgorithm(new FileWingAlgorithm( + // PARAFOIL_LEFT_SERVO, PARAFOIL_RIGHT_SERVO, "/sd/servoCorta.csv")); WingController::getInstance().selectAlgorithm(0);