codegen fixes, bug fixes, gets running on testbed environment
This commit is contained in:
@@ -1,20 +1,10 @@
|
||||
classdef REGION_TYPE < uint8
|
||||
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
|
||||
FOV (4, [255, 165, 0]); % field of view region
|
||||
COMMS (5, [0, 255, 0]); % comunications region
|
||||
INVALID (0) % default value
|
||||
DOMAIN (1) % domain region
|
||||
OBSTACLE (2) % obstacle region
|
||||
COLLISION (3) % collision avoidance region
|
||||
FOV (4) % field of view region
|
||||
COMMS (5) % comunications region
|
||||
end
|
||||
methods
|
||||
function obj = REGION_TYPE(id, color)
|
||||
obj.id = id;
|
||||
obj.color = color./ 255;
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user