Skip to content

Commit

Permalink
Revert arguments in add_callback
Browse files Browse the repository at this point in the history
  • Loading branch information
erinpougheon committed Jul 17, 2024
1 parent 79bb0db commit a7c17df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion catkit2/services/simple_simulator/simple_simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def callback():
self.model.dm.actuators = new_actuators
self.model.purge_plane('pre_turbulence')

self.add_callback(at_time, callback)
self.add_callback(callback, at_time)

def update_atmosphere(self):
self.log.info('Updating atmosphere.')
Expand Down

0 comments on commit a7c17df

Please sign in to comment.