v1.9.0 #53
@ -649,27 +649,6 @@ def pack_star_tracker_commands(
|
|||||||
command = object_id + struct.pack('!I', StarTrackerActionIds.FIRMWARE_UPDATE) + bytearray(firmware, "utf-8")
|
command = object_id + struct.pack('!I', StarTrackerActionIds.FIRMWARE_UPDATE) + bytearray(firmware, "utf-8")
|
||||||
command = PusTelecommand(service=8, subservice=128, ssc=87, app_data=command)
|
command = PusTelecommand(service=8, subservice=128, ssc=87, app_data=command)
|
||||||
tc_queue.appendleft(command.pack_command_tuple())
|
tc_queue.appendleft(command.pack_command_tuple())
|
||||||
<<<<<<< Updated upstream
|
|
||||||
=======
|
|
||||||
if op_code == "51":
|
|
||||||
tc_queue.appendleft((QueueCommands.PRINT, "Star tracker: Set image processor parameters"))
|
|
||||||
command = object_id + struct.pack('!I', StarTrackerActionIds.IMAGE_PROCESSOR) + \
|
|
||||||
bytearray(ImagePathDefs.jsonFile, 'utf-8')
|
|
||||||
command = PusTelecommand(service=8, subservice=128, ssc=70, app_data=command)
|
|
||||||
tc_queue.appendleft(command.pack_command_tuple())
|
|
||||||
if op_code == "52":
|
|
||||||
tc_queue.appendleft((QueueCommands.PRINT, "Star tracker: EGSE load ground config camera parameters"))
|
|
||||||
command = object_id + struct.pack('!I', StarTrackerActionIds.IMAGE_PROCESSOR) + \
|
|
||||||
bytearray(ImagePathDefs.egseGroundConfig, 'utf-8')
|
|
||||||
command = PusTelecommand(service=8, subservice=128, ssc=71, app_data=command)
|
|
||||||
tc_queue.appendleft(command.pack_command_tuple())
|
|
||||||
if op_code == "53":
|
|
||||||
tc_queue.appendleft((QueueCommands.PRINT, "Star tracker: EGSE load flight config camera parameters"))
|
|
||||||
command = object_id + struct.pack('!I', StarTrackerActionIds.IMAGE_PROCESSOR) + \
|
|
||||||
bytearray(ImagePathDefs.egseFlightConfig, 'utf-8')
|
|
||||||
command = PusTelecommand(service=8, subservice=128, ssc=72, app_data=command)
|
|
||||||
tc_queue.appendleft(command.pack_command_tuple())
|
|
||||||
>>>>>>> Stashed changes
|
|
||||||
|
|
||||||
|
|
||||||
def pack_write_command(object_id: bytearray) -> bytearray:
|
def pack_write_command(object_id: bytearray) -> bytearray:
|
||||||
|
Loading…
Reference in New Issue
Block a user