Skip to content
Snippets Groups Projects
Commit 971d5f6c authored by Davide Basso's avatar Davide Basso
Browse files

[Parafoil] Change progressive-rotation decrement

parent be96491d
Branches
No related tags found
1 merge request!102[Parafoil] Add Parafoil On-Board-Software
...@@ -45,7 +45,7 @@ constexpr auto TARGET_UPDATE_RATE = 10_hz; ...@@ -45,7 +45,7 @@ constexpr auto TARGET_UPDATE_RATE = 10_hz;
constexpr auto STRAIGHT_FLIGHT_TIMEOUT = 15_s; constexpr auto STRAIGHT_FLIGHT_TIMEOUT = 15_s;
constexpr auto PROGRESSIVE_ROTATION_TIMEOUT = 5_s; constexpr auto PROGRESSIVE_ROTATION_TIMEOUT = 5_s;
constexpr auto COMMAND_PERIOD = 6_s; constexpr auto COMMAND_PERIOD = 6_s;
constexpr auto WING_DECREMENT = 30_deg; constexpr auto WING_DECREMENT = 20_deg;
/** /**
* @brief The available algorithms for the wing controller. * @brief The available algorithms for the wing controller.
......
...@@ -498,7 +498,7 @@ void WingController::loadAlgorithms() ...@@ -498,7 +498,7 @@ void WingController::loadAlgorithms()
step.timestamp = Microsecond{PROGRESSIVE_ROTATION_TIMEOUT}.value(); step.timestamp = Microsecond{PROGRESSIVE_ROTATION_TIMEOUT}.value();
for (auto angle = 150_deg; angle >= 0_deg; angle -= WING_DECREMENT) for (auto angle = 80_deg; angle >= 0_deg; angle -= WING_DECREMENT)
{ {
step.servo1Angle = angle; step.servo1Angle = angle;
step.servo2Angle = 0_deg; step.servo2Angle = 0_deg;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment