IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Well, I have to admit
I'd both expect and be surprised to discover that they used and off-the-shelf system for the probe. Expect because it's dumb, and be surprised for the same reason. You'd think that for something like that, they'd want to make sure that key parts of the system were coded to the metal to ensure 100% software reliability... as it's been said before, it's not like you can send a chip monkey there to press the reset button.
--\n-------------------------------------------------------------------\n* Jack Troughton                            jake at consultron.ca *\n* [link|http://consultron.ca|http://consultron.ca]                   [link|irc://irc.ecomstation.ca|irc://irc.ecomstation.ca] *\n* Kingston Ontario Canada               [link|news://news.consultron.ca|news://news.consultron.ca] *\n-------------------------------------------------------------------
New Re: Well, I have to admit
Well, I hear stories from my buddy at Langley...

The same person once told me that a civil engineering code he was given, had PI hard-coded as 22/7. It took weeks to discover why the program was giving bad results - they finally called him in to look at the code as a mathematician and he discovered the problem in 15 minutes. Such stories do not inspire confidence.

The Apollo computer had an interrupt driven, real time OS that worked in a few K of RAM and some 30 K of ROM. For these one-shot projects, clearly the best thing is to directly code the software to the problem and the hardware. The very idea of someone going "we're going to code our deal in VxWorks!" just seems to PHBish for comfort. This isn't a cellphone or a car computer.
-drl
New Do you know what VxWorks is used for Ross?
VxWorks is used in a significant amount of Embedded Appliances.

Heart Monitors, Smart Dishwashers, Fancy Car Stereos, even Car Control Computers, Shavers, among other things.

VxWorks is quite mature and Reliable. It is/was designed to do certain things to make sure it can "work".

Lotsa failsafe options are available for it. Maybe not what the Team @ NASA used though. As others have said it doesn't take a genius to code software... but it surely can't hurt.

You can write bad code in Basic, Shell, Fortran, COBOL, C++, ADA, ASM, Assembly, Java... etc. But you can also write Great Code in those same languages. (Great is a relative term here, given the previous :-)
--
[link|mailto:greg@gregfolkert.net|greg],
[link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey

"Lately, The only thing keeping me from being a
  Serial Killer is my distaste for manual labor."
-- Dilbert Calendar, January 4, 2004
New Re: Do you know what VxWorks is used for Ross?
Yes, I can read - I looked over the product at some length incl RTFM. (Never could figure out the basis for the arch tho).

Like I said, this isn't a cellphone. It's not an "embedded device", it's a fucking $500M spacecraft a long way from home.
-drl
New Is too an embedded device.
None more embeddeder, I'd say.


Peter
[link|http://www.debian.org|Shill For Hire]
[link|http://www.kuro5hin.org|There is no K5 Cabal]
[link|http://guildenstern.dyndns.org|Home Page - Now with added Zing!]
New Same Difference...
Works on many levels. VxWorks was a far better choice than Linux at the time it was designed, VxWorks was far better than Windows Embedded at the time.

VxWorks has a shining point, it runs in low-current environments, it operates electronic switches and can use many different type of elements (PLC, sensors, processing centers, cameras), if the element has a documented way to be interacted with... (most proprietary tools do) VxWorks can almost always operate it properly.

VxWorks does stand well. VxWorks runs on ARM, MIPS and a few others.

This rover is just one big embedded device with lotsa (simpler)embedded devices embedded in it as well.

I don't think the choice of Operation Environment really means anything. If they would have chosen Linux... or even OS/2 these kinds of thing DO happen.

And about NASA Coding, there is a whole department that has managed to get a ratio of Bugs per Lines of code ... so close to zero is isn't even funny. The Shuttle Operational Code is probably the most error free code in the world.
--
[link|mailto:greg@gregfolkert.net|greg],
[link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey

"Lately, The only thing keeping me from being a
  Serial Killer is my distaste for manual labor."
-- Dilbert Calendar, January 4, 2004
New Point missed
I would not have used ANY canned software of ANY kind, but instead would have applied the principles of RTOS design to build a totally customized solution for THIS ONE spacecraft - this has worked pefectly in the past for far more complex devices. The Viking landers had rocket motors and actually *landed* on Mars - as mentioned the Apollo computers and software were all sui generis and a miracle of tight engineering.

I'm sure VxWorks makes a superior cellphone OS. Or DVD player. Or a robotic vacuum. But adding layers of proprietary unknowns to something that HAS to work EXACTLY as spec'ed is asking for trouble, and lo, trouble didth show his Face. Need we mention the fact that the previous mission's computer turned off the descent motors 100 ft off the ground? *splat*
-drl
New You don't need to mention it,
because it's got feck all to do with the subject at hand; that was a metric/imperial measurements SNAFU. Nothing to do with an OS; the software worked perfectly given the input.


Peter
[link|http://www.debian.org|Shill For Hire]
[link|http://www.kuro5hin.org|There is no K5 Cabal]
[link|http://guildenstern.dyndns.org|Home Page - Now with added Zing!]
New That's called HUBRIS
Screw hundreds of programmers over dosen years. I will use the principles of RTOS an magically produce a better system in a year, at the cost of, well, only a few hundred million dollars.


And then the better system will not go anywhere, because the money needed for launch were spent on software.
--

Select [link|http://www.glumbert.com/pictures/Default.asp?index=30|here].
New Re: That's called HUBRIS
No, it's called targeted programming for minimal chance of failure. If one guy can write his own RTOS to control a telescope and create an entire idiom in so doing, it should not be hard to repeat his effort.
-drl
New A telescope, a microscope, an antenna, a power system,
a robotic arm, a digital camera, a propulsion system, a rudimentary AI, a lot of things I left out.
--

Select [link|http://www.glumbert.com/pictures/Default.asp?index=30|here].
New And?
Every one needs its own targeted control module. The underlying structure should be built exactly for the purpose of controlling those things. There should not be one single wasted line of code, or one bit of wasted memory.

Now, are you telling me that the VxWorks based solution is that tight?

Also - look at the results. Apollo - perfect. Shuttle computers - perfect. Vikings - perfect. Mariners to Mercury, Venus, and Mars - perfect. Voyagers and Pioneers to the outer planets - perfect. Only in recent years are things getting fucked up by bad software. What more proof do you need, a core dump from Spirit? This entire problem with the rover was caused by shitty software and/or shitty software related maintenance.
-drl
New And you know this how?
Yeah, I'm sure that NASA hired some REAL dumb programmers for this job.


Peter
[link|http://www.debian.org|Shill For Hire]
[link|http://www.kuro5hin.org|There is no K5 Cabal]
[link|http://guildenstern.dyndns.org|Home Page - Now with added Zing!]
New It's POCS
plain old common sense.

What is the former failure rate of NASA spacecraft computing?

Somewhere around 0.

What is the failure rate of business computing based of "tested methologies using canned software"? What, 50-60 percent?

You decide.

How many really shitty engineers have I met?

Somewhere around 0.

How many shitty IT types have I met? I mean - no vision, sloppy, slapdash, careless, clueless? No telling - dot lots and lots.

You decide.

NASA's webpage talks abot ISO.Bullshit and TQManglement. It's their "corporate ethos". Before, someone like John Houboult could go straight to the top with an issue if he felt justified. Now, 10 layers of total quality management would be in his way.

You decide.
-drl
New Way to not answer the question.
How do you know?

Answer: you don't.

Space is a HARD PLACE TO DO BUSINESS. STUFF BREAKS. GET OVER IT.


Peter
[link|http://www.debian.org|Shill For Hire]
[link|http://www.kuro5hin.org|There is no K5 Cabal]
[link|http://guildenstern.dyndns.org|Home Page - Now with added Zing!]
New Re: Way to not answer the question.
Peter, in my other life before bumness descended on me like a broken rover, I was a "software engineer" in the Radar and Instrumentation Lab at Ga. Tech Research Institute. We dealt with hardware all the time (Star Wars). No one had VxWorks or any of that BS. We ran hardware simulations on large 'frames, and then coded directly to the simulator. My part was radar codes. Everything was home grown. It always worked. I wonder why?
-drl
New Because it was a simulator :-)
Simulators have a tendency to be like the environment you're coding to.

Wonder why we have bugs on the road but not in the lab? Wonder no more. We can't put a motorway in our lab.


Peter
[link|http://www.debian.org|Shill For Hire]
[link|http://www.kuro5hin.org|There is no K5 Cabal]
[link|http://guildenstern.dyndns.org|Home Page - Now with added Zing!]
New Re: Because it was a simulator :-)
This was the standard way of dealing with hardware of any complexity. The Apollo computers were done that way. Intel makes CPUs like that. The hardware has design specs, you feed them in, and run them.

One thing we did was model something like a tank, bounce fake radar from a fake antenna off the fake tank, then calculate the cross section of the return - then go out and deal with an actual radar. The numbers always matched.
-drl
New BTW, Pathfinder used VxWorks too ...
... with interesting results:
[link|http://catless.ncl.ac.uk/Risks/19.49.html#subj1|http://catless.ncl.a.../19.49.html#subj1]
--
Chris Altmann
New heh,
with hardware, it's always timing :)

Could one reason the "homegrow" solutions have been so good - sometimes things were honed down to the "literally counting clock cycles" level.
-drl
     Spirit flash RAM functional, error thought to be software - (deSitter) - (27)
         WOW - (hnick) - (23)
             WOW - (deSitter) - (22)
                 Programming for the shuttle - (jake123) - (21)
                     Re: Programming for the shuttle - (deSitter) - (20)
                         Well, I have to admit - (jake123) - (19)
                             Re: Well, I have to admit - (deSitter) - (18)
                                 Do you know what VxWorks is used for Ross? - (folkert) - (17)
                                     Re: Do you know what VxWorks is used for Ross? - (deSitter) - (16)
                                         Is too an embedded device. - (pwhysall)
                                         Same Difference... - (folkert) - (14)
                                             Point missed - (deSitter) - (13)
                                                 You don't need to mention it, - (pwhysall)
                                                 That's called HUBRIS - (Arkadiy) - (11)
                                                     Re: That's called HUBRIS - (deSitter) - (10)
                                                         A telescope, a microscope, an antenna, a power system, - (Arkadiy) - (9)
                                                             And? - (deSitter) - (8)
                                                                 And you know this how? - (pwhysall) - (7)
                                                                     It's POCS - (deSitter) - (6)
                                                                         Way to not answer the question. - (pwhysall) - (5)
                                                                             Re: Way to not answer the question. - (deSitter) - (4)
                                                                                 Because it was a simulator :-) - (pwhysall) - (1)
                                                                                     Re: Because it was a simulator :-) - (deSitter)
                                                                                 BTW, Pathfinder used VxWorks too ... - (altmann) - (1)
                                                                                     heh, - (deSitter)
         I thought WinCE was really stable?!? -NT - (bepatient) - (2)
             As long as you don't run more than 32 threads... -NT - (inthane-chan) - (1)
                 Total... not per app. -NT - (hnick)

Sorry about the mass of technical details.
170 ms