Software powering Falcon 9 & Dragon - Simply Explained

Поділитися
Вставка
  • Опубліковано 13 тра 2024
  • The Falcon 9, Falcon Heavy and Dragon are very advanced spacecrafts. So that got me thinking: what is powering these vehicles?
    In this video we'll take a look at what programming languages, operating systems, tools and hardware SpaceX uses to get these vehicles into orbit around the around.
    💌 Sign up for Simply Explained Newsletter:
    newsletter.simplyexplained.com
    Monthly newsletter with cool stuff I found on the internet (related to science, technology, biology, and other nerdy things)! No spam. Ever. Promise!
    📚 Sources
    The sources used to make this video are listed on my website:
    www.savjee.be/videos/simply-e...
    Definitely check them out if you want to discover more interesting facts that didn't make it into the video.
    🌍 Social
    Twitter: / savjee
    Facebook: / savjee
    Blog: savjee.be
    ❤️ Become a Simply Explained member: / @simplyexplained
    🎯Chapters
    0:00 Intro
    0:13 Challenges in space
    0:53 Bit flips (due to radiation)
    2:57 Radiation hardening: redundant flight computers
    5:02 NASA's radiation requirements
    5:55 How SpaceX chooses hardware & software to use
    6:55 Use of software: Linux, C++, LabView, ...
    8:17 Logging & monitoring of vehicles
    8:48 Continuous Integration (CI / CD)
    9:05 Classified & Outro
    #space #spacex #elonmusk #falcon9 #nasa #simplyexplained
  • Наука та технологія

КОМЕНТАРІ • 958

  • @seasong7655
    @seasong7655 6 років тому +2128

    import rocket
    rocket.launch()

    • @yubwankashyap
      @yubwankashyap 6 років тому +79

      seasong launch function not defined

    • @natesh1
      @natesh1 6 років тому +82

      rocket undefined

    • @JaviAnt7747
      @JaviAnt7747 5 років тому +17

      cin >> software;
      cout

    • @iGuy7777
      @iGuy7777 5 років тому +211

      if rocket.goingtocrash
      don't

    • @benmyers1238
      @benmyers1238 5 років тому +33

      rocket.self_destruct('5minutes')

  • @jakejakeboom
    @jakejakeboom 5 років тому +346

    Low earth orbit doesn't require much rad-hard chips. We need them more for deep space missions (like the deep space gateway in the next decade). Source: I work at NASA on rad-hard camera systems.

    • @nathan_408
      @nathan_408 5 років тому +46

      accept my resume sir?

    • @DasIllu
      @DasIllu 5 років тому +13

      Yeah i figured myself. LEO still profits from the dense part of earth' magnetic field to deflect charged particles. That is why cube sats are popular.... your Atmel ATmega something something will usually not encounter a lot of problems except colliding with another retrograde cube because one smartass studend picked Kessler syndrome as topic for the finals.

    • @gonun69
      @gonun69 5 років тому +5

      Didn't the upper stage of the falcon heavy maiden flight go trough the Van Allen belt before it's final burn to test if it could withstand the radiation and the 6 hour coast?

    • @ThePrimalEarth
      @ThePrimalEarth 5 років тому +1

      jakejakeboom well parts of the van allen belts are in Leo so you might need it for there

    • @2TV1
      @2TV1 3 роки тому

      Three words: South Atlantic Anomaly.

  • @tomaszkantoch4426
    @tomaszkantoch4426 6 років тому +797

    It runs windows 10 with updates disabled :D

    • @thebailey__
      @thebailey__ 5 років тому +108

      Imagine your about to land on mars and windows decides to update

    • @icemtel
      @icemtel 4 роки тому +111

      @Luke skywalker The Starfleet commander humour.dll not found

    • @giviodikadze9833
      @giviodikadze9833 4 роки тому +2

      That's not physically possible.

    • @ecobitlilo2739
      @ecobitlilo2739 4 роки тому

      lol

    • @jskratnyarlathotep8411
      @jskratnyarlathotep8411 3 роки тому

      @Luke skywalker The Starfleet commander telemetry monitors in the control center are on windows

  • @gig2734
    @gig2734 3 роки тому +129

    The Apollo program was a driving force in computer development, now computers helps rocket science.

    • @itsnotallrainbowsandunicor1505
      @itsnotallrainbowsandunicor1505 3 роки тому +2

      The driving force was primarily geared towards nuclear and thermo-nuclear weapons.

    • @abizair1832
      @abizair1832 Рік тому

      A great positive feedback which benefits us all.

    • @elonfc
      @elonfc Рік тому

      Proud to be a computer science student

    • @LucasAlmeida-dz5xh
      @LucasAlmeida-dz5xh 8 місяців тому

      How the tables have turned…

  • @nayabsamar9944
    @nayabsamar9944 6 років тому +315

    Not only a Developer, you are a good Designer too (nice visuals).

    • @simplyexplained
      @simplyexplained  6 років тому +10

      Thanks a lot!

    • @simplyexplained
      @simplyexplained  6 років тому +15

      The tool I'm using has nothing to do with the visuals...

    • @nayabsamar9944
      @nayabsamar9944 6 років тому +1

      Btw. What did you use for the visuals?

    • @simplyexplained
      @simplyexplained  6 років тому +12

      Most of it is done in Keynote and some stuff in Sketch. Mac only I'm afraid.

    • @nayabsamar9944
      @nayabsamar9944 6 років тому +6

      Sketch is supercool, and yeah, sad part is both are only for MacOS.

  • @js46644
    @js46644 3 роки тому +70

    I'm guessing SpaceX prefers "spaces" over tabs.

  • @jasongoodacre
    @jasongoodacre 6 років тому +1

    Such an elegant solution to a difficult problem. I have come across this many times in IT industry. Have built in redundancy throughout so any one failure does not compromise the system.

  • @drizzio
    @drizzio 6 років тому

    I have been thinking a lot about this, and your video was really great at explaining everything. Much appreciated! 🙏🏾

  • @frozenstrawbs
    @frozenstrawbs 6 років тому +15

    great stuff, best vid yet. glad I am subscribed

  • @blackmennewstyle
    @blackmennewstyle 6 років тому +400

    Clearly these people spent a long time thinking about everything they could think about and they clearly have the brain resources to aknowledge what they should do or not!
    It must be pretty exciting to work over there :)
    Thanks for sharing and keep it up the great job Xavier !

    • @champan250
      @champan250 6 років тому +18

      more like they are able to start the entire space program from zero, so they don't have to deal with bureaucracy, "years of protocols", and able to implement the latest computer, electrical and material science technology swiftly without the needs to seek layers of organizational approval.
      You have to realize that our military-industrial complex has became an elephant that it is better off to privatize and start from zero.

    • @Leo1239150
      @Leo1239150 6 років тому +13

      champan250 you'd still have to acknowledge that starting a space business from zero still is very far from easy. I guess you could say lightyears away from easy :D (sorry bout that, I had to)

    • @blackmennewstyle
      @blackmennewstyle 6 років тому +4

      champan250 You're absolutely right, i worked for a couple of companies when i was living in Paris and it's just annoying how their processes in big companies are slow. I clearly remember one company which wanted to move from Windows XP to Windows 7 and it took them basically 5 years to make it happened. Two years of reflexion about the impact in term of computer infrastructure and softwares engeenering and 3 other years to fully change and migrate everything. Big Elephant indeed.

    • @markhenrybato9682
      @markhenrybato9682 6 років тому

      are they prone to hacking? since they are using generic softwares?

    • @vigneshs2886
      @vigneshs2886 6 років тому +3

      maybe but nobody cares hacking spacex softwares... especially the onboard computers because they dont use internet

  • @hashikdonthineni2863
    @hashikdonthineni2863 6 років тому +1

    Exactly the right amount of explanation I want as an engineer and a developer. Thank you. You certainly got a sub.

  • @Mrcaffinebean
    @Mrcaffinebean 6 років тому +1

    What a cool video, I love the detail on what makes space x different not just in a general sense but in a specific sense like this.

  • @DELKORTdelGHIACCO
    @DELKORTdelGHIACCO 6 років тому +3

    Perfect video, very instructive. Thank you.

  • @nialv7985
    @nialv7985 6 років тому +155

    You got the Ariane V error wrong. It tried to convert a 64 bit float number to a 16 bit integer. And the result is not truncated. An conversion error is raised, and the error message is interpreted as valid data which caused this failure.

    • @pontuslundstrom5831
      @pontuslundstrom5831 6 років тому +30

      Hehe, I was about to comment on this too. To be exact, the Ariane 501 report states: "As a result of its failure, the active inertial reference system transmitted essentially diagnostic information to the launcher's main computer, where it was interpreted as flight data and used for flight control calculations." Thus I would argue it wasn't the error itself being interpreted as guidance data but some other "diagnostic information".

    • @Hans-gb4mv
      @Hans-gb4mv 5 років тому +7

      And it was due to the fact that Ariane 5 shared components and therefore sourcecode with Ariane 4 and t since the components and software were known to function this condition was not tested.

    • @cjsveningsson
      @cjsveningsson 3 роки тому

      Thanks for the video, and I came here to make a similar comment. AFAIK, and our lecturer brought the secondary computer to demonstrate, the exception caused a fail-over, to rapidly reoccur also in the secondary computer, triggering the self-destruct. I was not aware of any faulty interpretation of data.

    • @roch3586
      @roch3586 3 роки тому

      Wow so just converting a variable caused the ship to go wrong direction.. dang..

  • @baibhavbajpai
    @baibhavbajpai 6 років тому +1

    loved it. Great simplicity and worth a watch.

  • @Andrewlohbihler
    @Andrewlohbihler 6 років тому +2

    Thanks, I learned a lot from this and will consider some of these strategies in my development.

  • @michalklein1960
    @michalklein1960 5 років тому +3

    Keep Going! This was a very interesting video:) I want know more about SpaceX

  • @Shawntawnproductions
    @Shawntawnproductions 6 років тому +39

    Glad to see videos like this! I was a software developer for the shuttle program for 25 years designing and writing various launch safety systems, worked for USA (United Space Alliance)

    • @paulhorn2665
      @paulhorn2665 6 років тому

      And what software and hardware was used for the shuttle back then?

    • @paulhorn2665
      @paulhorn2665 6 років тому +1

      I was amazed to find a ticket-automat some weeks ago which had a failure and was re-boot all the time. Behind the "fancy" mask with color- touch display, there I saw the system is a 286er prozessor running Microsoft-DOS, in 2018. But normally it works well and failures are seldom and you can buy tickets there.

    • @erikengheim1106
      @erikengheim1106 6 років тому +1

      Cool, are you able to give some comments to how the SpaceX software approach is different from how you worked? E.g. did you use C/C++, continuous integration, store logs with source code, test on actual hardware etc as mentioned here? I believe I read somewhere that SpaceX built a board with all the various hardware components, actuators etc controlled by the computers, so that they could test the software against actual hardware.
      However that sounded like a no brainer to me. Would not all space companies do this? Or was your software only really tested upon launch of a rocket?

    • @nathan_408
      @nathan_408 5 років тому

      my dream...

    • @Rhiptoglossa
      @Rhiptoglossa 5 років тому +1

      Hi Mojo. Did you guys happen to use FPGA's while there? Just curious.

  • @charan24119
    @charan24119 5 років тому

    I was impressed with these topics you mentioned CI, Linux, Monitoring, Code sharing. Thanks for clearing my curiosity

  • @bluehornet6752
    @bluehornet6752 6 років тому +1

    Awesome video--thanks for making and posting it!

  • @cup_check_official
    @cup_check_official 6 років тому +8

    woah, just found you. Cannot believe i never saw any of your videos! I was actually trying to make a video like this but i guess now i don't have to because, clearly, you have done a very good job :p

    • @simplyexplained
      @simplyexplained  6 років тому

      Thanks a lot! Glad you find my videos interesting.

  • @LemosNorway
    @LemosNorway 6 років тому +335

    Arduino uno, obvious!

    • @knightryder4021
      @knightryder4021 6 років тому

      Henrique Lemos hehe

    • @enricomontanari1390
      @enricomontanari1390 5 років тому +3

      Great Scott could Launch a dragon spacecraft, bring it to Mars and make it land, using an Arduino Nano.

    • @tylerknight2616
      @tylerknight2616 5 років тому +5

      I just finished my arduino toilet when I saw this. I call it the toiletduino. I'm not even joking

    • @simplyexplained
      @simplyexplained  5 років тому +10

      Wow, what metrics do you collect about your toilet?

    • @tylerknight2616
      @tylerknight2616 5 років тому +3

      @@simplyexplained lol I just hooked it up to a solenoid valve and a push button, nothing fancy

  • @saddlelite
    @saddlelite 3 роки тому +1

    Wow you explained it so easily! Great job!

  • @proletaire6442
    @proletaire6442 6 років тому +1

    I've been wondering this exact same thing. Thanks!

  • @noahmccann4438
    @noahmccann4438 6 років тому +174

    This was a very interesting video!
    Their usage of multiple CPUs for redundancy is very clever, but I wonder how they manage to keep performance at optimum levels. Given that split second decisions can have a huge impact on the results. Your comment about game developers might contribute to this - they similarly have to write code that has consistent performance characteristics, you don’t want something that normally takes 5ms taking 100ms because it encountered a worst-case scenario.
    The choice of OS and language also contributes to this - a garbage collector or JIT compiler wouldn’t provide nearly the consistency they would need.
    I find it amazing that they can even spare the time to compare the results between CPUs, especially given that they likely have the CPUs spread out to provide extra redundancy, further increasing latency. That said, maybe the latency is so large that it outweighs any gains that could be made from increased performance.
    In summary - they face very interesting challenges, and it’s cool to hear about it.

    • @aleksandersuur9475
      @aleksandersuur9475 6 років тому +23

      Hardware control is usually done with real time software, certainly in such a demanding application, you have guaranteed reaction time. Forget about garbage collection, in fact forget about dynamic memory mapping, real-time software is written in such a way that these concerns are completely removed. Limitation is how fast you can run your communication cycle, here on my table I have a system with guaranteed 250 microsecond takt time, nothing special, off the shelf stuff and consumer PC, running windows no less, I'm sure SpaceX can do better, even with redundant cpu-s keeping an eye on eachother added on top.

    • @andrasbiro3007
      @andrasbiro3007 6 років тому +37

      I don't think they have to do too complex calculations. At least not anything that's a problem on current hardware. Computers were flying rockets 50 years ago.
      And I don't think that reaction time is a big issue either. Since rocket engines and reaction control jets are mechanical devices, acting on the scale of tens of milliseconds. A computer game has to simulate an entire world in just 16.67 milliseconds (60fps), and some games can even run 4x faster.
      I'm not saying that their job is easy, just that I don't think that performance is a big concern.

    • @romainhedouin
      @romainhedouin 6 років тому +11

      I guess for most things, a milliseconds isn't that long, after all back in the 70s a lot of stuff during spaceflights was done by hand, by humand :P (like docking, engine cut-off, ...) so if a human can react fast enough for those things, a triple redundant machine will perform alright :)

    • @pontuslundstrom5831
      @pontuslundstrom5831 6 років тому +9

      "Controlling a laser with Linux is crazy, but everyone in this room is crazy in his own way. So if you want to use Linux to control an industrial welding laser, I have no problem with your using PREEMPT_RT." -- Linus Torvalds

    • @blablubb12345
      @blablubb12345 6 років тому +16

      The use of multiple, redundant flight computers is anything but new in spaceflight. Most rockets or spacecraft have at least two of them, the Shuttle, for instance, had 5.
      However, most of them used more exotic languages like ADA or Real-time Operating Systems like VxWorks

  • @thatGUYbehindthemask
    @thatGUYbehindthemask 6 років тому +333

    obviously spacex uses mechjeb

  • @slash1988ify
    @slash1988ify 6 років тому

    Thanks for the video mate! Really appreciate it!

  • @utetrahemicon
    @utetrahemicon 6 років тому

    Great video and many valuable comments as well.
    Thank you, I subscribed & look forward to more.

  • @junuhunuproductions
    @junuhunuproductions 6 років тому +6

    Thanks for sharing. I love C++ too :)

  • @nilymusic
    @nilymusic 6 років тому +17

    great stuff ! seems you got a new sub! doe zo voort !

  • @thirteenthandy
    @thirteenthandy 6 років тому

    Really cool video. This is a perspective I haven't seen from the other space channels.

  • @mrdrummer2564
    @mrdrummer2564 6 років тому

    This is a great video. Well explained and very informative!

  • @MandarBalshankar
    @MandarBalshankar 6 років тому +3

    More stuff like this please! :)
    Guys, are there any other similar channels on UA-cam?

  • @mueffe1357
    @mueffe1357 6 років тому +15

    I remembered a news story about off-the-shelf hardware in the 90s. Irans or Iraqs spies bought a lot of ps1 consoles then turned them into scud missiles processor guidance system. The US immediately put an embargo on ps1 sales. Good times. Nowadays its not weird to find milspec hardware using your average laptop/desktop cpu. Good times we're living now. Good and cheap.

    • @Administrator_O-5
      @Administrator_O-5 5 років тому +3

      Mu Effe fun fact, the USAF uses several hundred PS3s setup with a customized version of Linux to turn it into a Super Computer cluster. The GPUs handled the heavy computational load with the CPUs handling the normal system functions & acting as a co-processor to the GPUs.

    • @Francisco.Bolivar
      @Francisco.Bolivar 5 років тому +1

      NewHorizon processor came from ps1. because it was used from million of people and it works very well.

    • @piotrd.4850
      @piotrd.4850 3 роки тому

      They haven't done anything like that. IBM/Sony Cell processor was very interesting, but turned out to be to difficult to take full potential off. Iranians had indeed smuggled some PS1s for "meteorological research" cluster, but I doubt they would waste that horsepower on disposable rockets, which don't even need that. Soviets had image guided Scud modifications in late '80, so had Americans with Pershing II (radar images). Problem with this is that you need to build up library first.... PS: I wonder, had some of Cell creators been hired by, say.... AMD ;) ?

  • @gridcoregilry666
    @gridcoregilry666 6 років тому

    incredibly well done, very informative and easy to understand, even for someone who doesnt know anything about programming

  • @daevski
    @daevski 6 років тому

    This is fascinating. I never thought I'd know any of this info about SpaceX - I love it!

  • @DontTakeCrack
    @DontTakeCrack 3 роки тому +43

    curious how spacex handles the issue when all 3 computers calculate something incorrectly.

    • @nathanheidt1047
      @nathanheidt1047 3 роки тому +8

      This is actually something that can happen! What they do is designate one of the 3 computers as the master, and if everything disagrees they just use that.

    • @thekewlwaffle
      @thekewlwaffle 3 роки тому +10

      @@nathanheidt1047 That seems sketchy??? Curious to where you found this information

    • @omnacky
      @omnacky 3 роки тому +7

      Maybe they compare each calculation at a time and the likelihood of radiation hitting the same tiny spot on every CPU is just insanely unlikely perhaps

    • @omnacky
      @omnacky 3 роки тому +1

      And then they recalculate or sum I dunno

    • @digi3218
      @digi3218 3 роки тому +11

      It would probably be very rare (that is why they chose 3 instead of 2). Even if they all returned different values, the memory is separate so they can possibly rerun the calculations to see which computers were affected. If that wouldn't work, I can already start thinking of other clever ways to fix this. Even if all three computers were hit, they could probably still figure it out. I'm not an expert but it seems that 3 computers is enough to be reliable if that is what they settled on and they probably have a solution for any possible scenario they can think of. I wish I had an exact answer but if you really are that curious I would learn the skills needed to get a job there and become part of the team 🙃 That or maybe see if their is videos on hardware redundancy in space 😂

  • @evilmorty9571
    @evilmorty9571 6 років тому +3

    7:6 when you tap on screen and see penguin crying!😂😂😂😂😂😭😭😭😭😭

  • @frederikkrohn
    @frederikkrohn 3 роки тому

    I was a little tired of watching the same SpaceX facts over and over again but you always find something new! ^^

  • @hem89180
    @hem89180 6 років тому

    Nice as always! Keep the good work!

  • @julianwidjaja4896
    @julianwidjaja4896 3 роки тому +17

    I just finished my html course on udemy
    Can i work for spacex now?

    • @ZeHoSmusician
      @ZeHoSmusician 3 роки тому +13

      Yeah, sure--you'll be tasked with updating their Website... :)

    • @arjenb8403
      @arjenb8403 3 роки тому +5

      @@ZeHoSmusician HAHAHA

    • @user2C47
      @user2C47 3 роки тому +1

      HTML is for web frontends, not control hardware.

    • @piepie3178
      @piepie3178 3 роки тому +1

      Sorry, he said c++, please take a new course 😂😂
      It's really that easy tho

    • @alesksander
      @alesksander 3 роки тому

      @@ZeHoSmusician I cracked at that HAHAH

  • @piotrd.4850
    @piotrd.4850 3 роки тому +3

    "Voting generals problem", already used in Space Shuttle avionics.

  • @jursh9903
    @jursh9903 3 роки тому +2

    Three computations comparing to each other. Simply brilliant. 3:25

  • @playgroundchooser
    @playgroundchooser 6 років тому

    Watched this vid twice already... fascinating stuff!!

  • @digiz3d
    @digiz3d 6 років тому +160

    I still wonder how we went to the Moon with old hardware 😂

    • @nathan_408
      @nathan_408 5 років тому +44

      competence and a bit of luck

    • @leerman22
      @leerman22 5 років тому +98

      Make the transistors so big that radiation doesn't matter.

    • @acr_-kj8gd
      @acr_-kj8gd 5 років тому +77

      make everything analog so bits doesnt matter

    • @cyberbetica
      @cyberbetica 5 років тому +15

      Watch the "Apollo AGC" series by CuriousMarc. They have most of the old hardware and got it kinda working again. Cool stuff.

    • @IanGrodyRules
      @IanGrodyRules 4 роки тому +13

      The computer actually crashed as Armstrong was descending. They crashed a lot. But, they never had to render fancy graphics or the like, just crunch some calculations.

  • @martinasenov3361
    @martinasenov3361 6 років тому +60

    Video title says “software”, yet the video speaks mostly about hardware

  • @connecticutaggie
    @connecticutaggie 5 років тому +1

    Thanks for sharing. I am a professional embedded SW developer and SpaceX enthusiast; so, I had been curious about their code.
    I was glad to hear they use Unix and that they don't use Python (the horrible preferred choice of a lot of Mechanical types).
    I am a seasoned C++ programmer and do like that choice; but, I think a managed programming language like C++ of Java might have some advantages.
    C++ is a loosely constrained language and is also un-managed; so, it can be more difficult to find subtle bugs (like unassigned pointers, and memory leaks) and much more dangerous when you miss them. There are techniques for limiting this; but, programmers are still people and they can make and miss mistakes and testing every possible code path is often not possible.
    I am sure the developers on the Ariane 5 did lots of testing and still somehow missed the code bug that caused the failure.
    Anyone that claims their code is 100% bug free is either deluding themselves, lying, or not looking. I am not really sure which one of those is worse.
    The advantage of C++; though, can be better real-time determinism. With UNIX and C++ on an X86 core, one project I was on achieved sub-microsecond determinism.
    At the speeds they are flying, that may be the bigger concern. There are ways to build more safety of C++ code, especially if they don't use other people's libraries.
    Thanks for the cool info.

  • @dxutube
    @dxutube 6 років тому

    Brilliant professional video. Love the graphics!

  • @jaimeluevano149
    @jaimeluevano149 5 років тому +13

    Amazing how nasa with 60s tech landed on the moon.

    • @UNSCPILOT
      @UNSCPILOT 3 роки тому +5

      Ironically those old clunky computers Nasa used for Apollo were far more Radiation immune due to their lack of nanometer scale parts and the higher wattage of said computers made the bitflips even more difficult because whatever radiation trying to cause it needs to overcome the higher voltage/amperage of the parts.
      Modern methods are more ideal though, for sure, no one wants to try to fly anywhere either less computing power than a digital watch... *again* if it can be avoided

    • @thedownunderverse
      @thedownunderverse 3 роки тому

      Or did they.... 😜

    • @softb
      @softb 3 роки тому +5

      @@thedownunderverse dont start with this shit man plz

  • @abdulwalli6667
    @abdulwalli6667 6 років тому +3

    Can you make those flight computers which can survive bitflip

  • @undertheradar4645
    @undertheradar4645 6 років тому

    Awesome video, great content and quality.
    Got yourself a new subscriber.

  • @predatorsinatra7039
    @predatorsinatra7039 6 років тому +1

    Great video, very informative! Have a nice day.

  • @CyberSamurai4Life
    @CyberSamurai4Life 6 років тому +3

    Can you tell any more about the linux they use? Is it a forked distro? Custom kernel? unix-like?

    • @theLuigiFan0007Productions
      @theLuigiFan0007Productions 6 років тому +1

      My guess is something that's been modified a bit and the kernel has been built without any driver they don't need. I wouldn't be surprised if they just put the program in the initrd, so it executes as soon as the kernel is ready. It's fairly common practice to other Linux based embedded systems. Routers are a good example of that.

    • @tripjj8662
      @tripjj8662 6 років тому

      they don't used linux they used Windows ME

  • @rdsingh6953
    @rdsingh6953 3 роки тому +7

    If they used windows the whole sky will become blue screen of death. (BSOD)

  • @AjayMenon_092
    @AjayMenon_092 4 роки тому

    Amazing work man. Keep it up

  • @tafilispace5468
    @tafilispace5468 6 років тому

    Great video, loved how you broke it all down!

  • @asjidkalam
    @asjidkalam 6 років тому +14

    linux, linux everywhere!

  • @lgtwzrd
    @lgtwzrd 6 років тому +4

    Still makes you wonder how did they send rockets to the moon almost 50 years ago. Why does the task sound so complicated even with the computing power that we have today.

    • @ozjuanpa
      @ozjuanpa 5 років тому

      It doesn't sound all that hard, tbh... Plus, a lot of the systems on the lunar missions were human-guided with electronic tools. Not all that automatic.

    • @That_Awesome_Guy1
      @That_Awesome_Guy1 4 роки тому

      We have all this stuff nowadays because we can. Back in 1960s they couldn't fit much flight computers in the rocket so they did what they could. Now we have tiny really fast computers, so we use a lot them to make rockets as safe as possible.

  • @rssbasdf
    @rssbasdf 6 років тому +1

    Awesome stuff, never thought about this before, thanks for making this video

    • @simplyexplained
      @simplyexplained  6 років тому

      Me neither! Was fun to research this topic and make the video. Glad you liked it!

    • @rssbasdf
      @rssbasdf 6 років тому

      it's awesome :)

  • @jaspreetpadam4116
    @jaspreetpadam4116 6 років тому

    Great job with this video !! You should make more !!

  • @ruudpoutsma5273
    @ruudpoutsma5273 6 років тому +22

    Title: Software powering Flacon stuff. Actually: Hardware powering Falcon stuff. I am disappoint.

  • @itsnotallrainbowsandunicor1505
    @itsnotallrainbowsandunicor1505 3 роки тому +5

    Astronauts: We're nearing the space station
    Windows 10: Please wait while we install a system update
    Astronauts: Asshhhhhhoooooollllllllle!
    Ground: Excuse me, did I say something wrong?
    ISS: You're coming in a little fast.

  • @skytrance7002
    @skytrance7002 3 роки тому

    Cool thanks for the detailed info!

  • @vincenttwin3890
    @vincenttwin3890 6 років тому

    Really like the vid and the editing style!!!

  • @ilhamsuhendi90
    @ilhamsuhendi90 6 років тому +80

    Betaflight

  • @Enemji
    @Enemji 3 роки тому +7

    They are essentially using the Blockchain concept to counter the bit flip.

    • @loremipsum7513
      @loremipsum7513 3 роки тому +1

      what? No.

    • @10Exahertz
      @10Exahertz 3 роки тому

      its just redundancy, blockchain uses this yeah.

    • @Enemji
      @Enemji 3 роки тому

      A Nut - ah. Yes. It is. Look up IBFT algorithm.

    • @arthurvanderwal
      @arthurvanderwal 3 роки тому

      Hahaha

    • @loremipsum7513
      @loremipsum7513 3 роки тому +2

      @@Enemji Wait, I don't thing spaceX use IBFT, or any kind of PoW/PoS/etc at all. It's just simple redundancy. Not block chain. Correct me if I'm wrong :D

  • @necronlord52
    @necronlord52 3 роки тому

    Ah, good one! Please, continue with more like this.

  • @DavidAxelrodP
    @DavidAxelrodP 6 років тому

    Awesome Vid. Makes so much more sense to have cheaper redundancy than rad hardened components. Never knew that they scaled the redundancy to each engine! SpaceX has also started to use bazel integration tools rather than their own custom build tools, furthering their interest in open source projects

  • @Asterra2
    @Asterra2 6 років тому +3

    This off-the-shelf-plus-redundancy approach is how it should have been done all along. But not only for CPU/RAM. What about the cameras? Instead of laughably outdated, low resolution JPGs coming from a multi-billion-dollar probe (Huygens, anyone?), send two _modern_ cameras up, _or_ at least send up both a space-hardened, outdated POS _and_ a modern camera.

    • @ChazAllenUK
      @ChazAllenUK 6 років тому +3

      Guessing, but I imagine it's a different ball game. The length of time probes & satellites are exposed to radiation is utterly different to rockets. I don't know how long a dragon capsule would be left in space, but I guess it could be deorbitted and refitted far more easily than satellites.
      So I suspect if you fit your satellite with cheaper hardware and the camera breaks you need to repair it in space. If the design is flawed it's completely dead.

    • @Asterra2
      @Asterra2 6 років тому +3

      It's actually just part of space tradition, one which hasn't been discarded wholesale the way SpaceX did with space-hardened software/hardware. SpaceX is equally guilty of it. They use 480i (yes, circa 1990) cameras for all of their space footage, including the recent, supremely historical Falcon Heavy / Tesla Roadster launch. Those cameras aren't used for longer than a few hours, so there is literally zero excuse.

    • @breilly2750
      @breilly2750 6 років тому

      Asterra2....those images from Falcon Heavy do not look like 480i. They look more like 1080p. Do you have any reliable sources to back that claim?

    • @Asterra2
      @Asterra2 6 років тому +1

      Brian Reilly The ground footage is 1080p or similar. The onboard footage -- main booster, side boosters, and every angle on the Roadster payload -- is 480i, full stop. The digital resolution of UA-cam's video has no bearing on that. If you're not familiar enough with broadcast NTSC to recognize it at a glance, do this: Capture an image from one of the Roadster feeds (like one showing the "Don't Panic" screen). Paste it into Photoshop. Scale it down to 480p. Scale it back up to its original size. Directly compare this result to the image before you did any scaling. It should be bluntly obvious then.

    • @breilly2750
      @breilly2750 6 років тому

      Ground footage, you are sure to be correct.
      But why would they use ancient analog video technology when higher digital resolution options are available at a lower cost with less mass and less complexity on their vehicles? This is why your claim makes no sense. Why would they choose the inferior video option?

  • @R9A9V2
    @R9A9V2 3 роки тому +5

    Cpu 2: can i copy your homework?
    Cpu 1: sure
    Cpu 1: got caught copying, his homework got confiscated.
    Cpu 2 and 3: here ya bud. Take these paper and redo your homework.

  • @martinsutoob
    @martinsutoob 6 років тому +1

    Quality video. Thanks, very interesting.

  • @prational
    @prational 6 років тому +1

    Excellent!
    Thanks

  • @leonardocafferata6697
    @leonardocafferata6697 6 років тому +19

    "game developers are usually a good fit for spaceX, because they're used to writing code that runs in environments where memory and processing power are constrained". I didn't know SpaceX was hiring game developers from the 90's, because this is probably just false,or greatly exagerated for most of the game developers nowadays. No one would hire a game developer for this kind of work, if there's an EQUALLY GOOD embedded systems developer available as well.

    • @DasEtwas
      @DasEtwas 6 років тому +9

      game developers today dont care about memory or optimisation at all compared to the 90s

    • @leonardocafferata6697
      @leonardocafferata6697 6 років тому +4

      DasEtwas that's exactly my point.

    • @redorchestra6059
      @redorchestra6059 6 років тому +9

      Unemployed embedded programmer spotted

    • @XoddamCXVII
      @XoddamCXVII 6 років тому +5

      I imagine that he meant game *engine* developers like Unreal, Unity, etc. (also including people who write custom physics libraries, graphics libraries, networking libraries, etc.) because they tend to care more about performance and optimization as compared to game *play* developers. Also, because of the nature of video games, engine developers typically have a solid understanding of real-time data processing/simulation. This is crucial for computer system on a vehicle producing tons of data every second which has to be analyzed in order to make decisions. So I agree, most gameplay developers wouldn't be good, but there certainly are folks in the game industry who have the right programming mindset to do this type of work.

    • @leonardocafferata6697
      @leonardocafferata6697 6 років тому +4

      XoddamCXVII ofc, if he was talking about game engine developers who deal with the low level stuff, then ofc I agree with you there. But, at the same time, there arent many game engine developers out there, that's also why I think he didnt mean that, he meant high level game developer, and that's why I commented.

  • @sinki19841984
    @sinki19841984 6 років тому +5

    You sound Flemish

  • @PyMike
    @PyMike 5 років тому +1

    Great content, thank you!
    I just subscribed to your channel.
    Greetings from Italy!

  • @divukman
    @divukman 6 років тому +2

    Great presentation!

  • @tblb1
    @tblb1 6 років тому +185

    "No need to create custom software, when u can just use GCC and gdb " :D wow dude.... really? I thought everyone writes their own compiler and debugger.. holy shit :D

    • @simplyexplained
      @simplyexplained  6 років тому +35

      Those are two examples. However it's not uncommon to see homegrown tooling for special hardware parts!

    • @tblb1
      @tblb1 6 років тому +11

      Yeah.. that may be true for a debugger... but c++ compiler?? and you use this as a reason why they choose C++, as it has tooling.. well every compiled language has a compiler... and i think a debugger too..
      So i still think it's a bad idea to say these things as a REASON why they choosed C++.
      You could've just said, they choose it cause it's closer to hardware, with all the bitflipping, and memory stuff you mentioned before... It makes more sense ...

    • @simplyexplained
      @simplyexplained  6 років тому +30

      You "think" every language has a debugger?
      Also: tooling is much more then just a compiler! Not every language has so many tools like C++. Take Cobol for instance. Yes it has a compiler, but other tooling is very limited.
      But don't take my word for it! Take a look at the sources of this video. There are a few gems in there!

    • @tblb1
      @tblb1 6 років тому +7

      My point was that listing GCC and gdb as examples of good tooling, and the reason they choose C++ ..... is stupid.
      Cause every compiled language has a compiler and a debugger.

    • @Diggnuts
      @Diggnuts 6 років тому +41

      tblb1, It seems you point is to be overly anal. The example was perfectly clear and perfectly fine.

  • @deoxal7947
    @deoxal7947 5 років тому +5

    7:09 *Linux is a kernel*

  • @devsagayam
    @devsagayam 6 років тому

    Simply explained, wonderful.

  • @sendhilkumarans
    @sendhilkumarans 6 років тому

    Love your videos, very informative

  • @nathann1445
    @nathann1445 3 роки тому +9

    its obvious.
    hardware: Falcon 9
    software: Elon Musk (AI edition)

  • @VigneshBalasubramaniam
    @VigneshBalasubramaniam 6 років тому +59

    Most PC game developers don't care to optimise their code.

    • @simplyexplained
      @simplyexplained  6 років тому +16

      Sources? Games on consoles are usually very optimized because of the constraints....

    • @VigneshBalasubramaniam
      @VigneshBalasubramaniam 6 років тому +1

      Simply Explained - Savjee On consoles yes, I agree with you, but on PC, its a different story...
      Because PC gaming is a much smaller segment, very few game studios care to optimise their game to run well on that platform, leaving game engines behind the capabilities of graphics cards. It has only in the past year that optimising games to use multiple threads has become popular.

    • @simplyexplained
      @simplyexplained  6 років тому +4

      Yeah you do have a point about PC gaming. But in general game developers have to carefully manage things like memory and they can only run a limited amount of code to render each frame (heavier code = more time to render a frame = less frames per second).

    • @VigneshBalasubramaniam
      @VigneshBalasubramaniam 6 років тому

      Simply Explained - Savjee a lot of the lower level work is handled by the game engine, which aren't updated often enough to take full advantage of PC hardware. But yes, I understand the point you were making for the purpose of this video.

    • @Kuri0
      @Kuri0 6 років тому

      yes there are a lot of games without good graphics that require high end PCs

  • @superfiras1234
    @superfiras1234 6 років тому

    That was very enlightening, thanks.

  • @thechosenone1847
    @thechosenone1847 3 роки тому

    Thank you for doing this video🙏🙏

  • @Holako92
    @Holako92 5 років тому +4

    so did we land human in the moon back in 1969?

    • @TrungNguyen-pu4je
      @TrungNguyen-pu4je 5 років тому +1

      yes, with bigger computer and more risk

    • @Robert-jc6zq
      @Robert-jc6zq 5 років тому +1

      Going to the moon doesn’t require crazy technology, to put it simple you just need a lot of money and do a lot of math. Also they just used bigger computers and with more analog signals that aren’t affected by radiation but analog signals take longer to process.

  • @pauli6570
    @pauli6570 6 років тому +10

    Spoiler alert.....he is mostly referring to what Space X used back in 2012. So if 6 year outdated information is your thing, watch it all.

    • @mattfarrar5472
      @mattfarrar5472 6 років тому +1

      Paul Z Sources for updated information?

    • @breilly2750
      @breilly2750 6 років тому +3

      Nine: Updated information is restricted by ITAR....but yes, this video has mostly 6 year old information.

    • @Egrebal76
      @Egrebal76 6 років тому +5

      Space travel has unique problems almost requiring out of date software and hardware. The space shuttles last flight in 2011 had hardware and software that was state of the art in 1992! The simple reason is one had to test for all variables. Hardened older systems have that. New parameters have probably changed that but 6 years sounds about right. Military stuff is even worse. I use to work for Lockheed.

    • @nathan_408
      @nathan_408 5 років тому

      probably now they use ten quad core processor, but linux and c++ remain

  • @charan24119
    @charan24119 5 років тому

    You are awesome, This video has a in-depth information than other videos. I doubt where did you find this info, Great work.

    • @simplyexplained
      @simplyexplained  5 років тому

      All my sources are documented. Check the description!

  • @akjelane8781
    @akjelane8781 3 роки тому

    Wow , i learned lot of new thing in this video , thank you

  • @ottowels1616
    @ottowels1616 6 років тому +28

    Who else reminded this of Blockchain Technology ?

    • @peteabc1
      @peteabc1 6 років тому +8

      Blockchain just uses agreement protocol in a particular step but this type of fault tolerance is known for a long time and has some formal theory. It's called byzantine fault tolerance.

    • @nagendra_rao
      @nagendra_rao 6 років тому +2

      Honestly blockchain tech looks very pale compared to this.

    • @dziltener
      @dziltener 6 років тому

      The Blockchain is overhyped crap.

  • @jameskubik8804
    @jameskubik8804 6 років тому

    Awesome work, thanks!

  • @migueldeguzman3836
    @migueldeguzman3836 5 років тому

    Great insights dude!

  • @Jxmiecole
    @Jxmiecole 3 роки тому

    What a brilliant video. Thank bro!

  • @VlasiychukY
    @VlasiychukY 3 роки тому

    ths for this video. It was really interesting.

  • @oblemc
    @oblemc 6 років тому

    Incredible video, well done. Subscribed too :)

  • @patriciocobos
    @patriciocobos 3 роки тому

    Thank you very much Xavier for your work. Also thanks to the translators; in my case I congratulate Jordi Ferris. The video is great !! .. I have come to know a subject that I was ignorant of and which is of fundamental importance in aircraft safety. Thank you very much!!..
    Greetings from Santiago de CHILE.

    • @simplyexplained
      @simplyexplained  3 роки тому +1

      Thanks for the kind words! Nice to hear you found it interesting.

  • @shuttereff3ct593
    @shuttereff3ct593 4 роки тому

    informative video, thank you.

  • @georgelewisray
    @georgelewisray 6 років тому

    VERY well done,, thanks !

  • @ChevyRob313
    @ChevyRob313 6 років тому

    Very impressive content man keep it up

  • @n0MC
    @n0MC 6 років тому

    very interesting insights. thanks!

  • @BugRib
    @BugRib 6 років тому

    That was great! Subscribed!