News for hackers. Stuff that matters.
Re:NASA regains contact with mini-helicopter on Mars by csdreamer7 on Sunday January 21, 2024 @11:44AM (#39080065)
On Jupiter Broadcasting there was a lot of interviews on how this was a Linux powered device and could be the first of many new Linux devices on Mars by JPL. If I remembered correctly they used a space hardened Power cpu with an ancient version of Yocto since the newer versions of it did not have working drivers. When the rover had an issue they actually used the helicoptor's userspace command line GNU utilities to debug and get logs from the rover to send to Earth.

Also, this makes Mars the second planet that uses Linux more than Windows as noted by the tweet in the linux below. :-)

https://www.theverge.com/2021/2/19/22291324/linux-perseveran...

Re:NASA regains contact with mini-helicopter on Mars by heavyset_go on Sunday January 21, 2024 @12:32PM (#39080520)
The space-hardened POWER CPU was in Perseverance.

Some info from Wikipedia:

> The rover's computer uses the BAE Systems RAD750 radiation-hardened single board computer based on a ruggedized PowerPC G3 microprocessor (PowerPC 750). The computer contains 128 megabytes of volatile DRAM, and runs at 133 MHz. The flight software runs on the VxWorks operating system, is written in C and is able to access 4 gigabytes of NAND non-volatile memory on a separate card.

Re:NASA regains contact with mini-helicopter on Mars by dylan604 on Sunday January 21, 2024 @12:12PM (#39080329)
> If I remembered correctly they used a space hardened Power cpu

If you're remembering correctly, then I'm misremembering in that this has essentially a Snapdragon chip and not a rad hardened CPU at all

Re:NASA regains contact with mini-helicopter on Mars by eric__cartman on Sunday January 21, 2024 @12:35PM (#39080543)
They used the hardened PowerPC for the rover, similar to previous mars rovers and the Snapdragon chip for the helicopter.
Re:NASA regains contact with mini-helicopter on Mars by csdreamer7 on Sunday January 21, 2024 @12:23PM (#39080433)
Maybe I am misremembering the interview. Maybe the person said that they used to use a hardened IBM power chip?
Re:NASA regains contact with mini-helicopter on Mars by Denvercoder9 on Sunday January 21, 2024 @12:54PM (#39080766)
This information is pretty widely available, e.g. on Wikipedia [1], no need to go off memory. Flight control is done by an FPGA, the main CPU is a Snapdragon 801 running Linux, and it uses Zigbee to communicate with the rover.

[1] https://en.wikipedia.org/wiki/Ingenuity_(helicopter)#Avionic...

Re:NASA regains contact with mini-helicopter on Mars by jacquesm on Sunday January 21, 2024 @09:50PM (#39085571)
At least they won't have any trouble finding a free channel.
Re:NASA regains contact with mini-helicopter on Mars by inamberclad on Sunday January 21, 2024 @01:39PM (#39081349)
Fun fact - the cameras that captures Perseverance's landing are also Linux based and vim is installed - at least on the later model that I worked with.
Re:NASA regains contact with mini-helicopter on Mars by zelphirkalt on Sunday January 21, 2024 @06:44PM (#39084256)
Hopefully some engineer on the ground used Emacs to access the command line remotely, to run Vim, so that we are back on equal footing :D
Re:NASA regains contact with mini-helicopter on Mars by hhh on Sunday January 21, 2024 @07:07PM (#39084443)
What make & model of camera are these?
Re:NASA regains contact with mini-helicopter on Mars by kam on Sunday January 21, 2024 @08:05PM (#39084851)
FLIR Chameleon3 connected via USB to a Intel Atom Linux SBC running ffmpeg to encode the video.

See EDLCAM in https://link.springer.com/article/10.1007/s11214-020-00765-9

Re:NASA regains contact with mini-helicopter on Mars by retrochameleon on Monday January 22, 2024 @12:17AM (#39086525)
I am really surprised they are using essentially off-the-shelf USB cameras. I guess if it works, it works, but surprising that they didn't need to design circuitry to work in a space environment.

I am guessing the requirements for circuitry operating on Mars isn't quite as much as a spacecraft or satellite, but it is still getting hit with cosmic particles and solar radiation with no atmosphere.

Re:NASA regains contact with mini-helicopter on Mars by inamberclad on Sunday January 21, 2024 @08:04PM (#39084838)
They're USB cameras. I don't know the vendor, but I worked with 4 cameras wired back to a small Linux computer.
Re:NASA regains contact with mini-helicopter on Mars by TheCoreh on Monday January 22, 2024 @12:12AM (#39086487)
Using it with a 20 minute delay between keystrokes and their results must be interesting
Re:NASA regains contact with mini-helicopter on Mars by M95D on Monday January 22, 2024 @06:28AM (#39088362)
I'm sure they didn't connect to it via the internet to send keystrokes.
Re:NASA regains contact with mini-helicopter on Mars by Trekker666 on Monday January 22, 2024 @06:17PM (#39096945)
Huge delays between keypresses is what vi (and vim ofc) was designed for.
Re:NASA regains contact with mini-helicopter on Mars by kurts_mustache on Sunday January 21, 2024 @02:42PM (#39082173)
> When the rover had an issue they actually used the helicoptor's userspace command line GNU utilities to debug and get logs from the rover to send to Earth.

Wow, such a great testament to The Unix Philosophy of building small, modular, focused tools that can be combined together to do all sorts of interesting and more complex tasks. I'm sure no one imagined using these utilities from a helicopter to retrieve rover logs to aid in diagnostics, but here we are. What a cool story.

Re:NASA regains contact with mini-helicopter on Mars by rigid on Sunday January 21, 2024 @02:52PM (#39082303)
now if we just teach those tools to kids instead of turning them into spreadsheet office robots, that would be great.
Re:NASA regains contact with mini-helicopter on Mars by rajamaka on Sunday January 21, 2024 @03:11PM (#39082515)
I imagine NASA is built and operated on a foundation of thousands of spreadsheets
Re:NASA regains contact with mini-helicopter on Mars by TeMPOraL on Sunday January 21, 2024 @03:41PM (#39082834)
Spreadsheets are the best thing in computing since a Lisp REPL. Half of the startups today would be much better (in terms of utility, simplicity and ergonomics) for users and customers if they were served in form of a downloadable Excel sheet.
Re:NASA regains contact with mini-helicopter on Mars by zelphirkalt on Sunday January 21, 2024 @06:48PM (#39084296)
Almost agree, 'xcept for the "Excel" part, which I would switch against "spreadsheet".