Skip to content

Commit

Permalink
Use imu protobuf from pl_neon_recording
Browse files Browse the repository at this point in the history
  • Loading branch information
dourvaris committed Aug 2, 2024
1 parent df6aafa commit 96f0136
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 491 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ install_requires =
av
beaupy
numpy>=1.20
protobuf==3.18.0
pl-neon-recording
pydantic>=2
websockets
zeroconf
Expand Down
3 changes: 2 additions & 1 deletion src/pupil_labs/realtime_api/streaming/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import typing as T

from pupil_labs.neon_recording.stream.imu.imu_pb2 import ImuPacket

from .base import (
RTSPData,
RTSPRawStreamer,
Expand All @@ -14,7 +16,6 @@
receive_gaze_data,
)
from .imu import RTSPImuStreamer, receive_imu_data
from .imu_pb2 import ImuPacket
from .video import RTSPVideoFrameStreamer, VideoFrame, receive_video_frames

RTSPStreamerType = T.TypeVar("RTSPStreamerType", bound="RTSPRawStreamer")
Expand Down
3 changes: 2 additions & 1 deletion src/pupil_labs/realtime_api/streaming/imu.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
import logging
import typing as T

from pupil_labs.neon_recording.stream.imu.imu_pb2 import ImuPacket

from .base import RTSPRawStreamer
from .imu_pb2 import ImuPacket

logger = logging.getLogger(__name__)

Expand Down
Loading

0 comments on commit 96f0136

Please sign in to comment.