Crew Dragon’s Short Hop Begins The Era Of Valet Parking At The ISS

They weren’t scheduled to return to Earth until April 28th at the earliest, so why did NASA astronauts Michael Hopkins, Victor Glover, and Shannon Walker, along with Japan Aerospace Exploration Agency (JAXA) astronaut Soichi Noguchi, suit up and climb aboard the Crew Dragon Resilience on April 5th? Because a previously untested maneuver meant that after they closed the hatch between their spacecraft and the International Space Station, there was a chance they weren’t going to be coming back.

On paper, moving a capsule between docking ports seems simple enough. All Resilience had to do was undock from the International Docking Adapter 2 (IDA-2) located on the front of the Harmony module, itself attached to the Pressurized Mating Adapter 2 (PMA-2) that was once the orbital parking spot for the Space Shuttle, and move over to the PMA-3/IDA-3 on top of Harmony. It was a short trip through open space, and when the crew exited their craft and reentered the Station at the end of it, they’d only be a few meters from where they started out approximately 45 minutes prior.

The maneuver was designed to be performed autonomously, so technically the crew didn’t need to be on Resilience when it switched docking ports. But allowing the astronauts to stay aboard the station while their only ride home undocked and flew away without them was a risk NASA wasn’t willing to take.

What if the vehicle had some issue that prevented it from returning to the ISS? A relocation of this type had never been attempted by an American spacecraft before, much less a commercial one like the Crew Dragon. So while the chances of such a mishap were slim, the crew still treated this short flight as if it could be their last day in space. Should the need arise, all of the necessary checks and preparations had been made so that the vehicle could safely bring its occupants back to Earth.

Thankfully, that wasn’t necessary. The autonomous relocation of Crew Dragon Resilience went off without a hitch, and SpaceX got to add yet another “first” to their ever growing list of accomplishments in space. But this first relocation of an American spacecraft at the ISS certainly won’t be the last, as the comings and goings of commercial spacecraft will only get more complex in the future.

Continue reading “Crew Dragon’s Short Hop Begins The Era Of Valet Parking At The ISS”

Magna Announces Simple Drive Solution For Electric Pickup Trucks

Thus far, the majority of electric cars on sale have been aimed at commuters, fitting into the sedan and SUV segments of the marketplace. Going forward, there’s a very real need for electrification to touch the whole spectrum of automobiles, and that includes work vehicles like pickup trucks. A company called Magna have recently thrown their hat into the ring in just this space, developing a simple drivetrain that can be readily installed in pickup trucks without major modifications.  Continue reading “Magna Announces Simple Drive Solution For Electric Pickup Trucks”

Weren’t We Supposed To Live In Plastic Houses In The Future?

Futurism is dead. At least, the wildly optimistic technology-based futurism of the middle years of the 20th century has been replaced in our version of their future by a much more pessimistic model of environmental challenges and economic woes. No longer will our flying cars take us from our space-age wonder-homes to the monorail which will whisk us through sparkling-clean cities to our robotised workplaces, instead while we may have a global computer network and voice controlled assistants we still live in much the same outdated style as we did decades ago. Our houses are made from wood and bricks by blokes with shovels rather than prefabricated by robots and delivered in minutes, and our furniture would be as familiar to a person from the 1950s as it is for us.

A Plastic Future That Never Quite Happened

There was a time when the future of housing looked remarkably different. Just as today we are busily experimenting with new materials and techniques in the type of stories we feature on Hackaday, in the 1950s there was a fascinating new material for engineers and architects to work with in the form of plastics. The Second World War had spawned a huge industry that needed to be repurposed for peacetime production, so almost everything was considered for the plastic treatment, including houses. It seemed a natural progression that our 21st century houses would be space-age pods rather than the pitched-roof houses inherited from the previous century, so what better way could there be to make them than using the new wonder material? A variety of plastic house designs emerged during that period which remain icons to this day, but here we are five or six decades later and we still don’t live in them. To find out why, it’s worth a look at some of them, partly as a fascinating glimpse of what might have been, but mostly to examine them with the benefit of hindsight.

Continue reading “Weren’t We Supposed To Live In Plastic Houses In The Future?”

Space Shuttle Program: 40th Anniversary Of The First Launch Of Columbia

For those who grew up watching the endless coverage of the Apollo program in the 60s and 70s, the sight of OV-102, better known as the Space Shuttle Columbia, perched on pad 39A at the Kennedy Space Center was somewhat disconcerting. Compared to the sleek lines of a Saturn V rocket, the spacecraft on display on April 12, 1981, seemed an ungainly beast. It looked like an airplane that had been tacked onto a grain silo, with a couple of roman candles attached to it for good measure. Everything about it seemed the opposite of what we’d come to expect from spaceflight, but as the seconds ticked away to liftoff 40 years ago this day, we still had hope that this strange contraption wouldn’t disappoint.

At first, as the main engines ignited, it seemed that Columbia would indeed disappoint. The liquid hydrogen exhaust plume seemed anemic, at least compared to the gout of incandescent kerosene that had belched out from every rocket I’d ever seen launched. But then those magnificent — and as it later turned out, deadly dangerous — solid rocket boosters came to life, and Columbia fairly leaped off the launchpad. Americans were on their way to space again after a six-year absence, and I remember cheering astronauts John Young and Bob Crippen on as I watched the coverage with my dad that early Sunday morning.

Continue reading “Space Shuttle Program: 40th Anniversary Of The First Launch Of Columbia”

Linux Fu: Shell Script File Embedding

You need to package up a bunch of files, send them somewhere, and do something with them at the destination. It isn’t an uncommon scenario. The obvious answer is to create an archive — a zip or tar file, maybe — and include a shell script that you have to tell the user to run after unpacking.

That may be obvious, but it assumes a lot on the part of the remote user. They need to know how to unpack the file and they also need to know to run your magic script of commands after the unpack. However, you can easily create a shell script that contains a file — even an archive of many files — and then retrieve the file and act on it at run time. This is much simpler from the remote user’s point of view. You get one file, you execute it, and you are done.

In theory, this isn’t that hard to do, but there are a lot of details. Shell scripts are not compiled — at least, not typically — so the shell only reads what it needs to do the work. That means if your script is careful to exit, you can add as much “garbage” to the end of it as you like. The shell will never look at it, so it’s possible to store the payload there.

Continue reading “Linux Fu: Shell Script File Embedding”

Code Your Own Twitch Chat Controls For Robots — Or Just About Anything Else!

Twitch Plays Pokemon burst onto the then nascent livestreaming scene back in 2014, letting Twitch viewers take command of a Game Boy emulator running Pokemon Red via simple chat commands. Since then, the same concept has been applied to everything under the sun. Other video games, installing Linux, and even trading on the New York Stock Exchange have all been gameified through Twitch chat.

TwitchPlaysPokemon started a craze in crowdsourced control of video games, robots, and just about everything else.

You, thirsty reader, are wondering how you can get a slice of this delicious action. Fear not, for with a bit of ramshackle code, you can let Twitch chat take over pretty much anything in, on, or around your computer.

It’s Just IRC

The great thing about Twitch chat is that it runs on vanilla IRC (Internet Relay Chat). The protocol has been around forever, and libraries exist to make interfacing easy. Just like the original streamer behind Twitch Plays Pokemon, we’re going to use Python because it’s great for fun little experiments like these. With that said, any language will do fine — just apply the same techniques in the relevant syntax.

SimpleTwitchCommander, as I’ve named it on Github, assumes some familiarity with basic Python programming. The code will allow you to take commands from chat in two ways. Commands from chat can be tabulated, and only the one with the most votes executed, or every single command can be acted on directly. Actually getting this code to control your robot, video game, or pet viper is up to you. What we’re doing here is interfacing with Twitch chat and pulling out commands so you can make it do whatever you like. With that said, for this example, we’ve set up the code to parse commands for a simple wheeled robot. Let’s dive in.

Continue reading “Code Your Own Twitch Chat Controls For Robots — Or Just About Anything Else!”

Field Guide To Shipping Containers

In the 1950s, trucking magnate Malcom McLean changed the world when he got frustrated enough with the speed of trucking and traffic to start a commercial shipping company in order to move goods up and down the eastern seaboard a little faster. Within ten years, containers were standardized, and the first international container ship set sail in 1966. The cargo? Whisky for the U.S. and guns for Europe. What was once a slow and unreliable method of moving all kinds of whatever in barrels, bags, and boxes became a streamlined operation — one that now moves millions of identical containers full of unfathomable miscellany each year.

When I started writing this, there was a container ship stuck in the Suez canal that had been blocking it for days. Just like that, a vital passage became completely clogged, halting the shipping schedule of everything from oil and weapons to ESP8266 boards and high-waist jeans. The incident really highlights the fragility of the whole intermodal system and makes us wonder if anything will change.

A rainbow of dry storage containers. Image via xChange

Setting the Standard

We are all used to seeing the standard shipping container that’s either a 10′, 20′, or 40′ long box made of steel or aluminum with doors on one end. These are by far the most common type, and are probably what come to mind whenever shipping containers are mentioned.

These are called dry storage containers, and per ISO container standards, they are all 8′ wide and 8′ 6″ tall. There are also ‘high cube’ containers that are a foot taller, but otherwise share the same dimensions. Many of these containers end up as some type of housing, either as stylish studios, post-disaster survivalist shelters, or construction site offices. As the pandemic wears on, they have become so much in demand that prices have surged in the last few months.

Although Malcom McLean did not invent container shipping, the strict containerization standards that followed in his wake prevent issues during stacking, shipping, and storing, and allow any container to be handled safely at any port in the world, or load onto any rail car with ease. Every bit of the container is standardized, from the dimensions to the way the container’s information is displayed on the end. At most, the difference between any two otherwise identical containers is the number, the paint job, and maybe a few millimeters in one dimension.

Standard as they may be, these containers don’t work for every type of cargo. There are quite a few more types of shipping containers out there that serve different needs. Let’s take a look at some of them, shall we?

Continue reading “Field Guide To Shipping Containers”