News for hackers. Stuff that matters.
Re:Mars becomes the 2nd planet that has more computers runni... by fireball_blaze on Friday February 19, 2021 @03:10PM (#26197475)
The flight software and embedded systems framework for the Ingenuity helicopter is called F' (pronounced F Prime) and is open source. Find it here:

https://github.com/nasa/fprime

Re:Mars becomes the 2nd planet that has more computers runni... by BurningFrog on Friday February 19, 2021 @04:08PM (#26198045)
> pronounced F Prime

Some people really hate Amazon!

Re:Mars becomes the 2nd planet that has more computers runni... by igorstellar on Friday February 19, 2021 @04:15PM (#26198116)
or they are paying respecs
Re:Mars becomes the 2nd planet that has more computers runni... by amself on Friday February 19, 2021 @04:54PM (#26198513)
or they are just taking the first derivative of ƒ. who knows, really!
Re:Mars becomes the 2nd planet that has more computers runni... by desine on Friday February 19, 2021 @05:35PM (#26198933)
which is likely a common operation in flight control software ;-)
Re:Mars becomes the 2nd planet that has more computers runni... by soheil on Friday February 19, 2021 @05:35PM (#26198924)
or really dislike composite numbers
Re:Mars becomes the 2nd planet that has more computers runni... by royaltjames on Friday February 19, 2021 @05:36PM (#26198951)
f
Re:Mars becomes the 2nd planet that has more computers runni... by eggy on Friday February 19, 2021 @05:55PM (#26199125)
f' the father of f#
Re:Mars becomes the 2nd planet that has more computers runni... by CodeGlitch on Saturday February 20, 2021 @03:30AM (#26202600)
C++ and Python.

I always thought NASA used languages that were easier to verify (functional languages?). Good to see that the common boring languages are good enough!

Re:Mars becomes the 2nd planet that has more computers runni... by proc0 on Saturday February 20, 2021 @01:07PM (#26206325)
I have not looked at any of it, but would think they'd back it up with some form of math proof for at least some modules, and then applying those algorithms is just like any other C++ or Python code.
Re:Mars becomes the 2nd planet that has more computers runni... by fooker on Saturday February 20, 2021 @07:32AM (#26203662)
People keep saying functional languages are easier to verify but most practical verification tools (model checkers and the like) are built on top of imperative languages.
Re:Mars becomes the 2nd planet that has more computers runni... by neurostimulant on Saturday February 20, 2021 @08:33AM (#26203969)
Ingenuity is a tech demo, so they don't go all out to conserve limited development resource and uses mostly off the shelf hardware and software.
Re:Mars becomes the 2nd planet that has more computers runni... by jaywalk on Friday February 19, 2021 @04:01PM (#26197990)
That's the framework, but is the actual flight software open source? I highly doubt it.
Re:Mars becomes the 2nd planet that has more computers runni... by londons_explore on Friday February 19, 2021 @04:15PM (#26198115)
I don't see why it wouldn't be...

It's not like NASA is worried someone else is going to steal their software and send their own rover to mars using it...

Re:Mars becomes the 2nd planet that has more computers runni... by drewzero1 on Friday February 19, 2021 @04:25PM (#26198221)
More likely, they may be worried someone is going to find a vulnerability and take control of their multi-jillion-dollar piece of equipment.

At least in this case physical access is an extremely improbable attack vector...

Re:Mars becomes the 2nd planet that has more computers runni... by ampdepolymerase on Friday February 19, 2021 @05:00PM (#26198592)
If a third party can break into the satellite and communications firmware of two different spacefaring nations (you have to hijack an orbiter too) then there are bigger problems to worry about. The number of countries (counting the ESA as one big country) with objects in orbit around Mars can be counted on one hand.
Re:Mars becomes the 2nd planet that has more computers runni... by tester756 on Friday February 19, 2021 @06:50PM (#26199626)
Well, I asked people who are world class competitive security competitors and had succes in HACK A SAT how's the satelites and stuff security and they said that it aint good
Re:Mars becomes the 2nd planet that has more computers runni... by laurent92 on Friday February 19, 2021 @05:16PM (#26198732)
On the other hand, I’m not sure satellites launched years ago have auto-upgrades enabled and up-to-date security policies (and certificates!), especially upgrade policies for the embedded chipsets. That must be an interesting problem to solve.
Re:Mars becomes the 2nd planet that has more computers runni... by drewzero1 on Monday February 22, 2021 @11:41AM (#26226545)
True. I'm not saying they should be worried about that at all, but it seems like something somebody might be worried about anyway.
Re:Mars becomes the 2nd planet that has more computers runni... by mod on Friday February 19, 2021 @04:26PM (#26198231)
That occurred to me as well, but I imagine this is separated from the communications.

Maybe it's not controlled at all... it does say autonomous, after all.

Re:Mars becomes the 2nd planet that has more computers runni... by amself on Friday February 19, 2021 @04:59PM (#26198574)
I imagine all commands have to get signed for the rover to accept them, but even if their keys were compromised and some vulnerability was found in the software, wouldn't you also need a network of really big dishes (see DSN) to actually send the commands to the rover?
Re:Mars becomes the 2nd planet that has more computers runni... by laurent92 on Friday February 19, 2021 @05:21PM (#26198788)
> Wouldn’t you also need a big network of dishes

Nah, you can subscribe to big-dishes-on-demand using AWS Ground Station.

Wait, they did exactly that: https://aws.amazon.com/ground-station/

While some innovate, once again AWS reaps the margins of the whole space conquest by discretely providing the infrastructure that everyone needs. Clever!

Re:Mars becomes the 2nd planet that has more computers runni... by folli on Friday February 19, 2021 @05:49PM (#26199060)
I honestly chuckled because of your AWS parody.

Than I clicked the link...

Re:Mars becomes the 2nd planet that has more computers runni... by alvarlagerlof on Friday February 19, 2021 @07:00PM (#26199714)
Same. Now I'm wondering what they're not offering.
Re:Mars becomes the 2nd planet that has more computers runni... by dheera on Friday February 19, 2021 @04:37PM (#26198332)
Re:Mars becomes the 2nd planet that has more computers runni... by pkage on Friday February 19, 2021 @07:13PM (#26199838)
A lot of speculation here, but the real reason is likely a mix of export control (ITAR) and proprietary components. Essentially, anything that could potentially be used in a missile is very tightly controlled technology and is difficult to release to the public.
Re:Mars becomes the 2nd planet that has more computers runni... by mhh__ on Friday February 19, 2021 @04:34PM (#26198304)
Generally these things don't get open sourced. They really should be in the long run but these things take time.

Even Journals don't insist on code yet unfortunately.

Re:Mars becomes the 2nd planet that has more computers runni... by jdminhbg on Friday February 19, 2021 @04:57PM (#26198554)
They might have licensed closed source components from third party vendors that prevent them from open sourcing the whole thing.
Re:Mars becomes the 2nd planet that has more computers runni... by 0xffff2 on Friday February 19, 2021 @05:40PM (#26198993)
Maybe, but I doubt it. I'm currently working on another NASA rover project (going to the Moon, not Mars) and we don't use any third party code. Our code is based off of another open source NASA project (Core Flight System), but we don't open-source our exact flight software. Mostly this is simply because we have to go through a lengthy vetting process to ensure we don't inappropriately release anything that falls under ITAR or EAR, and we just don't have the extra time or budget for it.

Typically at NASA it's the more open-ended research projects that have time and support for open sourcing their code. There's less benefit in releasing a specific rover's flight software than there is in releasing the general framework that said software is based on.

Re:Mars becomes the 2nd planet that has more computers runni... by jdminhbg on Friday February 19, 2021 @06:13PM (#26199321)
Excellent info, thank you!
Re:Mars becomes the 2nd planet that has more computers runni... by marianov on Friday February 19, 2021 @03:21PM (#26197574)
Prime as in Optimus lineage? Rover! Transform and roll out!
Re:Mars becomes the 2nd planet that has more computers runni... by jbm on Friday February 19, 2021 @04:00PM (#26197962)
Tangentially related, but Optimus Prime has a drone - Roller.

https://tfwiki.net/wiki/Roller_(G1)