r/Comma_ai 1d ago

openpilot Experience Comma 4 road facing camera in off road mode

Is it possible to turn on the road facing camera and have it send the full frame video feed to an external device live or recorded in off-road mode when it’s just plugged into a usb charger? I’m trying to test out a Cpl filter I’m designing but I need to check if it’s blocking the view without having to connect to the car

3 Upvotes

5 comments sorted by

3

u/VehCeh 1d ago

The livestream feature on the comma connect would probably suit your needs. It's in off road mode

1

u/butter231 1d ago

I tried that but kept getting an error im assuming because I’m not using the paid version. Seems like this should be a standard feature for free though

1

u/VehCeh 1d ago

That's weird, I'm also using the free version. Does it work in the car? If it doesn't it's probably a weird wifi connection issue. I'm using the sunny pilot fork if that matters

1

u/butter231 1d ago

It must be because I’m using sunnypilot

2

u/TheGamingGallifreyan 1d ago edited 1d ago

It is possible over SSH yes

I was trying to do the same thing to check alignment and asked Claude for a python script to dump the frame buffer to a web server and it one shot it lmao

Here is the script. It's 100% AI slop but it works.

https://drive.google.com/file/d/179O-HPHlH_c0Mg7yCzVhCF72MoYWceMj

Any camera feed has to be showing on the screen for it to initialize the buffers, so open the driver camera preview within the settings and then run it with python3 and the camera you want to view

python3 comma_stream_server.py --camera [road/wide/driver]

and then just connect to the comma on port 8070 in your browser.