From 6088239226d8be7fdd54804aed2a691f7cf3f00d Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 18 Oct 2022 13:36:27 +0200 Subject: [PATCH] update ramp time limits --- tmtc/reaction_wheels.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tmtc/reaction_wheels.py b/tmtc/reaction_wheels.py index 6a3da07..ce6a9ea 100644 --- a/tmtc/reaction_wheels.py +++ b/tmtc/reaction_wheels.py @@ -220,9 +220,9 @@ def pack_set_speed_command( pass if ramp_time_ms < 0 or ( - ramp_time_ms > 0 and (ramp_time_ms > 10000 or ramp_time_ms < 10) + ramp_time_ms > 0 and (ramp_time_ms > 20000 or ramp_time_ms < 10) ): - raise ValueError("Invalid Ramp Speed time. Allowed range is [10-10000] ms") + raise ValueError("Invalid Ramp Speed time. Allowed range is [10-20000] ms") command_id = RwCommandIds.SET_SPEED command = bytearray() command += object_id + command_id