Skip to content

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented May 22, 2024

The time_from_start member for a JointTrajectoryPoint is monotonically increasing, not a delta time, so I think we can just use the last one in the vector; summing them up seems incorrect. I also moved the points empty check earlier because .back().time_from_start would seg fault with an empty points vector.


This is an automatic backport of pull request #1090 done by Mergify.

Copy link

codecov bot commented May 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (humble@25d8036). Learn more about missing BASE report.

Additional details and impacted files
@@            Coverage Diff            @@
##             humble    #1140   +/-   ##
=========================================
  Coverage          ?   86.81%           
=========================================
  Files             ?       86           
  Lines             ?     7486           
  Branches          ?      619           
=========================================
  Hits              ?     6499           
  Misses            ?      753           
  Partials          ?      234           
Flag Coverage Δ
unittests 86.81% <100.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
...ory_controller/src/joint_trajectory_controller.cpp 83.76% <100.00%> (ø)
...ory_controller/test/test_trajectory_controller.cpp 99.58% <100.00%> (ø)

@christophfroehlich christophfroehlich force-pushed the mergify/bp/humble/pr-1090 branch from bd25d5f to cb0e239 Compare May 22, 2024 19:33
@christophfroehlich christophfroehlich merged commit 11e8ad7 into humble May 22, 2024
@christophfroehlich christophfroehlich deleted the mergify/bp/humble/pr-1090 branch May 22, 2024 19:57
henrygerardmoore pushed a commit to henrygerardmoore/ros2_controllers that referenced this pull request Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants