Skip to content

Commit 57b4693

Browse files
committed
Remove until node from docs and cmake
1 parent a5a3ed6 commit 57b4693

File tree

4 files changed

+1
-42
lines changed

4 files changed

+1
-42
lines changed

ur_controllers/CMakeLists.txt

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ find_package(generate_parameter_library REQUIRED)
2525
find_package(trajectory_msgs REQUIRED)
2626
find_package(control_msgs REQUIRED)
2727
find_package(action_msgs REQUIRED)
28-
find_package(rclcpp REQUIRED)
2928

3029

3130
set(THIS_PACKAGE_INCLUDE_DEPENDS
@@ -48,7 +47,6 @@ set(THIS_PACKAGE_INCLUDE_DEPENDS
4847
control_msgs
4948
trajectory_msgs
5049
action_msgs
51-
rclcpp
5250
)
5351

5452
include_directories(include)
@@ -117,14 +115,6 @@ target_link_libraries(${PROJECT_NAME}
117115
ur_configuration_controller_parameters
118116
)
119117

120-
#
121-
# trajectory_until_node
122-
#
123-
add_executable(trajectory_until_node
124-
src/trajectory_until_node.cpp
125-
)
126-
ament_target_dependencies(trajectory_until_node ${${PROJECT_NAME}_EXPORTED_TARGETS} ${THIS_PACKAGE_INCLUDE_DEPENDS})
127-
128118
ament_target_dependencies(${PROJECT_NAME}
129119
${THIS_PACKAGE_INCLUDE_DEPENDS}
130120
)
@@ -135,11 +125,6 @@ target_compile_options(${PROJECT_NAME} PRIVATE -Wpedantic -Werror=return-type)
135125
target_compile_definitions(${PROJECT_NAME} PUBLIC "PLUGINLIB__DISABLE_BOOST_FUNCTIONS")
136126
pluginlib_export_plugin_description_file(controller_interface controller_plugins.xml)
137127

138-
install(
139-
TARGETS trajectory_until_node
140-
DESTINATION lib/${PROJECT_NAME}
141-
)
142-
143128
install(TARGETS ${PROJECT_NAME}
144129
ARCHIVE DESTINATION lib
145130
LIBRARY DESTINATION lib

ur_controllers/controller_plugins.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
</class>
3737
<class name="ur_controllers/ToolContactController" type="ur_controllers::ToolContactController" base_class_type="controller_interface::ControllerInterface">
3838
<description>
39-
Chainable controller to use the tool contact functionality of the robot.
39+
Controller to use the tool contact functionality of the robot.
4040
</description>
4141
</class>
4242
</library>

ur_controllers/doc/index.rst

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ robot family. Currently this contains:
1212
* A **io_and_status_controller** that allows setting I/O ports, controlling some UR-specific
1313
functionality and publishes status information about the robot.
1414
* A **tool_contact_controller** that exposes an action to enable the tool contact function on the robot.
15-
* A **trajectory_until_node**. This is not a controller in itself, but allows for executing a trajectory with any of the motion controllers while having tool contact enabled.
1615

1716
About this package
1817
------------------
@@ -416,27 +415,3 @@ The action can be called from the command line using the following command, when
416415
.. code-block::
417416
418417
ros2 action send_goal /tool_contact_controller/enable_tool_contact ur_msgs/action/ToolContact
419-
420-
.. _trajectory_until_node:
421-
422-
ur_controllers/TrajectoryUntilNode
423-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
424-
This is not a controller in itself, but it allows the user to execute a trajectory with tool contact enabled without having to call 2 actions at the same time.
425-
This means that the trajectory will execute until either the trajectory is finished or tool contact has been triggered.
426-
Both scenarios will result in the trajectory being reported as successful.
427-
428-
Action interface / usage
429-
""""""""""""""""""""""""
430-
The node provides an action to execute a trajectory with tool contact enabled. For the node to accept action goals, both the motion controller and the tool contact controller need to be in ``active`` state.
431-
432-
* ``/trajectory_until_node/execute [ur_msgs/action/TrajectoryUntil]``
433-
434-
The action contains all the same fields as the ordinary `FollowJointTrajectory <http://docs.ros.org/en/noetic/api/control_msgs/html/action/FollowJointTrajectory.html>`_ action, but has two additional fields.
435-
One in the goal section called ``until_type``, which is used to choose between different conditions that can stop the trajectory. Currently only tool contact is available.
436-
The result section contains the other new field called ``until_condition_result``, which reports whether the chosen condition was triggered or not, and also error codes if something went wrong with the controller responsible for the until condition.
437-
438-
Implementation details
439-
""""""""""""""""""""""
440-
Upon instantiation of the node, the internal trajectory action client will connect to an action named ``motion_controller/follow_joint_trajectory``.
441-
This action does not exist, but upon launch of the driver, the node is remapped to connect to the ``initial_joint_controller``, default is ``scaled_joint_trajectory_controller``.
442-
If you wish to use the node with another motion controller use the launch argument ``initial_joint_controller:=<your_motion_controller>`` when launching the driver.

ur_controllers/package.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
<depend>control_msgs</depend>
4444
<depend>trajectory_msgs</depend>
4545
<depend>action_msgs</depend>
46-
<depend>rclcpp_components</depend>
4746

4847
<test_depend>controller_manager</test_depend>
4948
<test_depend>ros2_control_test_assets</test_depend>

0 commit comments

Comments
 (0)