dashcam: re-enable screen recorder, disable training data video
- Re-enable FrogPilot OMX screen recorder (H.264 MP4, 1440x720, 2Mbps) - Auto-start recording when car is on, auto-stop when off - Hide all recorder UI elements (invisible to driver) - Add ScreenRecorderDebug param for bench testing without car - Disable encoderd (camera .hevc files) — CAN/sensor logs still recorded - Raise deleter free space threshold from 5GB to 9GB - Deleter rotates oldest videos before log segments - Add CLAUDE.md project documentation Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -919,14 +919,14 @@ void AnnotatedCameraWidget::initializeFrogPilotWidgets() {
|
||||
animationFrameIndex = (animationFrameIndex + 1) % totalFrames;
|
||||
});
|
||||
|
||||
// Initialize the timer for the screen recorder
|
||||
// QTimer *record_timer = new QTimer(this);
|
||||
// connect(record_timer, &QTimer::timeout, this, [this]() {
|
||||
// if (recorder_btn) {
|
||||
// recorder_btn->update_screen();
|
||||
// }
|
||||
// });
|
||||
// record_timer->start(1000 / UI_FREQ);
|
||||
// CLEARPILOT: screen recorder timer — feeds frames to the OMX encoder
|
||||
QTimer *record_timer = new QTimer(this);
|
||||
connect(record_timer, &QTimer::timeout, this, [this]() {
|
||||
if (recorder_btn) {
|
||||
recorder_btn->update_screen();
|
||||
}
|
||||
});
|
||||
record_timer->start(1000 / UI_FREQ);
|
||||
}
|
||||
|
||||
void AnnotatedCameraWidget::updateFrogPilotWidgets() {
|
||||
@@ -1016,7 +1016,7 @@ void AnnotatedCameraWidget::paintFrogPilotWidgets(QPainter &p) {
|
||||
drawSLCConfirmation(p);
|
||||
}
|
||||
|
||||
// recorder_btn->setVisible(scene.screen_recorder && !mapOpen);
|
||||
// CLEARPILOT: screen recorder runs invisibly, no UI button shown
|
||||
recorder_btn->setVisible(false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user