Skip to content

Commit

Permalink
added checkInpuSpikesWithSimulator, fixed stopTorqueControlBalancingW…
Browse files Browse the repository at this point in the history
…ithSimu, fixed torqueControlBalancingWithSimu and exported to 2019b
  • Loading branch information
Gabriele committed Aug 6, 2021
1 parent 20ba6af commit 7bf78dc
Show file tree
Hide file tree
Showing 3 changed files with 636 additions and 734 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@

% If a joint hits the limits or an encoder spike is detected, print a
% warning message displaying the name of the joint
if Config.EMERGENCY_STOP_WITH_ENCODER_SPIKES && exist('res_check_spikes','var')
if exist('res_check_spikes','var')

if ~isempty(res_check_spikes.signals.values)

Expand All @@ -76,7 +76,7 @@
end
end
end
if Config.EMERGENCY_STOP_WITH_JOINTS_LIMITS && exist('res_check_range','var')
if exist('res_check_range','var')

if ~isempty(res_check_range.signals.values)

Expand Down
Loading

0 comments on commit 7bf78dc

Please sign in to comment.