[JTC] Update trajectory documentation#714
Merged
bmagyar merged 9 commits intoros-controls:masterfrom Jul 31, 2023
Merged
Conversation
Comment on lines
+13
to
+14
| by the controller's setup of command interfaces and PID configuration. There is no sanity check and | ||
| missing fields in the sampled trajectory might cause segmentation faults. |
Member
Author
There was a problem hiding this comment.
Should we add sanity checks here?
I got a segfault using velocity command interface, interpolation_method=none giving position trajectory only.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #714 +/- ##
==========================================
+ Coverage 35.78% 36.53% +0.75%
==========================================
Files 189 7 -182
Lines 17570 676 -16894
Branches 11592 357 -11235
==========================================
- Hits 6287 247 -6040
+ Misses 994 134 -860
+ Partials 10289 295 -9994
Flags with carried forward coverage won't be shown. Click here to find out more. |
bmagyar
reviewed
Jul 31, 2023
| @@ -0,0 +1,132 @@ | |||
| :github_url: https://github.com/ros-controls/ros2_controllers/blob/{REPOS_FILE_BRANCH}/joint_trajectory_controller/doc/parameters.rst | |||
|
|
|||
| .. _parameters: | |||
Member
There was a problem hiding this comment.
don't we generate this nwoadays?
Member
Author
There was a problem hiding this comment.
unfortunately not for all controllers, because nested parameters and maps are not supported yet :/
bmagyar
approved these changes
Jul 31, 2023
mergify bot
pushed a commit
that referenced
this pull request
Jul 31, 2023
(cherry picked from commit fa72170) # Conflicts: # joint_trajectory_controller/doc/userdoc.rst
christophfroehlich
added a commit
to christophfroehlich/ros2_controllers
that referenced
this pull request
Aug 8, 2023
(cherry picked from commit fa72170)
bmagyar
pushed a commit
that referenced
this pull request
Aug 8, 2023
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Trajectory Representation
I added several plots to the docs, which should help to understand what is going on here with the different combinations of the given trajectory.
I moved this part as well as the parameters to a subpage, feel free to comment if you have a different suggestion for the doc structure.
For reference: I wrote a Python module using pybind to visualize the outputs of the Trajectory class with matplotlib, see here.
Trajectory Replacement
As of the outcome from #574 I re-added the trajectory replacement section discarded from #566
Bugfixes
Also fixes a broken link ros-controls/control.ros.org#131