Skip to content

Commit 8cbbe81

Browse files
committed
copiato dall'altimo commit del git ufficiale
1 parent f99ba18 commit 8cbbe81

File tree

104 files changed

+9704
-2720
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+9704
-2720
lines changed

CHANGELOG.rst

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,103 @@
22
Changelog for package ur_client_library
33
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
44

5+
1.5.0 (2024-11-25)
6+
------------------
7+
* Adapt RTDE output recipe based on robot response (`#221 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/221>`_)
8+
* CI: Fix flaky example runs (`#223 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/223>`_)
9+
* Giving force mode parameters as arguments when calling startForceMode (`#208 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/208>`_)
10+
* Add more arguments to start_ursim.sh (`#220 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/220>`_)
11+
* Tcp socket improvements (`#222 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/222>`_)
12+
* Added family photo to readme (`#219 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/219>`_)
13+
* Add missing algorithm include (`#214 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/214>`_)
14+
* Added missing RTDE data packages and fixed incorrect names (`#213 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/213>`_)
15+
* Contributors: Felix Exner, Remi Siffert, URJala
16+
17+
1.4.0 (2024-09-10)
18+
------------------
19+
* Ensure that the targets are reachable within the robots limits (`#184 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/184>`_)
20+
* Analog domain (`#211 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/211>`_)
21+
* Fix clang compilation error (`#210 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/210>`_)
22+
* Moved reset of speed slider to correct teardown function, so that it … (`#206 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/206>`_)
23+
…resets between each test.
24+
* [doc] Fix syntax in example.rst (`#207 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/207>`_)
25+
* [doc] Migrate documentation to sphinx (`#95 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/95>`_)
26+
* Contributors: Felix Exner, Mads Holm Peters, Remi Siffert, URJala
27+
28+
1.3.7 (2024-06-03)
29+
------------------
30+
* [ci] Update CI
31+
* Run downstream tests for ICI
32+
* Correctly name jobs
33+
* Test Jazzy driver
34+
* [start_ursim] Add program directory at correct location also when no model is provided
35+
* [start_ursim] Always check ursim version for compatibility
36+
* [start_ursim] Use a program folder per model
37+
* [ci] Update distros for prerelease test
38+
* Contributors: Felix Exner, Vincenzo Di Pentima
39+
40+
1.3.6 (2024-04-04)
41+
------------------
42+
* Changed spline interpolation to use the last commanded joint velocity… (`#195 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/195>`_)
43+
* Contributors: Mads Holm Peters, Rune Søe-Knudsen
44+
45+
1.3.5 (2024-02-23)
46+
------------------
47+
* Add support for UR30 in start_ursim.sh (`#193 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/193>`_)
48+
* Add header guard to datatypes.h (`#189 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/pull/189>`_)
49+
* Remove duplicated entry in clang-format file (`#188 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/pull/188>`_)
50+
* Wait after docker kill to prevent name conflicts (`#187 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/187>`_)
51+
* Contributors: Felix Exner, Robert Wilbrandt
52+
53+
1.3.4 (2023-09-22)
54+
------------------
55+
* Make depreaction warning for keepalive_counter a warning instead of error (`#182 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/182>`_)
56+
* Added watchdog configuration for the reverse socket (`#178 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/178>`_)
57+
* Add support for ur20 in start_ursim script (`#179 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/179>`_)
58+
* Use pre-commit for clang-format (`#175 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/175>`_)
59+
* Make tcp_server retry binding the socket (`#176 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/176>`_)
60+
* Contributors: Felix Exner, Mads Holm Peters
61+
62+
1.3.3 (2023-09-05)
63+
------------------
64+
* Add support for setting socket max num tries and reconnect timeout (`#172 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/172>`_)
65+
* Unify socket open (`#174 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/174>`_)
66+
* Added handling of spline interpolation with end point velocities (`#169 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/169>`_)
67+
* Throws exception if the URScript file doesn't exists (`#173 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/173>`_)
68+
* Added check to ensure receive timeout isn't overwritten (`#171 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/171>`_)
69+
* Added RTDEClient constructor with vector recipes (`#143 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/143>`_)
70+
* Only warn if system is not setup for FIFO scheduling (`#170 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/170>`_)
71+
* Ensuring that the Timestamp is always in the output recipe (`#168 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/168>`_)
72+
* CI: Add Iron to CI tests (`#167 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/167>`_)
73+
* Add issue templates for bugs and features (`#166 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/166>`_)
74+
* Updated license (`#164 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/164>`_)
75+
* Bugfixes for spline interpolation (`#162 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/162>`_)
76+
* Add separate rounding in the conversion from float to int32
77+
* Add more debug printout for splines
78+
* Add Copying flight reports if CI fails
79+
* Update ursim mininum version in start_ursim.sh
80+
* Fix the prerelease ci for Melodic (`#163 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/163>`_)
81+
* Contributors: Dag-Are Trydal, Felix Exner, Felix Exner (fexner), Mads Holm Peters, Michael Eriksen, RobertWilbrandt, Rune Søe-Knudsen, urmahp, urrsk
82+
83+
1.3.2 (2023-07-13)
84+
------------------
85+
* Add a cmake option to activate address sanitizers (`#146 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/146>`_)
86+
* Install start ursim (`#155 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/155>`_)
87+
* Add spline interpolation on robot (`#151 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/151>`_)
88+
* Add codecov.yml to exclude test and examples folders (`#152 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/152>`_)
89+
* Make URSim log files available as artifacts also for the CI-industrial (`#153 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/153>`_)
90+
* Remove Foxy from CI
91+
* Add a script to run the examples instead of run-parts
92+
* Add SaveLog command to the Dashboard client
93+
* Make URSim log files available as artifacts
94+
* Specifically set RTDE pipeline producer to FIFO scheduling (`#139 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/139>`_)
95+
* Added support for force_mode, freedrive and tool contact (`#138 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/138>`_)
96+
* Docs: Update link to ros_industrial_cmake_boilerplate
97+
* Added tests for the comm classes (`#129 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/129>`_)
98+
* Changed num_retries from static to an unsigned int (`#136 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/136>`_)
99+
* Build downstream humble version from humble branch (`#132 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/132>`_)
100+
* Contributors: Felix Exner, Mads Holm Peters, Rune Søe-Knudsen, Robert Wilbrandt
101+
5102
1.3.1 (2022-11-30)
6103
------------------
7104
* CI: Add a prerelease check that calls `bloom-generate` (`#134 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/134>`_)

CMakeLists.txt

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ if(NOT CMAKE_CONFIGURATION_TYPES AND NOT CMAKE_BUILD_TYPE)
88
set(CMAKE_BUILD_TYPE RelWithDebInfo)
99
endif()
1010

11+
option(WITH_ASAN "Compile with address sanitizer support" OFF)
1112

1213
##
1314
## Check C++11 support / enable global pedantic and Wall
@@ -42,14 +43,20 @@ add_library(urcl SHARED
4243
src/ur/calibration_checker.cpp
4344
src/ur/dashboard_client.cpp
4445
src/ur/tool_communication.cpp
46+
src/ur/robot_receive_timeout.cpp
4547
src/ur/version_information.cpp
4648
src/rtde/rtde_writer.cpp
4749
src/default_log_handler.cpp
4850
src/log.cpp
51+
src/helpers.cpp
4952
)
5053
add_library(ur_client_library::urcl ALIAS urcl)
5154
target_compile_options(urcl PRIVATE -Wall -Wextra -Wno-unused-parameter)
5255
target_compile_options(urcl PUBLIC ${CXX17_FLAG})
56+
if(WITH_ASAN)
57+
target_compile_options(urcl PUBLIC -fsanitize=address)
58+
target_link_options(urcl PUBLIC -fsanitize=address)
59+
endif()
5360
target_include_directories( urcl PUBLIC
5461
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
5562
$<INSTALL_INTERFACE:include>
@@ -88,6 +95,16 @@ install(EXPORT urcl_targets
8895
FILE urclTargets.cmake
8996
NAMESPACE ur_client_library::)
9097

98+
if(CATKIN_PACKAGE_BIN_DESTINATION)
99+
install(PROGRAMS scripts/start_ursim.sh
100+
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
101+
)
102+
else()
103+
install(PROGRAMS scripts/start_ursim.sh
104+
DESTINATION lib/${PROJECT_NAME}
105+
)
106+
endif()
107+
91108
include(CMakePackageConfigHelpers)
92109
write_basic_package_version_file(${CMAKE_CURRENT_BINARY_DIR}/ur_client_libraryConfigVersion.cmake VERSION 0.0.3
93110
COMPATIBILITY SameMajorVersion)
@@ -101,7 +118,7 @@ install(FILES package.xml DESTINATION share/${PROJECT_NAME})
101118

102119
#### Begin import ####
103120
# Imported from ros-industrial/ros_industrial_cmake_boilerplate
104-
# https://github.com/ros-industrial/ros_industrial_cmake_boilerplate/blob/master/ros_industrial_cmake_boilerplate/cmake/cmake_tools.cmake
121+
# https://github.com/ros-industrial/ros_industrial_cmake_boilerplate/blob/59b86df662/ros_industrial_cmake_boilerplate/cmake/cmake_tools.cmake
105122
# Copyright (C) 2018 by George Cave - [email protected]
106123
# Copyright (c) 2020, Southwest Research Institute
107124
# Licensed under Apache-2.0 license

0 commit comments

Comments
 (0)