basic implementation of client/server for AERPAW, whole lot of mess included
This commit is contained in:
22
aerpaw/@uav/uav.m
Normal file
22
aerpaw/@uav/uav.m
Normal file
@@ -0,0 +1,22 @@
|
||||
classdef uav
|
||||
properties
|
||||
label = "";
|
||||
|
||||
% Communications
|
||||
port;
|
||||
timeout;
|
||||
|
||||
% State
|
||||
opMode = OPMODE.INVALID;
|
||||
pos = NaN(1, 3);
|
||||
|
||||
% Commanding (not for codegen)
|
||||
commandOpMode = OPMODE.INVALID;
|
||||
commandPos = NaN(1, 3);
|
||||
end
|
||||
|
||||
methods (Access = public)
|
||||
obj = initialize(obj, port, timeout, label)
|
||||
obj = onYourMarks(obj);
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user