-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom PID error rate #525
Conversation
Signed-off-by: Nate Koenig <natekoenig@gmail.com>
Codecov Report
@@ Coverage Diff @@
## ign-math6 #525 +/- ##
==========================================
Coverage 99.68% 99.68%
==========================================
Files 73 73
Lines 6913 6918 +5
==========================================
+ Hits 6891 6896 +5
Misses 22 22
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a way to add a test case for the dt == 0 or invalid error (infinite) case, to make the codecov bot happy ? Otherwise the macro/comment to skip that section for codecov.
Signed-off-by: Nate Koenig <natekoenig@gmail.com>
@adityapande-1995 , I added a test. |
/// to the object being controlled. | ||
/// \return the command value | ||
public: double Update(const double _error, | ||
double _errorRate, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: the mix of const double
and double
looks funny. Can we make them both one or the other?
* Custom PID error rate Signed-off-by: Nate Koenig <natekoenig@gmail.com> * added test Signed-off-by: Nate Koenig <natekoenig@gmail.com> --------- Signed-off-by: Nate Koenig <natekoenig@gmail.com>
… models (#486) * Class ignition::math::MecanumDriveOdometryPrivate to handle Mecanum wheels odometry Signed-off-by: danilo_gsch <danilo_gsch@hotmail.com> * Update include/ignition/math/MecanumDriveOdometry.hh Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Signed-off-by: danilo_gsch <danilo_gsch@hotmail.com> * Update include/ignition/math/MecanumDriveOdometry.hh Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Signed-off-by: danilo_gsch <danilo_gsch@hotmail.com> * Update include/ignition/math/MecanumDriveOdometry.hh Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Signed-off-by: danilo_gsch <danilo_gsch@hotmail.com> * Update src/MecanumDriveOdometry.cc Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Signed-off-by: danilo_gsch <danilo_gsch@hotmail.com> * MecanumDrive doc Signed-off-by: danilo_gsch <danilo_gsch@hotmail.com> * MecanumDrive doc Signed-off-by: danilo_gsch <danilo_gsch@hotmail.com> * Update MecanumDriveOdometry.cc line length corrections * Update include/ignition/math/MecanumDriveOdometry.hh * CI workflow: use checkout v3 (#519) Version v2 of the actions/checkout workflow is deprecated, so switch to v3. Part of gazebo-tooling/release-tools#862. Signed-off-by: Steve Peters <scpeters@openrobotics.org> * Rename COPYING to LICENSE (#521) The LICENSE file contained a copy of the stanze used at the top of source code files, while the actual license was in the COPYING file. So remove the stanza and put the actual Apache 2.0 license text in LICENSE. Signed-off-by: Steve Peters <scpeters@openrobotics.org> * Custom PID error rate (#525) * Custom PID error rate Signed-off-by: Nate Koenig <natekoenig@gmail.com> * added test Signed-off-by: Nate Koenig <natekoenig@gmail.com> --------- Signed-off-by: Nate Koenig <natekoenig@gmail.com> * Add option to skip pybind11 and SWIG (#480) Signed-off-by: Michael Carroll <michael@openrobotics.org> * Disable pybind11 on windows by default (#529) Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org> * 🎈 6.14.0 (#531) Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org> * Lint Signed-off-by: Michael Carroll <mjcarroll@intrinsic.ai> * Port changes and tests from muttistefano Co-authored-by: muttistefano <mutti.stefano.jp@gmail.com> Signed-off-by: Michael Carroll <mjcarroll@intrinsic.ai> * Add accessor and TODO note Signed-off-by: Michael Carroll <mjcarroll@intrinsic.ai> --------- Signed-off-by: danilo_gsch <danilo_gsch@hotmail.com> Signed-off-by: Steve Peters <scpeters@openrobotics.org> Signed-off-by: Nate Koenig <natekoenig@gmail.com> Signed-off-by: Michael Carroll <michael@openrobotics.org> Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org> Signed-off-by: Michael Carroll <mjcarroll@intrinsic.ai> Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Co-authored-by: Steve Peters <scpeters@openrobotics.org> Co-authored-by: Nate Koenig <natekoenig@gmail.com> Co-authored-by: Michael Carroll <michael@openrobotics.org> Co-authored-by: Addisu Z. Taddese <addisu@openrobotics.org> Co-authored-by: Michael Carroll <mjcarroll@intrinsic.ai> Co-authored-by: muttistefano <mutti.stefano.jp@gmail.com>
🎉 New feature
Summary
Adds the ability to specify the error rate for
PID::Update
.Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-by
messages.