Skip to content

Commit

Permalink
[#285] Attempted to implemented suggestions from sdunlap-afit and res…
Browse files Browse the repository at this point in the history
…olved issue with running minimal-config;
  • Loading branch information
jlucas9 committed Jun 25, 2024
1 parent 9b56e75 commit 4edf97e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cfg/sc-minimal-config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
</torquer>
</components>
<gui>
<enable>true</enable>
<enable>false</enable>
</gui>
<orbit>
<tipoff_x>0.1</tipoff_x>
Expand Down
12 changes: 6 additions & 6 deletions scripts/configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@
rw1_from_index = 999
rw2_to_index = 999
rw2_from_index = 999
sample_index = 999
#sample_index = 999
st_index = 999
torquer_index = 999

Expand Down Expand Up @@ -303,9 +303,9 @@
if line.find('RW 2 from 42') != -1:
if (lines.index(line)) < rw2_from_index:
rw2_from_index = lines.index(line) + 1
if line.find('Sample IPC') != -1:
if (lines.index(line)) < sample_index:
sample_index = lines.index(line) + 1
#if line.find('Sample IPC') != -1:
# if (lines.index(line)) < sample_index:
# sample_index = lines.index(line) + 1
if line.find('Star Tracker IPC') != -1:
if (lines.index(line)) < st_index:
st_index = lines.index(line) + 1
Expand All @@ -331,8 +331,8 @@
lines[rw1_from_index] = ipc_off
lines[rw2_to_index] = ipc_off
lines[rw2_from_index] = ipc_off
if (sc_sample_en != 'true'):
lines[sample_index] = ipc_off
#if (sc_sample_en != 'true'):
# lines[sample_index] = ipc_off
if (sc_st_en != 'true'):
lines[st_index] = ipc_off
if (sc_torquer_en != 'true'):
Expand Down
2 changes: 1 addition & 1 deletion sims/nos_time_driver

0 comments on commit 4edf97e

Please sign in to comment.