Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Example 13] Multi-robot system with lifecycle management #417

Merged
merged 28 commits into from
Oct 31, 2024

Conversation

christophfroehlich
Copy link
Contributor

@christophfroehlich christophfroehlich commented Dec 25, 2023

This is a rewrite of #187 including StoglRobotics-forks#7.

Open questions for me:

  • The problems discussed in the latter PR are summarized in Ressource manager hangs up on lifecycle changes ros2_control#1103. I'd say we can add this example even if the problem is not fixed yet.
  • It uses the rrbot URDF from example_4 and example_5. Should I generate new ones inside example 15? Currently, there is also the FTS broadcaster etc in Rviz, but maybe this wouldn't be necessary and we could just use the same Rrbot instead. -> we decided in the WG meeting to reuse descriptions for the multi-robot examples.
  • Why should one use a global joint state broadcaster? In the original version it was not configured properly, and all "individual" JSB published on the /joint_states topic and it seemed to work (better than now, without the necessity of reloading the JSB). The only difference is that with the global one, all joints are within one message. Why would someone need this for multiple robots?

@christophfroehlich
Copy link
Contributor Author

@Mergifyio backport iron humble

Copy link
Contributor

mergify bot commented Dec 25, 2023

backport iron humble

✅ Backports have been created

example_13/README.md Outdated Show resolved Hide resolved
doc/index.rst Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
example_13/doc/userdoc.rst Outdated Show resolved Hide resolved
example_13/doc/userdoc.rst Show resolved Hide resolved
Copy link
Contributor

mergify bot commented Feb 17, 2024

This pull request is in conflict. Could you fix it @christophfroehlich?

1 similar comment
Copy link
Contributor

mergify bot commented Feb 18, 2024

This pull request is in conflict. Could you fix it @christophfroehlich?

@saikishor
Copy link
Member

saikishor commented Oct 30, 2024

@christophfroehlich minor things but overall I could reproduce things properly (with the above suggested changes)

christophfroehlich and others added 2 commits October 31, 2024 10:03
Co-authored-by: Sai Kishor Kothakota <[email protected]>
Co-authored-by: Sai Kishor Kothakota <[email protected]>
Copy link
Member

@saikishor saikishor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@saikishor saikishor enabled auto-merge (squash) October 31, 2024 14:38
@saikishor saikishor disabled auto-merge October 31, 2024 14:38
@saikishor saikishor merged commit d6e730f into ros-controls:master Oct 31, 2024
10 of 15 checks passed
mergify bot pushed a commit that referenced this pull request Oct 31, 2024
* Add description for r3bot

Co-authored-by: Denis Štogl <[email protected]>
Co-authored-by: bailaC <[email protected]>

* Remove camera links etc

* Initial commit for example_13 from old PRs

Co-authored-by: Denis Štogl <[email protected]>
Co-authored-by: bailaC <[email protected]>

* Change MD to rst syntax

* Update test node syntax

* Fix test nodes launch file

* Enhance docs

* Fix wrench config

* Use global joint_state_broadcaster

* Add tests

* FIx links to files

* Add some text

* Fix dependencies

* Add example13 to workflows+packages

* Apply suggestions from code review

Co-authored-by: Sai Kishor Kothakota <[email protected]>

* Update example_13/doc/userdoc.rst

Co-authored-by: Sai Kishor Kothakota <[email protected]>

* Fix rst syntax

* Use new ros2controlcli verb

* Add initial version for launch_test

* Add a more complete test

* Fix whitespaces

* Fix decimal numbers

Co-authored-by: Sai Kishor Kothakota <[email protected]>

* Fix more decimal numbers

Co-authored-by: Sai Kishor Kothakota <[email protected]>

---------

Co-authored-by: Denis Štogl <[email protected]>
Co-authored-by: bailaC <[email protected]>
Co-authored-by: Sai Kishor Kothakota <[email protected]>
Co-authored-by: Sai Kishor Kothakota <[email protected]>
(cherry picked from commit d6e730f)
mergify bot pushed a commit that referenced this pull request Oct 31, 2024
* Add description for r3bot

Co-authored-by: Denis Štogl <[email protected]>
Co-authored-by: bailaC <[email protected]>

* Remove camera links etc

* Initial commit for example_13 from old PRs

Co-authored-by: Denis Štogl <[email protected]>
Co-authored-by: bailaC <[email protected]>

* Change MD to rst syntax

* Update test node syntax

* Fix test nodes launch file

* Enhance docs

* Fix wrench config

* Use global joint_state_broadcaster

* Add tests

* FIx links to files

* Add some text

* Fix dependencies

* Add example13 to workflows+packages

* Apply suggestions from code review

Co-authored-by: Sai Kishor Kothakota <[email protected]>

* Update example_13/doc/userdoc.rst

Co-authored-by: Sai Kishor Kothakota <[email protected]>

* Fix rst syntax

* Use new ros2controlcli verb

* Add initial version for launch_test

* Add a more complete test

* Fix whitespaces

* Fix decimal numbers

Co-authored-by: Sai Kishor Kothakota <[email protected]>

* Fix more decimal numbers

Co-authored-by: Sai Kishor Kothakota <[email protected]>

---------

Co-authored-by: Denis Štogl <[email protected]>
Co-authored-by: bailaC <[email protected]>
Co-authored-by: Sai Kishor Kothakota <[email protected]>
Co-authored-by: Sai Kishor Kothakota <[email protected]>
(cherry picked from commit d6e730f)
christophfroehlich added a commit that referenced this pull request Oct 31, 2024
* Add description for r3bot

Co-authored-by: Denis Štogl <[email protected]>
Co-authored-by: bailaC <[email protected]>

* Remove camera links etc

* Initial commit for example_13 from old PRs

Co-authored-by: Denis Štogl <[email protected]>
Co-authored-by: bailaC <[email protected]>

* Change MD to rst syntax

* Update test node syntax

* Fix test nodes launch file

* Enhance docs

* Fix wrench config

* Use global joint_state_broadcaster

* Add tests

* FIx links to files

* Add some text

* Fix dependencies

* Add example13 to workflows+packages

* Apply suggestions from code review

Co-authored-by: Sai Kishor Kothakota <[email protected]>

* Update example_13/doc/userdoc.rst

Co-authored-by: Sai Kishor Kothakota <[email protected]>

* Fix rst syntax

* Use new ros2controlcli verb

* Add initial version for launch_test

* Add a more complete test

* Fix whitespaces

* Fix decimal numbers

Co-authored-by: Sai Kishor Kothakota <[email protected]>

* Fix more decimal numbers

Co-authored-by: Sai Kishor Kothakota <[email protected]>

---------

Co-authored-by: Denis Štogl <[email protected]>
Co-authored-by: bailaC <[email protected]>
Co-authored-by: Sai Kishor Kothakota <[email protected]>
Co-authored-by: Sai Kishor Kothakota <[email protected]>
(cherry picked from commit d6e730f)

Co-authored-by: Christoph Fröhlich <[email protected]>
christophfroehlich added a commit that referenced this pull request Oct 31, 2024
* Add description for r3bot

Co-authored-by: Denis Štogl <[email protected]>
Co-authored-by: bailaC <[email protected]>

* Remove camera links etc

* Initial commit for example_13 from old PRs

Co-authored-by: Denis Štogl <[email protected]>
Co-authored-by: bailaC <[email protected]>

* Change MD to rst syntax

* Update test node syntax

* Fix test nodes launch file

* Enhance docs

* Fix wrench config

* Use global joint_state_broadcaster

* Add tests

* FIx links to files

* Add some text

* Fix dependencies

* Add example13 to workflows+packages

* Apply suggestions from code review

Co-authored-by: Sai Kishor Kothakota <[email protected]>

* Update example_13/doc/userdoc.rst

Co-authored-by: Sai Kishor Kothakota <[email protected]>

* Fix rst syntax

* Use new ros2controlcli verb

* Add initial version for launch_test

* Add a more complete test

* Fix whitespaces

* Fix decimal numbers

Co-authored-by: Sai Kishor Kothakota <[email protected]>

* Fix more decimal numbers

Co-authored-by: Sai Kishor Kothakota <[email protected]>

---------

Co-authored-by: Denis Štogl <[email protected]>
Co-authored-by: bailaC <[email protected]>
Co-authored-by: Sai Kishor Kothakota <[email protected]>
Co-authored-by: Sai Kishor Kothakota <[email protected]>
(cherry picked from commit d6e730f)

Co-authored-by: Christoph Fröhlich <[email protected]>
@christophfroehlich christophfroehlich deleted the 133_pr_rebase_again branch November 1, 2024 18:54
christophfroehlich pushed a commit to ros-controls/ros2_controllers that referenced this pull request Nov 1, 2024
…en they are previously available (#1331)

* Add test to reproduce the behaviour of ros-controls/ros2_control_demos#417 (comment)

* Add fix to solve the issue of the publishing non-existing joint_states
mergify bot pushed a commit to ros-controls/ros2_controllers that referenced this pull request Nov 1, 2024
…en they are previously available (#1331)

* Add test to reproduce the behaviour of ros-controls/ros2_control_demos#417 (comment)

* Add fix to solve the issue of the publishing non-existing joint_states

(cherry picked from commit 87f21b3)
mergify bot pushed a commit to ros-controls/ros2_controllers that referenced this pull request Nov 1, 2024
…en they are previously available (#1331)

* Add test to reproduce the behaviour of ros-controls/ros2_control_demos#417 (comment)

* Add fix to solve the issue of the publishing non-existing joint_states

(cherry picked from commit 87f21b3)
christophfroehlich pushed a commit to ros-controls/ros2_controllers that referenced this pull request Nov 1, 2024
…en they are previously available (#1331) (#1339)

* Add test to reproduce the behaviour of ros-controls/ros2_control_demos#417 (comment)

* Add fix to solve the issue of the publishing non-existing joint_states

(cherry picked from commit 87f21b3)

Co-authored-by: Sai Kishor Kothakota <[email protected]>
christophfroehlich pushed a commit to ros-controls/ros2_controllers that referenced this pull request Nov 1, 2024
…en they are previously available (#1331) (#1340)

* Add test to reproduce the behaviour of ros-controls/ros2_control_demos#417 (comment)

* Add fix to solve the issue of the publishing non-existing joint_states

(cherry picked from commit 87f21b3)

Co-authored-by: Sai Kishor Kothakota <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants