mirror of
https://github.com/ROB-535-F21-Team-3/Control-Project.git
synced 2025-08-19 01:02:45 +00:00
Add Gitignore & Garbage Submission for Part 2
- Add gitignore for matlab's "asv" files - Provide garbage inputs for qualifying session submission of part 2
This commit is contained in:
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
.DS_Store
|
||||
.idea
|
||||
*.log
|
||||
tmp/
|
||||
*.asv
|
@@ -1,4 +1,4 @@
|
||||
function [Utemp, FLAG_terminate] = ROB535_ControlProject_part2_Team3(TestTrack,Xobs_seen,curr_state);
|
||||
function [Utemp, FLAG_terminate] = ROB535_ControlProject_part2_Team3(TestTrack,Xobs_seen,curr_state)
|
||||
% [Utemp, FLAG_terminate] = ROB535_ControlProject_part2_Team3(TestTrack,Xobs_seen,curr_state)
|
||||
%
|
||||
% This script generates control inputs that avoid randomly generated
|
||||
@@ -34,5 +34,8 @@ function [Utemp, FLAG_terminate] = ROB535_ControlProject_part2_Team3(TestTrack,X
|
||||
%
|
||||
% Written by: Sravan Balaji, Xenia Demenchuk, and Peter Pongsachai
|
||||
% Created: 30 Nov 2021
|
||||
Utemp = NaN(51,2);
|
||||
Utemp(:,1) = 0 .* ones(51,1); % delta
|
||||
Utemp(:,2) = 5000 .* ones(51,1); % F_x
|
||||
FLAG_terminate = rand(1,1) > 0.9;
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user