-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dqrobotics:master' into dq-get-inertial-parameters
- Loading branch information
Showing
1 changed file
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,7 +39,7 @@ | |
% DQ_TaskspaceQuadraticProgrammingController. | ||
|
||
|
||
% (C) Copyright 2011-2019 DQ Robotics Developers | ||
% (C) Copyright 2011-2024 DQ Robotics Developers | ||
% | ||
% This file is part of DQ Robotics. | ||
% | ||
|
@@ -60,7 +60,14 @@ | |
% DQ Robotics website: dqrobotics.github.io | ||
% | ||
% Contributors to this file: | ||
% Bruno Vihena Adorno - [email protected] | ||
% 1. Bruno Vihena Adorno - [email protected] | ||
% - Responsible for the original implementation | ||
% 2. Frederico Fernandes Afonso Silva - [email protected] | ||
% - Modified the 'reset_stability_counter()' method to ensure | ||
% compatibility with its C++ version: | ||
% - The flag 'system_reached_stable_region_' is now reset to | ||
% 'false'. | ||
|
||
classdef DQ_KinematicController < handle | ||
properties (Access=protected) | ||
% Controlled primitive attached to the end-effector. It is | ||
|
@@ -134,8 +141,10 @@ | |
end | ||
|
||
function reset_stability_counter(obj) | ||
% Reset the stability counter to zero | ||
% Reset the stability counter to zero and the flag indicating that | ||
% the system has reached a stable region to false. | ||
obj.stability_counter = 0; | ||
obj.system_reached_stable_region_ = false; | ||
end | ||
|
||
function set_stability_counter_max(obj, max) | ||
|