Skip to content

Commit

Permalink
Include capabilities in robotResponse
Browse files Browse the repository at this point in the history
  • Loading branch information
andchiind committed Apr 4, 2024
1 parent a26c56b commit ecdd82a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backend/api/Controllers/Models/RobotResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ public class RobotResponse

public string IsarUri { get; set; }

public IList<RobotCapabilitiesEnum>? RobotCapabilities { get; set; }

[JsonConstructor]
#nullable disable
public RobotResponse() { }
Expand All @@ -68,6 +70,7 @@ public RobotResponse(Robot robot)
Pose = robot.Pose;
CurrentMissionId = robot.CurrentMissionId;
IsarUri = robot.IsarUri;
RobotCapabilities = robot.RobotCapabilities;
}
}
}

0 comments on commit ecdd82a

Please sign in to comment.