UniversalRobots / Universal_Robots_Client_Library

A C++ library for accessing the UR interfaces that facilitate the use of UR robotic manipulators by external applications.
Apache License 2.0
117 stars 88 forks source link

Added stop program to the robot program when in headless mode #128

Closed urmahp closed 1 year ago

urmahp commented 1 year ago

This will ensure that no program is running on the robot when external control script is send to the robot.

This will fix issue #123.

codecov[bot] commented 1 year ago

Codecov Report

Base: 63.34% // Head: 63.45% // Increases project coverage by +0.11% :tada:

Coverage data is based on head (e086773) compared to base (1ed6576). Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #128 +/- ## ========================================== + Coverage 63.34% 63.45% +0.11% ========================================== Files 89 89 Lines 2968 2969 +1 Branches 310 310 ========================================== + Hits 1880 1884 +4 + Misses 927 925 -2 + Partials 161 160 -1 ``` | [Impacted Files](https://codecov.io/gh/UniversalRobots/Universal_Robots_Client_Library/pull/128?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=UniversalRobots) | Coverage Δ | | |---|---|---| | [src/ur/ur\_driver.cpp](https://codecov.io/gh/UniversalRobots/Universal_Robots_Client_Library/pull/128/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=UniversalRobots#diff-c3JjL3VyL3VyX2RyaXZlci5jcHA=) | `0.00% <0.00%> (ø)` | | | [tests/test\_reverse\_interface.cpp](https://codecov.io/gh/UniversalRobots/Universal_Robots_Client_Library/pull/128/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=UniversalRobots#diff-dGVzdHMvdGVzdF9yZXZlcnNlX2ludGVyZmFjZS5jcHA=) | `97.88% <0.00%> (+0.70%)` | :arrow_up: | | [src/comm/tcp\_server.cpp](https://codecov.io/gh/UniversalRobots/Universal_Robots_Client_Library/pull/128/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=UniversalRobots#diff-c3JjL2NvbW0vdGNwX3NlcnZlci5jcHA=) | `77.51% <0.00%> (+0.77%)` | :arrow_up: | | [include/ur\_client\_library/queue/atomicops.h](https://codecov.io/gh/UniversalRobots/Universal_Robots_Client_Library/pull/128/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=UniversalRobots#diff-aW5jbHVkZS91cl9jbGllbnRfbGlicmFyeS9xdWV1ZS9hdG9taWNvcHMuaA==) | `56.66% <0.00%> (+3.33%)` | :arrow_up: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=UniversalRobots). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=UniversalRobots)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.