Skip to content

Commit

Permalink
Favor use of Entity over string.
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Perseghetti <[email protected]>
  • Loading branch information
bperseghetti committed May 11, 2024
1 parent 7c60726 commit 1704c0f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions proto/gz/msgs/cameratrack.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 1704c0f

Please sign in to comment.