Posts | Comments

Planet Arduino

Archive for the ‘Autopilot’ Category

A few years ago, Austin Blake built an electric go-kart that looked like a Tesla Model S. It had the plastic shell from a kid’s Radio Flyer ride-on vehicle, but on top of a custom go-kart frame with a powerful electric motor. That looked like a Tesla, but it didn’t really act like one because it lacked self-driving capability. Now Blake has finally addressed that oversight and given his Tesla go-kart an Arduino-based autopilot.

Tesla’s autopilot and full self-driving features don’t allow for 100% autonomous driving, but they get pretty close. Blake’s autopilot is much more limited, but still impressive. It can steer the go-kart around a known track while Blake handles the throttle and brakes. However, it can only follow the course it was trained on and can’t deviate from that without issues. It also can’t account for unusual events, like a pedestrian in the “road.”

Blake’s autopilot works using a machine learning model running on a laptop, which controls the steering and receives steering angle information from a pair of Arduino Nano boards. The laptop looks at the road through a trio of Logitech webcams and those were also used to gather the training images. A large motor from a power chair rotates the steering column and a potentiometer monitors that rotation, so the two work together like a servo motor.

Many times every second, the machine learning model looks at a frame from the video. Based on its training data, it determines what steering angle best matches the current view. It then turns the steering motor until it reaches that steering angle. The disadvantage of this technique is that it will always attempt to follow the same route as it was trained on and is therefore unable to navigate a new route.

The post Tiny Tesla go-kart gains self-driving autopilot appeared first on Arduino Blog.

Jul
10

737 autopilot, courtesy of an Arduino

arduino, arduino hacks, Autopilot, flight simulator x, FSX Comments Off on 737 autopilot, courtesy of an Arduino 

737

To start this off, no, we’re not looking at a piece of actual flight hardware. This is [Andrea Giudici]‘s project to tie real-world hardware into Flight Simulator X. It’s an autopilot for simulated aircraft, so those of you looking at flying a 737 sometime in the near future need not worry about computers flying your plane. Airbus passengers, though…

[Andrea] didn’t want to dig around with the clunky point-and-click interface in FSX, so he created a virtual autopilot with a 2×16 LCD display and an Arduino to interact and set the most common autopilot settings such as altitude, speed, heading, and engagement. The physical interface is just three tact switches and a pot, while the interface to FSX is a custom driver that turns the USB out of the Arduino into actual flight commands.

It’s not a 737 cockpit in a garage, but it’s still a wonderful alternative to poking around in a completely computer-bound interface.

Video of the ‘duino in action after the break.


Filed under: Arduino Hacks


  • Newsletter

    Sign up for the PlanetArduino Newsletter, which delivers the most popular articles via e-mail to your inbox every week. Just fill in the information below and submit.

  • Like Us on Facebook