Merge branch 'kranz/master' of https://egit.irs.uni-stuttgart.de/eive/eive-tmtc into kranz/master

This commit is contained in:
Robin Müller 2022-05-25 11:54:02 +02:00
commit 34e081f3c2

View File

@ -579,7 +579,7 @@ def activate_mgts_alternately(
duration=30000, duration=30000,
) )
tc_queue.appendleft(command.pack_command_tuple()) tc_queue.appendleft(command.pack_command_tuple())
tc_queue.appendleft((QueueCommands.WAIT, 10.0)) tc_queue.appendleft((QueueCommands.WAIT, 40.0))
command = pack_dipole_command( command = pack_dipole_command(
object_id=oids.IMTQ_HANDLER_ID, object_id=oids.IMTQ_HANDLER_ID,
@ -589,7 +589,7 @@ def activate_mgts_alternately(
duration=30000, duration=30000,
) )
tc_queue.appendleft(command.pack_command_tuple()) tc_queue.appendleft(command.pack_command_tuple())
tc_queue.appendleft((QueueCommands.WAIT, 10.0)) tc_queue.appendleft((QueueCommands.WAIT, 40.0))
command = pack_dipole_command( command = pack_dipole_command(
object_id=oids.IMTQ_HANDLER_ID, object_id=oids.IMTQ_HANDLER_ID,
@ -599,7 +599,7 @@ def activate_mgts_alternately(
duration=30000, duration=30000,
) )
tc_queue.appendleft(command.pack_command_tuple()) tc_queue.appendleft(command.pack_command_tuple())
tc_queue.appendleft((QueueCommands.WAIT, 10.0)) tc_queue.appendleft((QueueCommands.WAIT, 40.0))
command = pack_dipole_command( command = pack_dipole_command(
object_id=oids.IMTQ_HANDLER_ID, object_id=oids.IMTQ_HANDLER_ID,
@ -609,7 +609,7 @@ def activate_mgts_alternately(
duration=30000, duration=30000,
) )
tc_queue.appendleft(command.pack_command_tuple()) tc_queue.appendleft(command.pack_command_tuple())
tc_queue.appendleft((QueueCommands.WAIT, 10.0)) tc_queue.appendleft((QueueCommands.WAIT, 40.0))
command = pack_dipole_command( command = pack_dipole_command(
object_id=oids.IMTQ_HANDLER_ID, object_id=oids.IMTQ_HANDLER_ID,
@ -619,7 +619,7 @@ def activate_mgts_alternately(
duration=30000, duration=30000,
) )
tc_queue.appendleft(command.pack_command_tuple()) tc_queue.appendleft(command.pack_command_tuple())
tc_queue.appendleft((QueueCommands.WAIT, 10.0)) tc_queue.appendleft((QueueCommands.WAIT, 40.0))
command = pack_dipole_command( command = pack_dipole_command(
object_id=oids.IMTQ_HANDLER_ID, object_id=oids.IMTQ_HANDLER_ID,
@ -629,7 +629,7 @@ def activate_mgts_alternately(
duration=30000, duration=30000,
) )
tc_queue.appendleft(command.pack_command_tuple()) tc_queue.appendleft(command.pack_command_tuple())
tc_queue.appendleft((QueueCommands.WAIT, 10.0)) tc_queue.appendleft((QueueCommands.WAIT, 40.0))
def activate_one_rw_in_sequence( def activate_one_rw_in_sequence(
@ -706,13 +706,13 @@ def activate_two_rws_in_sequence(tc_queue: TcQueueT):
tc_queue.appendleft((QueueCommands.WAIT, 5.0)) tc_queue.appendleft((QueueCommands.WAIT, 5.0))
command = pack_set_speed_command( command = pack_set_speed_command(
object_id=oids.RW1_ID, object_id=oids.RW1_ID,
speed=20000, speed=-20000,
ramp_time=10000, ramp_time=10000,
) )
tc_queue.appendleft(command.pack_command_tuple()) tc_queue.appendleft(command.pack_command_tuple())
command = pack_set_speed_command( command = pack_set_speed_command(
object_id=oids.RW3_ID, object_id=oids.RW3_ID,
speed=20000, speed=-20000,
ramp_time=10000, ramp_time=10000,
) )
tc_queue.appendleft(command.pack_command_tuple()) tc_queue.appendleft(command.pack_command_tuple())
@ -733,13 +733,13 @@ def activate_two_rws_in_sequence(tc_queue: TcQueueT):
# RW2+4 speed cmd # RW2+4 speed cmd
command = pack_set_speed_command( command = pack_set_speed_command(
object_id=oids.RW2_ID, object_id=oids.RW2_ID,
speed=20000, speed=-20000,
ramp_time=10000, ramp_time=10000,
) )
tc_queue.appendleft(command.pack_command_tuple()) tc_queue.appendleft(command.pack_command_tuple())
command = pack_set_speed_command( command = pack_set_speed_command(
object_id=oids.RW4_ID, object_id=oids.RW4_ID,
speed=20000, speed=-20000,
ramp_time=10000, ramp_time=10000,
) )
tc_queue.appendleft(command.pack_command_tuple()) tc_queue.appendleft(command.pack_command_tuple())