From 1704c0f79817f962a41ca5fd125c6ca811e0fd14 Mon Sep 17 00:00:00 2001 From: Benjamin Perseghetti Date: Fri, 10 May 2024 20:44:08 -0400 Subject: [PATCH] Favor use of Entity over string. Signed-off-by: Benjamin Perseghetti --- proto/gz/msgs/cameratrack.proto | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/proto/gz/msgs/cameratrack.proto b/proto/gz/msgs/cameratrack.proto index 0dcf3a75..22cc2a55 100644 --- a/proto/gz/msgs/cameratrack.proto +++ b/proto/gz/msgs/cameratrack.proto @@ -24,6 +24,7 @@ option java_outer_classname = "CameraTrackProtos"; /// \interface CameraTrack /// \brief Message for camera tracking +import "gz/msgs/entity.proto"; import "gz/msgs/header.proto"; import "gz/msgs/vector3d.proto"; @@ -52,8 +53,8 @@ message CameraTrack /// \brief Optional header data Header header = 1; TrackMode track_mode = 2; - string follow_target = 3; - string track_target = 4; + Entity follow_target = 3; + Entity track_target = 4; Vector3d follow_offset = 5; Vector3d track_offset = 6; double follow_pgain = 7;