Skip to content

Commit b1a9bb1

Browse files
committed
Add example documentation for spline example
1 parent be86c25 commit b1a9bb1

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

doc/examples.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,6 @@ may be running forever until manually stopped.
2222
examples/primary_pipeline_calibration
2323
examples/rtde_client
2424
examples/script_sender
25+
examples/spline_example
2526
examples/tool_contact_example
2627
examples/ur_driver

doc/examples/spline_example.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
:github_url: https://github.com/UniversalRobots/Universal_Robots_Client_Library/blob/master/doc/examples/spline_example.rst
2+
3+
.. _spline_example:
4+
5+
Spline Interpolation example
6+
============================
7+
8+
The URScript code inside `external_control.urscript
9+
<https://github.com/UniversalRobots/Universal_Robots_Client_Library/blob/master/resources/external_control.urscript>`_ implements trajectory execution based upon spline interpolation of a given sequence of waypoints.
10+
11+
Depending on the waypoint parametrization, either cubic splines (positions, velocities, times) or
12+
quintic splines (positions, velocities, accelerations, times) will be used.
13+
14+
The example in `spline_example.cpp <https://github.com/UniversalRobots/Universal_Robots_Client_Library/blob/master/examples/spline_example.cpp>`_ shows how to use the :ref:`trajectory_point_interface` to execute trajectories using this spline interpolation.

0 commit comments

Comments
 (0)