Parallel parking is hard. Many of us avoid parallel parking if we can help it, and yet there are a select few that seem to be able to parallel park with ease. How do they do it? Over the past three years, I’ve been forced to parallel park a lot since our apartment doesn’t have enough parking in the lot. All the practice has helped me get a lot more comfortable about parallel parking, but it has also got me thinking. Parallel parking is an iterative process; somehow by going backwards and forwards and turning the steering wheel back and forth you can shift your car into a spot. I realized there must be an algorithm, a simple set of rules, that will always move the car smoothly into the spot. So I figured out a way to do it, and want to share it with you today. Maybe knowing the rules will help our parallel parking!

Shift car into spot by shifting back and forth according to an algorithm.

The basic problem with parallel parking is to shift your car into the spot, as shown in the sketch above. It would be easy if the front and back wheels could rotate 90 degrees, but with a normal car you have to deal with only the front wheels able to turn. Here is an algorithm I found for parallel parking:

  1. Start with car lined up with front of spot (not optimal but easier to understand the algorithm).
  2. Turn wheel right and reverse about half the length of the spot.
  3. Turn wheel left and reverse to the end of the spot. The car should be straightened out.
  4. Turn wheel right and go forward about half the length of the spot.
  5. Turn wheel left and go forward to end.
  6. Repeat until car is close enough to curb.
The car tires draw out concentric circles as the car turns.

As I was figuring out how to sketch the process of a car parallel parking, I actually learned something about car steering. It turns out that the front wheels do not point exactly in the same direction during a turn. Instead they follow the Ackermann condition so that every wheel draws out a circle with the same center point, as shown in the sketch above. With this insight, I was able to trace out the motion of the car as it parallel parks. The images below break down the process:

  • Car about to park in spot
    Line up car with open spot.

So if you trust my drawings, following these steps solves the parallel parking problem. Give it a shot! It is a little unnatural at first following a series of steps, but is nice once you get the hang of it. I like knowing that I can always shift the car where I want it just by going forwards and backwards.

To really learn something, I think it’s important to mess around and try things. I played around with making the turns uneven and found that this can cause the car to be crooked or straighten it out after I make a mistake. The slides below explore how this works.

  • The tracks of the back tires make nice symmetric curves if you follow this parallel parking algorithm.

Thanks for reading my thoughts into how parallel parking works. I hope it was helpful and interesting. Part of my inspiration was a nice article I read about visualizing algorithms. Please let me know if you have and questions or comments!

 

I didn’t know how RSS worked for a long time. It’s too bad because RSS is a great way to follow websites that you like. It stands for Real Simple Syndication (see wiki article for more info) and is a way for websites to create feeds of their content that users can subscribe to. This is one of those cases where a little barrier can be enough to block adoption. I wanted to share with you how RSS works in case you also are wondering how those little broadcast symbols work.

Following a website or blog on social media is pretty straightforward; you just click on the button for Facebook/Twitter/Instagram/etc. You can achieve the same thing with RSS, but you need to know a couple things first. If you just click on the button you might be asked to open a text file with a bunch of code in it.

rssText

That’s what I did, which is wrong. That code is actually a computer readable version of the latest posts from the website. Instead, you copy the link (right click and press “Copy link location”), and then you subscribe to that link in your RSS reader. But wait, I also had no idea what an RSS reader was. It turns out an RSS reader is just an app that automatically reads a website’s RSS feed and pulls the latest posts and updates from the websites that you follow. I’m using Inoreader right now which allows me to follow several blogs all in one place. Here’s a screenshot from my phone:

Screenshot_20190811-162619_Inoreader

If you want to start following websites outside of social media (and without spamming your email inbox) then sign up for a RSS reader. There are a bunch of options with readers, Feedly is a popular one. Many are free and you always can switch later if you realize that another has features that you like.

I’ll end by noting that you may already be using RSS without knowing it. iTunes or Spotify (or wherever you get your podcasts) are essentially readers for podcasts that are broadcasted using RSS! So if you want to create a podcast you just need to create an RSS feed and connect it to iTunes (see this tutorial for example).

I’m planning on looking into how I can use RSS more on this site. I hope you enjoy RSS too. May it help you break free of the social media silos and find the content you like.