Believe it or not, BlackBerry wants in on the driverless car arms race.

blackberry carFacebook/ Blackberry

BlackBerry showed off cars with autonomous functions at the Consumer Electronics Show, Bloomberg reported, which is taking place this week in Las Vegas. The software scans for obstacles, prevents lane drift, and communicates with nearby cars to prevent accidents.

Sound familiar? It's the same thing that Google, Tesla, Apple, Uber, and others are all doing. It's a crowded marketplace full of huge companies with massive warchests.

But let's not get ahead of ourselves, here: BlackBerry is a phone maker. An ailing phone maker, sure, but a phone maker no less. So, what gives? 

In April 2010 BlackBerry acquired QNX, an operating system for connected cars, to integrate its smartphones with car displays and audio systems. Just six short years later, and the QNX software is being used to show off the semi-autonomous cars at CES.

Given that BlackBerry's phone business has been on the decline for several years, the company is making an effort to figure out other potential business avenues.

"The automotive industry is at an inflection point, with autonomous and semiautonomous vehicles moving from theory to reality," BlackBerry wrote on its blog. "The new QNX Platform for [advanced driver assistance systems] is designed to help drive this industry transformation."

Or, put more simply, self-driving is a burgeoning market that BlackBerry's hoping to get in on.

The company is clinging to the idea that its QNX software division can boost revenues. The company is still working on making money off of its phones, stating that they "think we're close" to doing so at CES, Business Insider reports.

"We wish we could do it faster, obviously. I wish we could do it faster," BlackBerry CEO John Chen said at CES about turning the company around with its QNX platform.

Whether BlackBerry will actually be able to rival Tesla and Google, who are promising fully autonomous cars by 2020 (if not earlier), is dubious. It's a David versus Goliath-esque match up, with few people cheering for David. It remains to be seen what BlackBerry can do with autonomous driving, but the odds are certainly stacked against the Canadian phone maker.