Skip to content
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

Fixed period computation in test #693

Merged

Conversation

gwalck
Copy link
Contributor

@gwalck gwalck commented Jul 6, 2023

As discussed and confirmed in #686 there seem to be a wrong computation of the period (dt) passed to traj_controller->update in the UpdateController test helper function.

Fixing it does not make tests fail, but is, first necessary to avoid keeping wrong computations, and second for future up-coming improvement that relies on dt to update the state interface as well.

Copy link
Member

@bmagyar bmagyar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well-spotted!

@bmagyar
Copy link
Member

bmagyar commented Jul 6, 2023

Please run pre-commit run --all in the repo and fix the highlighted warnings for the CI to be happy too :)

@gwalck
Copy link
Contributor Author

gwalck commented Jul 6, 2023

Please run pre-commit run --all in the repo and fix the highlighted warnings for the CI to be happy too :)

Sorry, I know this, did it several times, and for the PR (which is only a single change compared to many I did), I did a cherry-pick and apparently this introduced a line. I forgot to re-run. I think I had a reason to not "install" the pre-commit but I forgot which one.

@bmagyar
Copy link
Member

bmagyar commented Jul 6, 2023

I find precommit on every commit to be slowing my work down and be generally annoying so I also never actually run pre-commit install :)

Copy link
Contributor

@christophfroehlich christophfroehlich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@bmagyar bmagyar added the backport-humble This label should be used by maintaines only! Label triggers PR backport to ROS2 humble. label Jul 7, 2023
@bmagyar bmagyar merged commit de7083e into ros-controls:jtc-features Jul 7, 2023
10 checks passed
@gwalck gwalck deleted the fix-delta-time branch July 12, 2023 12:20
@destogl
Copy link
Member

destogl commented Jul 17, 2023

@Mergifyio backport humble

@mergify
Copy link
Contributor

mergify bot commented Jul 17, 2023

backport humble

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Jul 17, 2023
christophfroehlich pushed a commit to christophfroehlich/ros2_controllers that referenced this pull request Jul 17, 2023
christophfroehlich pushed a commit to christophfroehlich/ros2_controllers that referenced this pull request Jul 17, 2023
bmagyar pushed a commit that referenced this pull request Jul 17, 2023
mergify bot pushed a commit that referenced this pull request Jul 17, 2023
mergify bot pushed a commit that referenced this pull request Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-humble This label should be used by maintaines only! Label triggers PR backport to ROS2 humble.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants