Skip to content

Commit bce9cb3

Browse files
urfeexmergify[bot]
authored andcommitted
[CI] Check links using lychee instead of a custom script (#1355)
(cherry picked from commit d38be8e) # Conflicts: # .github/workflows/check_links.yml # ur_robot_driver/README.md
1 parent 81b7b9c commit bce9cb3

File tree

4 files changed

+49
-69
lines changed

4 files changed

+49
-69
lines changed

.github/helpers/check_urls.sh

Lines changed: 0 additions & 67 deletions
This file was deleted.

.github/workflows/check_links.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,39 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4
14+
<<<<<<< HEAD
1415
- name: Check URLs
1516
run: |
1617
.github/helpers/check_urls.sh \
1718
-d ".git build CMakeModules debian" \
1819
-f "package.xml ursim_docker.rst architecture_coarse.svg" \
1920
-p "vnc\.html opensource\.org\/licenses\/BSD-3-Clause kernel\.org\/pub\/linux\/kernel"
21+
=======
22+
- name: Restore lychee cache
23+
id: restore-cache
24+
uses: actions/cache/restore@v4
25+
with:
26+
path: .lycheecache
27+
key: cache-lychee-${{ github.run_id }}-${{ github.run_attempt }}
28+
restore-keys: cache-lychee-
29+
- name: Link Checker
30+
id: lychee
31+
uses: lycheeverse/lychee-action@v2
32+
with:
33+
fail: true
34+
args: >
35+
--verbose
36+
--no-progress
37+
--cache
38+
--cache-exclude-status 429
39+
--max-cache-age 2d
40+
--exclude '^http://192\.168\.56\.101'
41+
--max-concurrency 1
42+
'./**/*.md' './**/*.html' './**/*.rst' './**/*.cpp' './**/*.h' './**/*.py'
43+
- name: Save lychee cache
44+
uses: actions/cache/save@v4
45+
if: always()
46+
with:
47+
path: .lycheecache
48+
key: ${{ steps.restore-cache.outputs.cache-primary-key }}
49+
>>>>>>> d38be8e ([CI] Check links using lychee instead of a custom script (#1355))

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ docs_output
1212
docs_build
1313
cross_reference
1414
ur_robot_driver/doc/generated
15+
.lycheecache

ur_robot_driver/README.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ This package contains the actual driver for UR robots. It is part of the *univer
44
repository and requires other packages from that repository. Also, see the [main repository's
55
README](../README.md) for information on how to install and startup this driver.
66

7+
<<<<<<< HEAD
78
## ROS-API
89
The ROS API is documented in a [standalone document](doc/ROS_INTERFACE.md).
10+
=======
11+
>>>>>>> d38be8e ([CI] Check links using lychee instead of a custom script (#1355))
912
1013
## Technical details
1114
The following image shows a very coarse overview of the driver's architecture.
@@ -41,7 +44,11 @@ The robot won't accept script code from a remote source unless the robot is put
4144
*remote_control-mode*. However, if put into *remote_control-mode*, the program containing the
4245
**External Control** program node can't be started from the panel.
4346
For this purpose, please use the **dashboard** services to load, start and stop the main program
47+
<<<<<<< HEAD
4448
running on the robot. See the [ROS-API documentation](doc/ROS_INTERFACE.md) for details on the
49+
=======
50+
running on the robot. See the [Dashboard client documentation](doc/dashboard_client.rst) for details on the
51+
>>>>>>> d38be8e ([CI] Check links using lychee instead of a custom script (#1355))
4552
dashboard services.
4653

4754
For using the **tool communication interface** on e-Series robots, a `socat` script is prepared to
@@ -55,6 +62,7 @@ recommend using the controllers from the `ur_controllers` package. See it's
5562
available using the controllers from `ur_controllers`**
5663

5764
## A note about modes
65+
<<<<<<< HEAD
5866
The term **mode** is used in different meanings inside this driver.
5967

6068
### Remote control mode
@@ -90,7 +98,15 @@ execution without the teach pendant. The **headless** mode might be removed in f
9098

9199
**Note for the e-Series:** In order to leverage the **headless** mode on the e-Series the robot must
92100
be in **remote_control_mode** as explained above.
101+
=======
102+
The term **mode** is used in different meanings inside this driver. See [Operation
103+
Modes](doc/operation_modes.rst) for details.
104+
>>>>>>> d38be8e ([CI] Check links using lychee instead of a custom script (#1355))
93105
94106
## controller_stopper
95-
A small helper node that stops and restarts ROS controllers based on a boolean status topic. When the status goes to `false`, all running controllers except a set of predefined *consistent_controllers* gets stopped. If status returns to `true` the stopped controllers are restarted.
96-
This is done by Subscribing to a robot's running state topic. Ideally this topic is latched and only publishes on changes. However, this node only reacts on state changes, so a state published each cycle would also be fine.
107+
A small helper node that stops and restarts ROS controllers based on a boolean status topic. When
108+
the status goes to `false`, all running controllers except a set of predefined
109+
*consistent_controllers* gets stopped. If status returns to `true` the stopped controllers are
110+
restarted. This is done by Subscribing to a robot's running state topic. Ideally this topic is
111+
latched and only publishes on changes. However, this node only reacts on state changes, so a state
112+
published each cycle would also be fine.

0 commit comments

Comments
 (0)