request contrast command
This commit is contained in:
@ -28,6 +28,7 @@ class StarTrackerActionIds:
|
||||
REQ_SOLUTION = 24
|
||||
REQ_TEMPERATURE = 25
|
||||
REQ_HISTOGRAM = 28
|
||||
REQ_CONTRAST = 29
|
||||
LIMITS = 40
|
||||
MOUNTING = 41
|
||||
CAMERA = 42
|
||||
@ -228,3 +229,8 @@ def pack_star_tracker_commands(object_id: bytearray, tc_queue: TcQueueT, op_code
|
||||
command = object_id + struct.pack('!I', StarTrackerActionIds.REQ_HISTOGRAM)
|
||||
command = PusTelecommand(service=8, subservice=128, ssc=55, app_data=command)
|
||||
tc_queue.appendleft(command.pack_command_tuple())
|
||||
if op_code == "31":
|
||||
tc_queue.appendleft((QueueCommands.PRINT, "Star tracker: Request contrast"))
|
||||
command = object_id + struct.pack('!I', StarTrackerActionIds.REQ_CONTRAST)
|
||||
command = PusTelecommand(service=8, subservice=128, ssc=56, app_data=command)
|
||||
tc_queue.appendleft(command.pack_command_tuple())
|
||||
|
Reference in New Issue
Block a user