Space Shuttle Ultra 1.25 Revision B development

Moved the lights down and enlarged the code. If you want to change the height at which the lights are aimed, play with the PAD_HEIGHT_OFFSET and CRAWLER_HEIGHT_OFFSET values in Xenon_Lights.h.

---------- Post added at 05:38 PM ---------- Previous post was at 05:38 PM ----------

Are all the lights aimed at the same point? Looking at the photos, it might be a good idea to specify the target height in the scenario file.
 
Moved the lights down and enlarged the code. If you want to change the height at which the lights are aimed, play with the PAD_HEIGHT_OFFSET and CRAWLER_HEIGHT_OFFSET values in Xenon_Lights.h.

---------- Post added at 05:38 PM ---------- Previous post was at 05:38 PM ----------

Are all the lights aimed at the same point? Looking at the photos, it might be a good idea to specify the target height in the scenario file.
Looking good now.
 
screenshot please !!!:P
 
screenshot please !!!:P
Here you go. Just noticed that we need to decrease the strength of the pad stadium lights a bit as the they're still noticeable even with the Xenons on, which they shouldn't be.
 

Attachments

  • Columbia_padA_tanking_night.jpg
    Columbia_padA_tanking_night.jpg
    439.6 KB · Views: 654
Now that we have pad lighting, how about we move on to the orbiter? That is the PLB and RMS lights. That should close out the work nicely.
 
Are you guys working on the Space Shuttle Ultra?

---------- Post added at 01:18 AM ---------- Previous post was at 01:15 AM ----------

Here you go. Just noticed that we need to decrease the strength of the pad stadium lights a bit as the they're still noticeable even with the Xenons on, which they shouldn't be.

DUDE THAT IS AMAZING!
 
As I am not a direct participant in the SSU project, I feel hesitant to offer suggestion.

However, I was wondering if it might benefit the orbiter community of the SSU team were to release a progress report at the end of each month. That way people who haven't been following SSU from the beginning will have an alternative to reading 20+ pages of forum noise just to figure out what's doing on.

Just a suggestion, and it might even make your lives easier.
 
Now that we have pad lighting, how about we move on to the orbiter? That is the PLB and RMS lights. That should close out the work nicely.
One thing that still needs to be done for the xenons is to turn the lights on and off; at the moment, the lights are always on. Do you want this to be done based on the sun position (like for the pad lights), or do you want to use a command (e.g. CTRL+L)?

Also, do you know if the Auto/CSS PBIs on panels F4 and F2 are used for anything on orbit? I'm working on an AOA autopilot for entry, and I'm planning to use the PBIs to enable/disable it.
 
One thing that still needs to be done for the xenons is to turn the lights on and off; at the moment, the lights are always on. Do you want this to be done based on the sun position (like for the pad lights), or do you want to use a command (e.g. CTRL+L)?
I think sun angle like before would be the best idea.

Also, do you know if the Auto/CSS PBIs on panels F4 and F2 are used for anything on orbit? I'm working on an AOA autopilot for entry, and I'm planning to use the PBIs to enable/disable it.
They're not used on-orbit. They go out when the software is moded to MM105 and doesn't return until MM304 is entered.
 
Is there a reason why the DiscretePorts are only created in clbkPostCreation? This makes it difficult to save/load the settings of each DiscretePort, since they don't exist when clbkLoadState is called.
 
Is there a reason why the DiscretePorts are only created in clbkPostCreation? This makes it difficult to save/load the settings of each DiscretePort, since they don't exist when clbkLoadState is called.

It was actually never planned to make each port have a state assigned that is saved. I just needed their creation at a place that is only called once, for the simplicity.
 
The states don't normally need to be saved, since they either correspond to switch positions or other variables in Atlantis. For the AUTO/CSS PBIs, we don't save the PBI state and there doesn't seem to be any point in creating an additional variable to store the DiscPort state. At this point the easiest thing is probably to save the state of each PBI in the scenario file, although we'll wind up saving some lines multiple times.
 
How's the AoA AP coming? Here's CRTMFD bug report: When entering several OMS MNVR screens, the title isn't displayed and the error message "MDU text buffer overflow" is shown. The same error message is present in Orbiter.log as well.

Here's a scenario that shows it:

Code:
BEGIN_DESC
Contains the latest simulation state.
END_DESC

BEGIN_ENVIRONMENT
  System Sol
  Date MJD 51983.2411999273
END_ENVIRONMENT

BEGIN_FOCUS
  Ship STS-101
END_FOCUS

BEGIN_CAMERA
  TARGET STS-101
  MODE Cockpit
  FOV 44.80
END_CAMERA

BEGIN_MFD Left
  TYPE Surface
  SPDMODE 1
END_MFD

BEGIN_MFD Right
  TYPE User
  MODE CRT
  Mode2 1
  MDU 9
END_MFD

BEGIN_MFD 5
  TYPE User
  MODE CRT
  Mode2 1
  MDU 9
END_MFD

BEGIN_VC
END_VC

BEGIN_SHIPS
ISS:ProjectAlpha_ISS
  STATUS Orbiting Earth
  RPOS 3705792.01 5177721.88 -2179388.46
  RVEL 6267.654 -4470.756 47.348
  AROT 110.00 -10.00 80.00
  AFCMODE 7
  PRPLEVEL 0:1.000000
  IDS 0:1 100 1:2 100 2:3 100 3:4 100 4:5 100
  NAVFREQ 0 0
  XPDR 466
END
STS-101:SpaceShuttleUltra
  STATUS Orbiting Earth
  RPOS -5205693.01 -3299329.77 1971008.23
  RVEL -4290.931 6548.995 -993.508
  AROT 70.40 71.63 -126.90
  VROT -0.08 0.01 -0.00
  AFCMODE 7
  PRPLEVEL 0:0.189117 1:0.714162 2:0.785184 3:0.785368 4:1.000000 5:0.992000 6:0.323961 9:0.030000
  NAVFREQ 0 0
  MISSION STS-133
  CONFIGURATION 3
  ODS
  MET 24909.652723
  WING_NAME Atlantis
  GEAR 0 0.0000
  RMS
  OPS 303
  PEG7 -250.000000 0.000000 0.000000
  WT 211805.221838
  TIG 0 6 25 0.0
  TV_ROLL 0.000000
  MNVR 1 0
  TGT_ID 2
  BODY_VECT 1
  ROLL 0.000000
  PITCH 0.000000
  YAW 0.000000
  P_ANGLE 0.000000
  Y_ANGLE 0.000000
  OM_ANGLE -1.000000
  DAP MODE 0 0
  ROT MODE 0 0 0
  TRANS MODE 0 0 0
  CONTROL MODE 2
   PAYLOAD CACTIVE1 8.000000 0.000000 0
   PAYLOAD CACTIVE2 0.000000 0.000000 0
   PAYLOAD CACTIVE3 -8.000000 0.000000 0
   PAYLOAD CPASSIVE1 4.000000 0.000000 0
   PAYLOAD CPASSIVE2 2.000000 0.000000 0
   PAYLOAD CPASSIVE3 -6.000000 0.000000 0
   PAYLOAD CPASSIVE4 7.000000 0.000000 0
   PAYLOAD PORT1 3.000000 0.000000 0
   PAYLOAD PORT2 -2.000000 0.000000 0
   PAYLOAD PORT3 -8.000000 0.000000 0
   PAYLOAD PORT4 7.000000 0.000000 0
   PAYLOAD STBD1 3.000000 0.000000 0
   PAYLOAD STBD2 -2.000000 0.000000 0
   PAYLOAD STBD3 -8.000000 0.000000 0
   PAYLOAD STBD4 0.000000 0.000000 0
  MPSGOXVENT 1
  PLBD_CAM 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
@SUBSYSTEM MPS_C
@ENDSUBSYSTEM        ;MPS_C
@SUBSYSTEM MPS_L
@ENDSUBSYSTEM        ;MPS_L
@SUBSYSTEM MPS_R
@ENDSUBSYSTEM        ;MPS_R
@SUBSYSTEM FMC1
@ENDSUBSYSTEM        ;FMC1
@SUBSYSTEM FMC2
@ENDSUBSYSTEM        ;FMC2
@SUBSYSTEM FMC3
@ENDSUBSYSTEM        ;FMC3
@SUBSYSTEM MMC1
@ENDSUBSYSTEM        ;MMC1
@SUBSYSTEM MMC2
@ENDSUBSYSTEM        ;MMC2
@SUBSYSTEM MMC3
@ENDSUBSYSTEM        ;MMC3
@SUBSYSTEM MMC4
@ENDSUBSYSTEM        ;MMC4
@SUBSYSTEM AMC1
@ENDSUBSYSTEM        ;AMC1
@SUBSYSTEM AMC2
@ENDSUBSYSTEM        ;AMC2
@SUBSYSTEM AMC3
@ENDSUBSYSTEM        ;AMC3
@SUBSYSTEM FF1
@ENDSUBSYSTEM        ;FF1
@SUBSYSTEM FF2
@ENDSUBSYSTEM        ;FF2
@SUBSYSTEM FF3
@ENDSUBSYSTEM        ;FF3
@SUBSYSTEM FF4
@ENDSUBSYSTEM        ;FF4
@SUBSYSTEM FA1
@ENDSUBSYSTEM        ;FA1
@SUBSYSTEM FA2
@ENDSUBSYSTEM        ;FA2
@SUBSYSTEM FA3
@ENDSUBSYSTEM        ;FA3
@SUBSYSTEM FA4
@ENDSUBSYSTEM        ;FA4
@SUBSYSTEM PL1
@ENDSUBSYSTEM        ;PL1
@SUBSYSTEM PL2
@ENDSUBSYSTEM        ;PL2
@SUBSYSTEM LF1
@ENDSUBSYSTEM        ;LF1
@SUBSYSTEM LM1
@ENDSUBSYSTEM        ;LM1
@SUBSYSTEM LA1
@ENDSUBSYSTEM        ;LA1
@SUBSYSTEM OF1
@ENDSUBSYSTEM        ;OF1
@SUBSYSTEM OF2
@ENDSUBSYSTEM        ;OF2
@SUBSYSTEM OF3
@ENDSUBSYSTEM        ;OF3
@SUBSYSTEM OF4
@ENDSUBSYSTEM        ;OF4
@SUBSYSTEM OA1
@ENDSUBSYSTEM        ;OA1
@SUBSYSTEM OA2
@ENDSUBSYSTEM        ;OA2
@SUBSYSTEM OA3
@ENDSUBSYSTEM        ;OA3
@SUBSYSTEM LL1
@ENDSUBSYSTEM        ;LL1
@SUBSYSTEM LL2
@ENDSUBSYSTEM        ;LL2
@SUBSYSTEM LR1
@ENDSUBSYSTEM        ;LR1
@SUBSYSTEM LR2
@ENDSUBSYSTEM        ;LR2
@SUBSYSTEM EIU1
@ENDSUBSYSTEM        ;EIU1
@SUBSYSTEM EIU2
@ENDSUBSYSTEM        ;EIU2
@SUBSYSTEM EIU3
@ENDSUBSYSTEM        ;EIU3
@SUBSYSTEM MTU
  MET_RUNNING 0
  MET0 0.000000
  MET1 0.000000
  MET2 0.000000
EVENT_TIMER0 0.000000 DOWN STOPPED
EVENT_TIMER1 0.000000 DOWN STOPPED
@ENDSUBSYSTEM        ;MTU
@SUBSYSTEM IDP1
  IDP1 SPEC 65535
  IDP1 DISP 65535
@ENDSUBSYSTEM        ;IDP1
@SUBSYSTEM IDP2
  IDP2 SPEC 65535
  IDP2 DISP 65535
@ENDSUBSYSTEM        ;IDP2
@SUBSYSTEM IDP3
  IDP3 SPEC 65535
  IDP3 DISP 65535
@ENDSUBSYSTEM        ;IDP3
@SUBSYSTEM IDP4
  IDP4 SPEC 65535
  IDP4 DISP 65535
@ENDSUBSYSTEM        ;IDP4
@SUBSYSTEM IMU1
@ENDSUBSYSTEM        ;IMU1
@SUBSYSTEM IMU2
@ENDSUBSYSTEM        ;IMU2
@SUBSYSTEM IMU3
@ENDSUBSYSTEM        ;IMU3
@SUBSYSTEM GPC1
@ENDSUBSYSTEM        ;GPC1
@SUBSYSTEM GPC2
@ENDSUBSYSTEM        ;GPC2
@SUBSYSTEM GPC3
@ENDSUBSYSTEM        ;GPC3
@SUBSYSTEM GPC4
@ENDSUBSYSTEM        ;GPC4
@SUBSYSTEM GPC5
@ENDSUBSYSTEM        ;GPC5
@SUBSYSTEM ODS
  RING_STATE -1 0.0000
@ENDSUBSYSTEM        ;ODS
@SUBSYSTEM ADPS
  LEFT_AIRDATAPROBE 1 3 0.000000
  RIGHT_AIRDATAPROBE 1 3 0.000000
@ENDSUBSYSTEM        ;ADPS
@SUBSYSTEM ETUmbDoors
  ET_DOORS 0.000000 0.000000
  ET_DOOR_LATCHES 1.000000 0.000000 0.000000
@ENDSUBSYSTEM        ;ETUmbDoors
@SUBSYSTEM -YStarTrackerDoorMotor
@ENDSUBSYSTEM        ;-YStarTrackerDoorMotor
@SUBSYSTEM -ZStarTrackerDoorMotor
@ENDSUBSYSTEM        ;-ZStarTrackerDoorMotor
@SUBSYSTEM ACBusSystem
@ENDSUBSYSTEM        ;ACBusSystem
@SUBSYSTEM INVERTER1
@ENDSUBSYSTEM        ;INVERTER1
@SUBSYSTEM INVERTER2
@ENDSUBSYSTEM        ;INVERTER2
@SUBSYSTEM INVERTER3
@ENDSUBSYSTEM        ;INVERTER3
@SUBSYSTEM APU1
  APU1_State 2
  APU1_FuelPress 1441.427077
  APU1_HydPress 3006.235863
  APU1_Speed 136.864150
@ENDSUBSYSTEM        ;APU1
@SUBSYSTEM APU2
  APU2_State 2
  APU2_FuelPress 1441.877926
  APU2_HydPress 3016.494552
  APU2_Speed 130.070520
@ENDSUBSYSTEM        ;APU2
@SUBSYSTEM APU3
  APU3_State 2
  APU3_FuelPress 1445.146947
  APU3_HydPress 2977.574297
  APU3_Speed 140.474498
@ENDSUBSYSTEM        ;APU3
@SUBSYSTEM WSB1
@ENDSUBSYSTEM        ;WSB1
@SUBSYSTEM WSB2
@ENDSUBSYSTEM        ;WSB2
@SUBSYSTEM WSB3
@ENDSUBSYSTEM        ;WSB3
@SUBSYSTEM LATCH0
  LATCH_STATE1 1 1.0000
  LATCH_STATE2 1 1.0000
  LATCH_STATE3 1 1.0000
  LATCH_STATE4 1 1.0000
  LATCH_STATE5 1 1.0000
@ENDSUBSYSTEM        ;LATCH0
@SUBSYSTEM LATCH1
  LATCH_STATE1 1 1.0000
  LATCH_STATE2 1 1.0000
  LATCH_STATE3 1 1.0000
  LATCH_STATE4 1 1.0000
  LATCH_STATE5 1 1.0000
@ENDSUBSYSTEM        ;LATCH1
@SUBSYSTEM LATCH2
  LATCH_STATE1 1 1.0000
  LATCH_STATE2 1 1.0000
  LATCH_STATE3 1 1.0000
  LATCH_STATE4 1 1.0000
  LATCH_STATE5 1 1.0000
@ENDSUBSYSTEM        ;LATCH2
@SUBSYSTEM RMS
  ARM_STATUS 0.500000 0.013605 0.014688 0.500000 0.500000 0.500000
  SHOULDER_BRACE 0.000000
  GRAPPLE 1 1.0000
  RIGIDIZE 1 1.0000
  EXTEND 1 1.0000
  RMS_ELBOW_CAM 0.0000 0.0000
  RMS_ROLLOUT 0 0.0000
  RMS_LATCHES 0 0.0000
@ENDSUBSYSTEM        ;RMS
  CRT_SEL 0 1
  @PANEL F2
  @ENDPANEL 
  @PANEL F4
  @ENDPANEL 
  @PANEL F6
  "Cdr Flt Cntlr Pwr" ON
  @ENDPANEL 
  @PANEL F7
  @ENDPANEL 
  @PANEL F8
  "Plt Flt Cntlr Pwr" OFF
  @ENDPANEL 
  @PANEL R2
  "Boiler1 N2 Supply" ON
  "Boiler2 N2 Supply" ON
  "Boiler3 N2 Supply" ON
  "Boiler1 Cntlr" ON
  "Boiler2 Cntlr" ON
  "Boiler3 Cntlr" ON
  "Boiler1 Cntlr Pwr/Htr" A
  "Boiler2 Cntlr Pwr/Htr" A
  "Boiler3 Cntlr Pwr/Htr" A
  "APU1 Run" START/RUN
  "APU2 Run" START/RUN
  "APU3 Run" START/RUN
  "Hyd Main Pump Press 1" NORM
  "Hyd Main Pump Press 2" NORM
  "Hyd Main Pump Press 3" NORM
  "APU1 Cntlr Pwr " ON
  "APU2 Cntlr Pwr " ON
  "APU3 Cntlr Pwr " ON
  "APU1 Fuel Tank Valve" OPEN
  "APU2 Fuel Tank Valve" OPEN
  "APU3 Fuel Tank Valve" OPEN
  "ET Umb Centerline Latch" GND
  "ET Umb Left Door" OFF
  "ET Umb Left Door Latch" OFF
  "ET Umb Right Door" OFF
  "ET Umb Right Door Latch" OFF
  "MPS Pwr Left AC2" [0]
  "MPS Pwr Ctr AC1" [0]
  "MPS Pwr Right AC3" [0]
  "MPS Pwr Left AC3" [0]
  "MPS Pwr Ctr AC2" [0]
  "MPS Pwr Right AC1" [0]
  "MPS He Isol A Left" GPC
  "MPS He Isol A Ctr" GPC
  "MPS He Isol A Right" GPC
  "MPS He Isol B Left" GPC
  "MPS He Isol B Ctr" GPC
  "MPS He Isol B Right" GPC
  @ENDPANEL 
  @PANEL C3
  "LOMS Arm" OFF
  "ROMS Arm" OFF
  "LADP Stow Enable" INHIBIT
  "RADP Stow Enable" INHIBIT
  "LADP Deploy" STOW
  "RADP Deploy" STOW
  @ENDPANEL 
  @PANEL O6
  "L GLRSHLD FLOOD" VAR
  "S TRK DR CNTL SYS1" OFF
  "S TRK DR CNTL SYS2" OFF
  "GPC_POWER_1_COVER" [0]
  "GPC_POWER_2_COVER" [0]
  "GPC_POWER_3_COVER" [0]
  "GPC_POWER_4_COVER" [0]
  "GPC_POWER_5_COVER" [0]
  "GPC POWER 1" ON
  "GPC POWER 2" ON
  "GPC POWER 3" ON
  "GPC POWER 4" ON
  "GPC POWER 5" ON
  "GPC_OUTPUT_1_COVER" [0]
  "GPC_OUTPUT_2_COVER" [0]
  "GPC_OUTPUT_3_COVER" [0]
  "GPC_OUTPUT_4_COVER" [0]
  "GPC_OUTPUT_5_COVER" [0]
  "GPC OUTPUT 1" NORMAL
  "GPC OUTPUT 2" NORMAL
  "GPC OUTPUT 3" NORMAL
  "GPC OUTPUT 4" NORMAL
  "GPC OUTPUT 5" NORMAL
  "IPL SOURCE" OFF
  "GPC MODE 1" STBY
  "GPC MODE 2" STBY
  "GPC MODE 3" STBY
  "GPC MODE 4" STBY
  "GPC MODE 5" STBY
  @ENDPANEL 
  @PANEL R11
  @ENDPANEL 
  @PANEL A6
  "SENSE" -X
  "Aft Flt Cntlr Pwr" OFF
  "Payload Ret Latch 1" OFF
  "Payload Ret Latch 2" OFF
  "Payload Ret Latch 3" OFF
  "Payload Ret Latch 4" OFF
  "Payload Ret Latch 5" OFF
  "Payload Select" 1
  @ENDPANEL 
  @PANEL AftMDU
  @ENDPANEL 
  @PANEL A7U
  @ENDPANEL 
  @PANEL A7A3/A8A3
  "SYSTEM POWER MNA" [1]
  "SYSTEM POWER MNB" [1]
  "PYRO POWER MNA" [0]
  "PYRO POWER MNC" [0]
  "SYS1 VENT ISOL" [1]
  "SYS1 VENT" [1]
  "SYS2 VENT ISOL" [1]
  "SYS2 VENT" [1]
  "PSU POWER MNA" [0]
  "PSU POWER MNB" [0]
  "LIGHTS AIRLOCK 1-4" [0]
  "LIGHTS AIRLOCK 2-3" [0]
  "LIGHTS DOCKING TRUSS FWD" [0]
  "LIGHTS DOCKING TRUSS AFT" [0]
  "ARLK/TNL FAN A" [0]
  "ARLK/TNL FAN B" [0]
  "LIGHTS C/L VESTIBULE PORT" [0]
  "LIGHTS C/L VESTIBULE STBD" [0]
  "CNTL PNL PWR A" OFF
  "CNTL PNL PWR B" OFF
  "CNTL PNL PWR C" OFF
  "HTRS/DCU PWR H1" OFF
  "HTRS/DCU PWR H2/DCU" OFF
  "HTRS/DCU PWR H3/DCU" OFF
  "APDS PWR A" OFF
  "APDS PWR B" OFF
  "APDS PWR C" OFF
  "PYROS Ap" [0]
  "PYROS Bp" [0]
  "PYROS Cp" [0]
  @ENDPANEL 
  @PANEL A8
  "Port MPM Deploy Cover" [0]
  "Stbd MPM Deploy Cover" [0]
  "Port RMS Latches" OFF
  "Stbd MPM Latches" OFF
  "Port MPM Deploy" OFF
  "Stbd MPM Deploy" OFF
  "EE Mode" OFF
  "RMS SELECT" OFF
  "Parameter" TEST
  "Joint" SHOULDER_YAW
  "RMS Mode" OPR_CMD
  @ENDPANEL 
END
END_SHIPS
 
Last edited:
I'll look at the CRT MFD bug. I should be able to check the AOA autopilot in a few days.
 
I'll look at the CRT MFD bug. I should be able to check the AOA autopilot in a few days.
Great! I want check out the entry particle stream to see if I can't tweak it to match what is seen on the entries. Primarily color and intensity.
 
DaveS: Just saw your checkin. Is there a reason for adding the OrbiterSound include directory in the SSUPad project? AFAIK, we keep copies of the OrbiterSound header/library files in the regular orbitersdk folders, so this shouldn't be necessary.
 
DaveS: Just saw your checkin. Is there a reason for adding the OrbiterSound include directory in the SSUPad project? AFAIK, we keep copies of the OrbiterSound header/library files in the regular orbitersdk folders, so this shouldn't be necessary.
Must have forgotten it was there! Feel free to change it back.
 
Checked in a couple of changes to the project files; if anyone starts getting compile errors, let me know.
I'm also in the process of updating all the Config/Scenario files so the Atlantis_Tank, etc. files become SSU_Tank.

---------- Post added at 02:22 PM ---------- Previous post was at 01:34 PM ----------

Okay, checked in all renaming-related changes. Everything should work now.
 
I'm watching the STS-115 entry video which reminded me of one thing: how's the extended HUD coming along? I think you were working on one but it had been delayed due to a bug in Orbiter. Has that bug been fixed in P1?
 
Back
Top