Initializing domain, obstacles, objective, and agents

This commit is contained in:
2025-10-22 18:17:39 -07:00
parent 9743f1dac8
commit 5debb2b5f4
11 changed files with 558 additions and 0 deletions

18
REGION_TYPE.m Normal file
View File

@@ -0,0 +1,18 @@
classdef REGION_TYPE
properties
id
color
end
enumeration
INVALID (0, [255, 127, 255]); % default value
DOMAIN (1, [0, 0, 0]); % domain region
OBSTACLE (2, [255, 127, 127]); % obstacle region
COLLISION (3, [255, 255, 128]); % collision avoidance region
end
methods
function obj = REGION_TYPE(id, color)
obj.id = id;
obj.color = color./ 255;
end
end
end