stationeers.de Mod workshop · Dominik1199
DE Sign in
  1. Home
  2. IC10 academy
  3. Day 335

Day 335 of 365 · Expert · Month 12: Masterpieces

Project: rocket control

Project rocket control: launch clearance by checklist, flight data in the cockpit and an automatic return as soon as the fuel reserve is reached.

Project 45 min Week 48

What you learn today

  • Launch clearance
  • Show flight data
  • Return on reserve

Rocket week ends with the on-board computer. It clears the launch, shows the flight data and brings the rocket home when fuel gets short. Everything you built this week comes together in one chip.

The setup

DevicePrefabName
avionicsStructureRocketAvionics“Avionik”
lever “crew ready”StructureLogicSwitch“Crew”
launch buttonStructureLogicButton“Start”
three LED displaysStructureConsoleLED5“Hoehe”, “TWR”, “Sprit”
lightStructureWallLight“Startfrei”
flashing lightStructureFlashingLight“Rueckkehr”

The rules

  • Launch clearance only on the ground and only if everything fits: thrust-to-weight at least 1.3, at least 6000 kg of fuel, crew lever thrown.
  • Launch: pressing “Start” with clearance begins the flight. The chip remembers the fuel supply and the home address (CurrentCode).
  • Flight data: “Hoehe” shows Altitude, “TWR” the ratio with two decimals, “Sprit” the supply in percent of the launch – −1 before the launch.
  • Return: at 55 % or less the chip sets the destination home once, “Rueckkehr” flashes.
  • Failure: without avionics no clearance, “Rueckkehr” flashes, all displays −999.

Milestones

  1. The launch clearance checks all three conditions.
  2. The flight data are right, “Sprit” only counts from the launch.
  3. At the reserve the destination is set home exactly once.
  4. Without avionics everything goes into the safe state.
Tip

The phase (0 ground, 1 flight) lives in a register. After a restart of the chip it is 0 again – for this project that is enough. In the big project you put such values into a Logic Memory.

Warning

The clearance light must not be lit in flight. Otherwise a press on “Start” in the air would overwrite the remembered supply – and the return would come too late.

Project task

Task

Build the on-board computer according to the rules above.

Milestones

  1. Milestone 1: launch clearance
  2. Milestone 2: flight data
  3. Milestone 3: return at reserve
  4. Milestone 4: avionics gone

Hints

Hint 1

Clearance: combine three sge/sgtz with and, plus seqz tmp phase – only on the ground.

Hint 2

Launch: button pressed and clearance → phase 1, start = fuel, home = CurrentCode.

Hint 3

Return as with mining: only write when the reserve is reached and back is still 0.

Quiz

2 questions. You pass from 60 % – the server does the grading.

Complete the day

  • Passed all milestones of the project
  • Passed the quiz with at least 60 %

Without an account progress is saved in this browser only.

Report a mistake in this lesson

Please sign in to report. Sign in

Esc
↑ ↓ selectEnter open/ opens search anywhere