Update analysis
This commit is contained in:
		@@ -12,9 +12,9 @@ function [ref] = generateXYZTrajectory(args)
 | 
			
		||||
arguments
 | 
			
		||||
    args.points double {mustBeNumeric} = zeros(2, 3) % [m]
 | 
			
		||||
 | 
			
		||||
    args.ti    (1,1) double {mustBeNumeric, mustBePositive} = 1 % Time to go to first point and after last point [s]
 | 
			
		||||
    args.tw    (1,1) double {mustBeNumeric, mustBePositive} = 0.5 % Time wait between each point [s]
 | 
			
		||||
    args.tm    (1,1) double {mustBeNumeric, mustBePositive} = 1 % Motion time between points [s]
 | 
			
		||||
    args.ti    (1,1) double {mustBeNumeric, mustBeNonnegative} = 1 % Time to go to first point and after last point [s]
 | 
			
		||||
    args.tw    (1,1) double {mustBeNumeric, mustBeNonnegative} = 0.5 % Time wait between each point [s]
 | 
			
		||||
    args.tm    (1,1) double {mustBeNumeric, mustBeNonnegative} = 1 % Motion time between points [s]
 | 
			
		||||
 | 
			
		||||
    args.Ts    (1,1) double {mustBeNumeric, mustBePositive} = 1e-3 % Sampling Time [s]
 | 
			
		||||
end
 | 
			
		||||
 
 | 
			
		||||
@@ -10,17 +10,17 @@ function [ref] = generateYZScanTrajectory(args)
 | 
			
		||||
%    - ref - Reference Signal
 | 
			
		||||
 | 
			
		||||
arguments
 | 
			
		||||
    args.y_tot (1,1) double {mustBeNumeric} = 10e-6 % [m]
 | 
			
		||||
    args.z_tot (1,1) double {mustBeNumeric} = 10e-6 % [m]
 | 
			
		||||
    args.y_tot (1,1) double {mustBeNumeric, mustBePositive} = 10e-6 % [m]
 | 
			
		||||
    args.z_tot (1,1) double {mustBeNumeric, mustBePositive} = 10e-6 % [m]
 | 
			
		||||
 | 
			
		||||
    args.n     (1,1) double {mustBeInteger, mustBePositive} = 10 % [-]
 | 
			
		||||
 | 
			
		||||
    args.Ts    (1,1) double {mustBeNumeric, mustBePositive} = 1e-4 % [s]
 | 
			
		||||
 | 
			
		||||
    args.ti    (1,1) double {mustBeNumeric, mustBePositive} = 1 % [s]
 | 
			
		||||
    args.tw    (1,1) double {mustBeNumeric, mustBePositive} = 1 % [s]
 | 
			
		||||
    args.ty    (1,1) double {mustBeNumeric, mustBePositive} = 1 % [s]
 | 
			
		||||
    args.tz    (1,1) double {mustBeNumeric, mustBePositive} = 1 % [s]
 | 
			
		||||
    args.ti    (1,1) double {mustBeNumeric, mustBeNonnegative} = 1 % [s]
 | 
			
		||||
    args.tw    (1,1) double {mustBeNumeric, mustBeNonnegative} = 1 % [s]
 | 
			
		||||
    args.ty    (1,1) double {mustBeNumeric, mustBeNonnegative} = 1 % [s]
 | 
			
		||||
    args.tz    (1,1) double {mustBeNumeric, mustBeNonnegative} = 1 % [s]
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
time_i = 0:args.Ts:args.ti;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user