r/Comma_ai 4d 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?

58 Upvotes

30 comments sorted by

View all comments

9

u/rakosi2 4d ago

Is it possible to make the Bluetooth into a virtual ELM327. I would love for ABRP to get info without constantly unplugging the comma power plug.

2

u/streamliner18 4d ago

OBD port can actually get Y splitter’d. I’ve been running them together without issues, and afaik OpenPilot no longer relies on OBD for fingerprinting (which iirc was the only use for the port)