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