Skip to content

Commit

Permalink
Fix OL indices again
Browse files Browse the repository at this point in the history
  • Loading branch information
dzalkind committed Jul 19, 2023
1 parent 21eb339 commit 33f1c8f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ROSCO_toolbox/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -815,6 +815,7 @@ def write_input(self,ol_filename):
if not skip_write:
ol_control_array = np.c_[ol_control_array,ol_timeseries[channel]]

ol_index_counter += 1 # Increment counter so it's 1 more than time, just like above in each iteration

# Cable control
is_cable_chan = np.array(['cable_control' in ol_chan for ol_chan in ol_timeseries.keys()])
Expand Down

0 comments on commit 33f1c8f

Please sign in to comment.