diff --git a/src/components/panels/MosaicDashboard.tsx b/src/components/panels/MosaicDashboard.tsx index add4ce1..c68405b 100644 --- a/src/components/panels/MosaicDashboard.tsx +++ b/src/components/panels/MosaicDashboard.tsx @@ -28,6 +28,7 @@ import WebRTCClient from './WebRTCClient'; import TimerPanel from './TimerPanel'; import HeadlightControlPanel from './HeadlightControlPanel'; import MorseTransmissionPanel from './MorseTransmissionPanel'; +import RtpStats from './RtpStats'; import TopicEchoPanel from './TopicEchoPanel'; import { ROVER_IP } from '@/constants'; @@ -37,6 +38,7 @@ type TileType = | 'rosMonitor' | 'waypointList' | 'videoControls' + | 'rtpStats' | 'gasSensor' | 'orientationDisplay' | 'goalSetter' @@ -62,6 +64,7 @@ const TILE_DISPLAY_NAMES: Record = { rosMonitor: 'System Telemetry', waypointList: 'Waypoint List', videoControls: 'Video Stream', + rtpStats: 'RTP Statistics', gasSensor: 'Science', orientationDisplay: 'Rover Orientation', goalSetter: 'Nav2', @@ -86,6 +89,7 @@ const ALL_TILE_TYPES: TileType[] = [ 'networkHealthMonitor', 'orientationDisplay', 'videoControls', + 'rtpStats', 'waypointList', 'gasSensor', 'goalSetter', @@ -373,6 +377,13 @@ const MosaicDashboard: React.FC = () => { ); + + case 'rtpStats': + return ( + + + + ); case 'rosMonitor': return ( diff --git a/src/components/RtpStats.tsx b/src/components/panels/RtpStats.tsx similarity index 99% rename from src/components/RtpStats.tsx rename to src/components/panels/RtpStats.tsx index 368f3d4..810c1f1 100644 --- a/src/components/RtpStats.tsx +++ b/src/components/panels/RtpStats.tsx @@ -82,7 +82,7 @@ const RtpStats: React.FC = () => { }} >

- SRT Stats: + RTP Stats:

{ newPreset(name, preset)} />
-