-
Notifications
You must be signed in to change notification settings - Fork 324
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
[JTC] Update trajectory documentation #714
[JTC] Update trajectory documentation #714
Conversation
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. |
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.
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. |
@@ -0,0 +1,132 @@ | |||
:github_url: https://github.com/ros-controls/ros2_controllers/blob/{REPOS_FILE_BRANCH}/joint_trajectory_controller/doc/parameters.rst | |||
|
|||
.. _parameters: |
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.
don't we generate this nwoadays?
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.
unfortunately not for all controllers, because nested parameters and maps are not supported yet :/
(cherry picked from commit fa72170) # Conflicts: # joint_trajectory_controller/doc/userdoc.rst
(cherry picked from commit fa72170)
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