Skip to content

Commit

Permalink
Merge pull request #409 from IMRCLab/feature_docs_domainid
Browse files Browse the repository at this point in the history
systemtests: use non-default domain id
  • Loading branch information
Khaledwahba1994 authored Jan 29, 2024
2 parents 5d8cbc4 + 762672a commit 7e85b3b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/systemtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
source /opt/ros/humble/setup.bash
. install/local_setup.bash
export ROS_LOCALHOST_ONLY=1
export ROS_DOMAIN_ID=99
python3 src/crazyswarm2/systemtests/test_flights.py
- name: Upload files
Expand Down
2 changes: 1 addition & 1 deletion docs2/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@

# General information about the project.
project = 'Crazyswarm2'
copyright = '2021-2022, Wolfgang Hönig (IMRClab), Kimberly McGuire (Bitcraze AB) and contributors'
copyright = '2021-2024, Wolfgang Hönig (TU Berlin), Kimberly McGuire (Bitcraze AB), and contributors'
author = 'Wolfgang Hönig, Kimberly McGuire'

# The version info for the project you're documenting, acts as replacement for
Expand Down
5 changes: 5 additions & 0 deletions docs2/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ Usage
.. code-block:: bash
export ROS_LOCALHOST_ONLY=1
export ROS_DOMAIN_ID=<unique number between 0 and 101>
The first environment variable restricts ROS to your local machine. The second is useful
if you have multiple user accounts on the same machine (e.g., a shared workstation computer).
In such case, each user should use a unique `domain ID <https://docs.ros.org/en/iron/Concepts/Intermediate/About-Domain-ID.html>`_.


Configuration
Expand Down

0 comments on commit 7e85b3b

Please sign in to comment.