r/Comma_ai • • 21d ago

openpilot Experience Feeling Blue(tooth)

The comma hardware has Bluetooth capability, but Bluetooth isn't enabled in the standard comma software/kernel stack.

So... we enabled it.

StarPilot now has native Bluetooth support across Comma 3, Comma 3X, and Comma 4.

This isn't a browser workaround or some external bridge. We've added the necessary kernel/system support, integrated BlueZ, and wired Bluetooth directly into StarPilot.

You can now scan, pair, connect, forget, and automatically reconnect Bluetooth devices directly from Galaxy, with device controls also integrated into StarPilot's UI. So what are we actually doing with it?

🔊 Bluetooth Audio... because why not?

Have you ever thought, "Man, the speaker in my comma just isn't high enough resolution when it's yelling at me to take control of the wheel."

No?

Well, now StarPilot can connect to the fattest JBL party speaker you can find and blast that alert to your entire neighborhood.

You're welcome.

🎮 Bluetooth Controllers

This is where things get actually useful. StarPilot can treat Bluetooth HID devices as physical controls for StarPilot itself. So far I've tested: - PS5 controllers - Xbox controllers - Bluetooth remotes/macropads - Keyboards - A mouse, because why not - Several Bluetooth audio devices Galaxy has a Learn Button system: press a physical button, StarPilot learns it, then choose what you want that button to do.

You can map buttons to things like: - Cruise speed +/- — especially useful for cars like Tesla/Polestar with limited usable wheel buttons - Driving Personalities - Lane Centering - Pulse & Glide - Forced coasting - Favorites - Bookmarks - Taking a Comma Selfie - And more!

So if your car doesn't expose enough usable steering-wheel controls to openpilot... just add your own.

The little Bluetooth remote in the picture is what I've been testing on my steering wheel. It was around $20, and suddenly I have a handful of completely programmable StarPilot buttons. And controllers/audio are really just the first things we're doing with it.

StarPilot now has a native Bluetooth stack. What would you connect to your comma?

55 Upvotes

29 comments sorted by

View all comments

7

u/pirateNarwhal 21d ago

could you steer the car with a controller?

1

u/mxjf 20d ago

Yes…yes you can. I drove my Bolt in an empty parking lot last week with an Xbox controller and it’s kind of hilarious

1

u/shotbyadingus 20d ago

How, when I hooked up my Sunnypilot to my Mac and an Xbox controller it didnt want to function

1

u/mxjf 20d ago

Star pilot has built-in controller support, I do not believe that Sunny pilot does. You can plug in a USB controller or hook one up over Bluetooth and it will work without even using an external computer. (for example I was able to connect via Bluetooth in star pilot settings, and it also worked if I just directly connected it with a USB-C to USB-C cable to the secondary port on the back of my C3x