Skip to content

Conversation

@jonmatthis
Copy link
Member

No description provided.

@philipqueen
Copy link
Contributor

Running __main__.py successfully opens the gui, but there are errors about qsize. It looks like there's still 8 instances of qsize() > 0. I'm happy to fix those (replacing with not ...queue.empty()), or you can fix, just let me know

@jonmatthis
Copy link
Member Author

Tweaked things so that the QT GUI runs and records and whatnot.

You can run that raw skellycam via python skellycam/__main__.py

This is the current best method we have for recording videos

# framerate_tracker = framerate_tracker,
# camera_id=camera_id)
tik2 = time.perf_counter_ns()
multi_frame_escape_shm.put_multi_frame_payload(mf_payload)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm noticing a lot of the work here is pulling from shm and putting into different shm.
Is it possible to use 1 shared memory instance instead of two and prevent creating an extra process? Or does the orchestration and frame rate tracking have to happen here?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also possible I'm not fully grokking how the frame escape shared memory is interacting with the websocket further on

jonmatthis and others added 30 commits October 29, 2025 09:09
# Conflicts:
#	skellycam-ui/src/components/camera-config-panel/CameraConfigPanel.tsx
#	skellycam-ui/src/components/camera-config-tree-view/CameraConfigTreeViewHeader.tsx
#	skellycam-ui/src/components/camera-views/CameraView.tsx
#	skellycam-ui/src/components/camera-views/CameraViewsGrid.tsx
#	skellycam-ui/src/components/framerate-viewer/FrameRateViewer.tsx
#	skellycam-ui/src/components/ui-components/BottomPanelContent.tsx
#	skellycam-ui/src/components/ui-components/LeftSidePanelContent.tsx
#	skellycam-ui/src/pages/CamerasPage.tsx
#	skellycam-ui/src/pages/WelcomePage.tsx
#	skellycam-ui/src/services/server/ServerContextProvider.tsx
#	skellycam-ui/src/services/server/server-helpers/frame-processor/binary-frame-parser.ts
#	skellycam-ui/src/services/server/server-helpers/server-urls.ts
#	skellycam-ui/src/store/slices/cameras/cameras-slice.ts
#	skellycam-ui/src/store/slices/cameras/cameras-thunks.ts
#	skellycam-ui/src/store/slices/cameras/cameras-types.ts
#	skellycam-ui/src/store/slices/framerate/framerate-selectors.ts
#	skellycam-ui/src/store/slices/framerate/framerate-slice.ts
#	skellycam/__main__.py
#	skellycam/api/http/cameras/camera_router.py
#	skellycam/api/middleware/add_middleware.py
#	skellycam/api/websocket/websocket_server.py
#	skellycam/app.py
#	skellycam/core/camera/camera_manager.py
#	skellycam/core/camera/camera_worker.py
#	skellycam/core/camera/opencv/opencv_camera_loop.py
#	skellycam/core/camera/opencv/opencv_helpers/setup_opencv_camera_loop.py
#	skellycam/core/camera_group/camera_group.py
#	skellycam/core/camera_group/camera_group_manager.py
#	skellycam/core/camera_group/camera_orchestrator.py
#	skellycam/core/camera_group/camera_status.py
#	skellycam/core/ipc/shared_memory/camera_group_shared_memory.py
#	skellycam/core/types/frontend_payload_bytearray.py
Merging new hot nonsense from jon/development to /development. 

Will try to add framerate next, merging working commit before futzing
with the guts

---------

Co-authored-by: philipqueen <queen.philip@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants