syntax = "proto3"; import "enums.proto"; import "ImageMessage.proto"; import "TrackCommandMessage.proto"; import "TrackCoordsMessage.proto"; import "TrackSettingsMessage.proto"; import "SwitchCameraMessage.proto"; import "SetCameraMessage.proto"; import "ConnectStatus.proto"; message Message { MessageType msgType = 1; oneof msg { ImageMessage image = 2; ToggleTrackMessage track_cmd = 3; TrackCoordsMessage track_coords = 4; TrackSettingsMessage track_settings = 5; SwitchCameraMessage cam_switch = 6; SetCameraMessage cam_set = 7; ConnectStatus cam_status = 8; } }