added sensor tilting and rf sensor sim test cases

This commit is contained in:
2026-05-03 14:32:53 -07:00
parent e950d43fc8
commit 0e39e0037d
13 changed files with 154 additions and 29 deletions
+16 -12
View File
@@ -1,19 +1,23 @@
function obj = initialize(obj, center, radius, height, tag, label)
function obj = initialize(obj, center, radius, height, tag, label, tilt, azimuth)
arguments (Input)
obj (1, 1) {mustBeA(obj, "cone")};
center (1, 3) double;
radius (1, 1) double;
height (1, 1) double;
tag (1, 1) REGION_TYPE = REGION_TYPE.INVALID;
label (1, 1) string = "";
obj (1, 1) {mustBeA(obj, "cone")};
center (1, 3) double;
radius (1, 1) double;
height (1, 1) double;
tag (1, 1) REGION_TYPE = REGION_TYPE.INVALID;
label (1, 1) string = "";
tilt (1, 1) double = 0;
azimuth (1, 1) double = 0;
end
arguments (Output)
obj (1, 1) {mustBeA(obj, "cone")};
end
obj.center = center;
obj.radius = radius;
obj.height = height;
obj.tag = tag;
obj.label = label;
obj.center = center;
obj.radius = radius;
obj.height = height;
obj.tag = tag;
obj.label = label;
obj.tilt = tilt;
obj.azimuth = azimuth;
end