A Car Phone — No, Not That Kind

Autonomous vehicle development is a field of technology that remains relatively elusive to the average hacker, what with the needing a whole car and all. Instead of having to deal with such a large scale challenge, [Piotr Sokólski] has instead turned to implementing the same principles on the scale of a small radio-controlled car.

Wanting to lower the barrier of entry for developing software for self-driving cars, he based his design off of something you’re likely to have lying around already: a smartphone. He cites the Google Cardboard project for his inspiration, with how it made VR more accessible without needing expensive hardware. The phone is able to control the actuators and wheel motors through a custom board, which it talks to via a Bluetooth connection. And since the camera points up in the way the phone is mounted in the frame, [Piotr] came up with a really clever solution of using a mirror as a periscope so the car can see in front of itself.

The software here has two parts, though the phone app one does little more than just serve as an interface by sending off a video feed to be processed. The whole computer vision processing is done on the desktop part, and it allows [Piotr] to do some fun things like using reinforcement learning to keep the car driving as long as possible without crashing. This is achieved by making the algorithm observe the images coming from the phone and giving it negative reward whenever an accelerometer detects a collision. Another experiment he’s done is use a QR tag on top of the car, visible to a fixed overhead camera, to determine the car’s position in the room.

This might not be the first time someone’s made a scaled down model of a self-driving vehicle, though it’s one of the most cleverly-designed ones, and it’s certainly much simpler than trying to do it on a full-sized car in your garage.

Continue reading “A Car Phone — No, Not That Kind”

Was The Self Driving Car Invented In The 1980s?

The news is full of self-driving cars and while there is some bad news, most of it is pretty positive. It seems a foregone conclusion that it is just a matter of time before calling for an Uber doesn’t involve another person. But according to a recent article, [Ernst Dickmanns] — a German aerospace engineer —  built three autonomous vehicles starting in 1986 and culminating with on-the-road demonstrations in 1994 for Daimler.

It is hard to imagine what had to take place to get a self-driving car in 1986. The article asserts that you need computer analysis of video at 10 frames a second minimum. In the 1980s doing a single frame in 10 minutes was considered an accomplishment. [Dickmanns’] vehicles borrowed tricks from how humans drive. They focused on a small area at any one moment and tried to ignore things that were not relevant.

Continue reading “Was The Self Driving Car Invented In The 1980s?”

Uber Has An Autonomous Fatality

You have doubtlessly heard the news. A robotic Uber car in Arizona struck and killed [Elaine Herzberg] as she crossed the street. Details are sketchy, but preliminary reports indicate that the accident was unavoidable as the woman crossed the street suddenly from the shadows at night.

If and when more technical details emerge, we’ll cover them. But you can bet this is going to spark a lot of conversation about autonomous vehicles. Given that Hackaday readers are at the top of the technical ladder, it is likely that your thoughts on the matter will influence your friends, coworkers, and even your politicians. So what do you think?

Continue reading “Uber Has An Autonomous Fatality”

Go Big Or Go Home – This Arduino RC Car Can Take You There

Whether we like it or not, eventually the day will come where we have to admit that we outgrew our childhood toys — unless, of course, we tech them up in the name of science. And in some cases we might get away with simply scaling things up to be more fitting for an adult size. [kenmacken] demonstrates how to do both, by building himself a full-size 1:1 RC car. No, we didn’t forget a digit here, he remodeled an actual Honda Civic into a radio controlled car, and documented every step along the way, hoping to inspire and guide others to follow in his footsteps.

To control the Civic with a standard RC transmitter, [kenmacken] equipped it with a high torque servo, some linear actuators, and an electronic power steering module to handle all the mechanical aspects for acceleration, breaking, gear selection, and steering. At the center of it all is a regular, off-the-shelf Arduino Uno. His write-up features plenty of videos demonstrating each single component, and of course, him controlling the car — which you will also find after the break.

[kenmacken]’s ultimate goal is to eventually remove the radio control to build a fully autonomous self-driving car, and you can see some initial experimenting with GPS waypoint driving at the end of his tutorial. We have seen the same concept in a regular RC car before, and we have also seen it taken further using neural networks. Considering his background in computer vision, it will be interesting to find out which path [kenmacken] will go here in the future.

Continue reading “Go Big Or Go Home – This Arduino RC Car Can Take You There”

Skynet Will Have Bobcats

There are so many autonomous devices nowadays that can run Skynet Inside(TM) that it’s hard to keep track. But one was still missing: the versatile Bobcat. When we say “Bobcat”, we mean track loader — it’s just one of those things that the name and the brand stoke together so strongly that it’s hard to actually recall the technical name. A company by the name of Built Robotics is betting on autonomous track loaders as being a big part of the future of construction.

The tractor can navigate, excavate, and carry a 1,000 pound load with 1 cm precision using its LIDAR, specially designed to work with high-vibration, high-impact environment of construction excavation. Additionally, the lasers also allow the robot to measure the amount of material it has scooped up. But the precision does not come from the LIDAR alone. To position the robot, Built Robotics uses augmented GPS, which combines an on-site base station and GPS satellites to produce accurate location data.

It is supposed to be completely autonomous: given a location and holes to dig, it can plan and execute the work. It resembles a self-driving car, but the challenges are actually quite different. Cars are mean to drive around and reach a destination without touching anything. Like the CEO of Built Robotics says:

“If a car is changing the environment around it, then something’s gone really wrong.”

Continue reading “Skynet Will Have Bobcats”

Self-Driving RC Cars With TensorFlow; Raspberry Pi Or MacBook Onboard

You might think that you do not have what it takes to build a self-driving car, but you’re wrong. The mistake you’ve made is assuming that you’ll be controlling a two-ton death machine. Instead, you can give it a shot without the danger and on a relatively light budget. [Otavio] and [Will] got into self-driving vehicles using radio controlled (RC) cars.

[Otavio] slapped a MacBook Pro on an RC car to do the heavy lifting and called it carputer. The computer reads Hall effect sensor data from the motor to establish distance traveled (this can be used to calculate speed) and watches the stream from a webcam perched on the chassis. These two sources are fed into a neural network using TensorFlow. You train the system by driving the vehicle manually through the course a few times and then let it drive itself.

In the video interview below, you get a look at the car and [Otavio] gives commentary on how the system works as we see playback of a few races, including the Sparkfun 2016 Autonomous Vehicle Competition. I apologize for the poor audio, they lost the booth lottery and were next door to an incredibly noisy robot band (video proof) so we were basically shouting at each other. But I think you’ll agree it’s worth it to get a look at the races. Continue reading “Self-Driving RC Cars With TensorFlow; Raspberry Pi Or MacBook Onboard”

Hackaday Links Column Banner

Hackaday Links: May 28, 2017

Boeing and DARPA are building a spaceplane. Right now it’s only a press release and a few concept images, but it looks like this is an air-launched system kind of like a Tristar/Pegasus, only much higher and completely unmanned. It’s a ton and a half to low earth orbit, with a goal of 10 flights in 10 days.

Up in Albany? There’s a new hacker con happening in a few weeks. Anycon is a hacking, infosec, and cyber security conference happening June 16 & 17th in Albany, NY. The organizers of this con ([Chris], and his company Leet Cybersecurity) are loosely modeling this con after Derbycon. [Dave Kennedy] of TrustedSec will be attending as the keynote speaker.

GOOD NEWS! [Casey Neistat] is under investigation by the FAA. [Casey Neistat] is the YouTuber that flies drones right in the middle of the Hudson River corridor, and is a menace to general aviation around NYC.

This is neat. The Supplyframe Design Lab is the Hackaday Mothership right in the middle of Pasadena where we host our designers in residence, host a few meetups, and slowly fill every cubic inch of space with either dust or tools. The Design Lab just won a design award. You can check out the ‘design’ part of the Design Lab here, but keep in mind it will never be that clean ever again.

Here’s an interesting Twitter to follow. Alitronik is a curator of the weird and wonderful cheap crap that can be found on AliExpress. Need an Altera Cyclone dev board? Here you go. A desk-mountable OLED inspection microscope? Done. A seven dollar Tesla coil? Dude, you can totally fit this inside a hat.

[Drygol] had a nice old Commodore C16 with a broken TED chip. A shame, really. He did what anyone would do: put a C64 motherboard in the case for a fancy stealth upgrade.

Is the great crowdfunded 3D printer boom over? Some would say that ship sailed after dozens of 3D printer crowdfunding projects failed to deliver, or delivered very low-quality machines. These people were wrong. This Polaroid-branded 3D printing pen might not get funding. A year ago, this project would have been funded on day one. There would have been writeups in The Verge on how Polaroid is turning the corner after decades of wasted opportunities. Now, the Crowdfunded 3D printer boom is finally over.

The Hackaday crew was at the Bay Area Maker Faire last weekend and holy crap did we have a blast. Everyone came to the meetup on Saturday except for the fire marshall. The secret OSHPark bringahack on Sunday was even more impressive. We also saw a Donkey Car capable of driving around a track autonomously, but the team behind it didn’t have their work up on the Internet at the time.