reorganized code into separate files
This commit is contained in:
13
sensingModels/@fixedCardinalSensor/fixedCardinalSensor.m
Normal file
13
sensingModels/@fixedCardinalSensor/fixedCardinalSensor.m
Normal file
@@ -0,0 +1,13 @@
|
||||
classdef fixedCardinalSensor
|
||||
% Senses in the +/-x, +/- y directions at some specified fixed length
|
||||
properties
|
||||
alphaTilt = NaN;
|
||||
r = 0.1; % fixed sensing length
|
||||
end
|
||||
|
||||
methods (Access = public)
|
||||
[obj] = initialize(obj, r);
|
||||
[neighborValues, neighborPos] = sense(obj, agent, sensingObjective, domain, partitioning);
|
||||
[value] = sensorPerformance(obj, agentPos, agentPan, agentTilt, targetPos);
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user