Skip to content

Commit

Permalink
Merge pull request #470 from #463-css-checkout
Browse files Browse the repository at this point in the history
[#463] Generic CSS Checkout
  • Loading branch information
kevincbruce authored Jan 21, 2025
2 parents 7af7b99 + 06c5b76 commit 9fae1ac
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 7 deletions.
6 changes: 3 additions & 3 deletions scripts/cfg/configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -469,11 +469,11 @@

sim_disabled = ' <active>false</active>\n'
if (sc_cam_en != 'true'):
lines[css_index] = sim_disabled
lines[cam_index] = sim_disabled
if (sc_css_en != 'true'):
lines[css_index] = sim_disabled
if (sc_eps_en != 'true'):
lines[css_index] = sim_disabled
lines[eps_index] = sim_disabled
if (sc_fss_en != 'true'):
lines[fss_index] = sim_disabled
if (sc_gps_en != 'true'):
Expand All @@ -483,7 +483,7 @@
if (sc_mag_en != 'true'):
lines[mag_index] = sim_disabled
if (sc_radio_en != 'true'):
lines[mag_index] = sim_disabled
lines[radio_index] = sim_disabled
if (sc_rw_en != 'true'):
lines[rw0_index] = sim_disabled
lines[rw1_index] = sim_disabled
Expand Down
17 changes: 14 additions & 3 deletions scripts/checkout.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,20 @@ echo "Checkout..."
#gnome-terminal --tab --title="Arducam Sim" -- $DFLAGS -v $SIM_DIR:$SIM_DIR --name $SC_NUM"_cam_sim" --network=$SC_NETNAME -w $SIM_BIN $DBOX ./nos3-single-simulator $SC_CFG_FILE camsim
#gnome-terminal --title="Arducam Checkout" -- $DFLAGS -v $BASE_DIR:$BASE_DIR --name $SC_NUM"_arducam_checkout" --network=$SC_NETNAME -w $BASE_DIR $DBOX ./components/arducam/fsw/standalone/build/arducam_checkout

# ##
# ## Fine Sun Sensor (FSS)
# ##
##
## Coarse Sun Sensor (CSS)
##
# rm -rf $USER_NOS3_DIR/42/NOS3InOut
# cp -r $BASE_DIR/cfg/build/InOut $USER_NOS3_DIR/42/NOS3InOut
# xhost +local:*
# gnome-terminal --tab --title=$SC_NUM" - 42" -- $DFLAGS -e DISPLAY=$DISPLAY -v $USER_NOS3_DIR:$USER_NOS3_DIR -v /tmp/.X11-unix:/tmp/.X11-unix:ro --name $SC_NUM"_fortytwo" -h fortytwo --network=$SC_NETNAME -w $USER_NOS3_DIR/42 -t $DBOX $USER_NOS3_DIR/42/42 NOS3InOut
# echo ""
# gnome-terminal --tab --title=$SC_NUM" - CSS Sim" -- $DFLAGS -v $SIM_DIR:$SIM_DIR --name $SC_NUM"_css_sim" --network=$SC_NETNAME -w $SIM_BIN $DBOX ./nos3-single-simulator $SC_CFG_FILE generic_css_sim
# gnome-terminal --title="CSS Checkout" -- $DFLAGS -v $BASE_DIR:$BASE_DIR --name $SC_NUM"_css_checkout" --network=$SC_NETNAME -w $BASE_DIR $DBOX ./components/generic_css/fsw/standalone/build/generic_css_checkout

##
## Fine Sun Sensor (FSS)
##
# rm -rf $USER_NOS3_DIR/42/NOS3InOut
# cp -r $BASE_DIR/cfg/build/InOut $USER_NOS3_DIR/42/NOS3InOut
# xhost +local:*
Expand Down

0 comments on commit 9fae1ac

Please sign in to comment.