Skip to content

Commit

Permalink
fix magic number
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedeltalima committed Aug 9, 2021
1 parent a1bc161 commit af20dc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dynSys/@MountainCarV0/optCtrl.m
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
% TODO: handle uMode (always min for Backwards Reachability with goal)

%% Optimal control
actions = zeros(141);
actions = zeros(size(xs{1}));
actions((lb < velocity) & (velocity < ub)) = 2;
uOpt = actions;

Expand Down

0 comments on commit af20dc6

Please sign in to comment.