-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Enhancement Add Ros2Supervisor tutorial #3790
Enhancement Add Ros2Supervisor tutorial #3790
Conversation
* Update launch files to declare WebotsController node (#11) (ros2#3763) * change launch files * Update Setting-Up-Simulation-Webots-Basic.rst * update minimal version tutorial 2 * add upcoming versions * New Reset Handler tutorial (#12) (ros2#3764) * new tutorial Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update macOS-Development-Setup.rst (ros2#3758) - add Xcode App Store link - BASH -> ZSH (default) - make homebrew paths generic Co-authored-by: Philipp Dittmann <dittmann@cs.uni-bremen.de> * Change confusing title between Debian package and Debian platform (ros2#3771) Currently Debian does not offer ROS2 packages. Change the title that can be confusing. * Make the calendar more mobile-friendly. (ros2#3774) * Make the calendar more mobile-friendly. When looking at some of the analytics, it looks like this page is particularly not mobile friendly. That's because the Google calendar embedded on the bottom of the page is of fixed with 800x600, which doesn't work well on many mobile devices. What we do here is to see if a device has 767 or less pixels. If it does, then we just show the agenda, which fits in just 280 pixels. If we have more than that, we have room for the full monthly agenda, so we show the full thing. Signed-off-by: Chris Lalancette <clalancette@gmail.com> Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com> --------- Signed-off-by: Chris Lalancette <clalancette@gmail.com> Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> Co-authored-by: PhDittmann <dittmann@tzi.de> Co-authored-by: Philipp Dittmann <dittmann@cs.uni-bremen.de> Co-authored-by: Quentin Quadrat <lecrapouille@gmail.com> Co-authored-by: Chris Lalancette <clalancette@gmail.com> Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
…sor.rst Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com>
…sor.rst Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com>
…sor.rst Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com>
…sor.rst Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com>
…sor.rst Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com>
…sor.rst Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com>
…hub.com/cyberbotics/ros2_documentation into enhancement-add-ros2supervisor-tutorial
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. One small comment.
Background | ||
---------- | ||
|
||
In this tutorial, you will learn how to enable the ``Ros2Supervisor`` node which enhances the interface by creating additional services and topics to interact with the simulation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would love a few specific examples of when this would be useful.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a line that gives some examples of features that are detailed in the next sections. Is that what you are waiting for?
* Sync fork (#17) * Update launch files to declare WebotsController node (#11) (#3763) * change launch files * Update Setting-Up-Simulation-Webots-Basic.rst * update minimal version tutorial 2 * add upcoming versions * New Reset Handler tutorial (#12) (#3764) * new tutorial Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update macOS-Development-Setup.rst (#3758) - add Xcode App Store link - BASH -> ZSH (default) - make homebrew paths generic Co-authored-by: Philipp Dittmann <dittmann@cs.uni-bremen.de> * Change confusing title between Debian package and Debian platform (#3771) Currently Debian does not offer ROS2 packages. Change the title that can be confusing. * Make the calendar more mobile-friendly. (#3774) * Make the calendar more mobile-friendly. When looking at some of the analytics, it looks like this page is particularly not mobile friendly. That's because the Google calendar embedded on the bottom of the page is of fixed with 800x600, which doesn't work well on many mobile devices. What we do here is to see if a device has 767 or less pixels. If it does, then we just show the agenda, which fits in just 280 pixels. If we have more than that, we have room for the full monthly agenda, so we show the full thing. Signed-off-by: Chris Lalancette <clalancette@gmail.com> Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com> --------- Signed-off-by: Chris Lalancette <clalancette@gmail.com> Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> Co-authored-by: PhDittmann <dittmann@tzi.de> Co-authored-by: Philipp Dittmann <dittmann@cs.uni-bremen.de> Co-authored-by: Quentin Quadrat <lecrapouille@gmail.com> Co-authored-by: Chris Lalancette <clalancette@gmail.com> Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com> * add new tutorial * Update source/Tutorials/Advanced/Simulators/Webots/Simulation-Supervisor.rst Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update source/Tutorials/Advanced/Simulators/Webots/Simulation-Supervisor.rst Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update source/Tutorials/Advanced/Simulators/Webots/Simulation-Supervisor.rst Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * add new tutorial * Update source/Tutorials/Advanced/Simulators/Webots/Simulation-Supervisor.rst Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update source/Tutorials/Advanced/Simulators/Webots/Simulation-Supervisor.rst Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update source/Tutorials/Advanced/Simulators/Webots/Simulation-Supervisor.rst Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update Simulation-Supervisor.rst * minor --------- Signed-off-by: Chris Lalancette <clalancette@gmail.com> Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> Co-authored-by: PhDittmann <dittmann@tzi.de> Co-authored-by: Philipp Dittmann <dittmann@cs.uni-bremen.de> Co-authored-by: Quentin Quadrat <lecrapouille@gmail.com> Co-authored-by: Chris Lalancette <clalancette@gmail.com> Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com> (cherry picked from commit 69be724)
* Sync fork (#17) * Update launch files to declare WebotsController node (#11) (#3763) * change launch files * Update Setting-Up-Simulation-Webots-Basic.rst * update minimal version tutorial 2 * add upcoming versions * New Reset Handler tutorial (#12) (#3764) * new tutorial Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update macOS-Development-Setup.rst (#3758) - add Xcode App Store link - BASH -> ZSH (default) - make homebrew paths generic Co-authored-by: Philipp Dittmann <dittmann@cs.uni-bremen.de> * Change confusing title between Debian package and Debian platform (#3771) Currently Debian does not offer ROS2 packages. Change the title that can be confusing. * Make the calendar more mobile-friendly. (#3774) * Make the calendar more mobile-friendly. When looking at some of the analytics, it looks like this page is particularly not mobile friendly. That's because the Google calendar embedded on the bottom of the page is of fixed with 800x600, which doesn't work well on many mobile devices. What we do here is to see if a device has 767 or less pixels. If it does, then we just show the agenda, which fits in just 280 pixels. If we have more than that, we have room for the full monthly agenda, so we show the full thing. Signed-off-by: Chris Lalancette <clalancette@gmail.com> Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com> --------- Signed-off-by: Chris Lalancette <clalancette@gmail.com> Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> Co-authored-by: PhDittmann <dittmann@tzi.de> Co-authored-by: Philipp Dittmann <dittmann@cs.uni-bremen.de> Co-authored-by: Quentin Quadrat <lecrapouille@gmail.com> Co-authored-by: Chris Lalancette <clalancette@gmail.com> Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com> * add new tutorial * Update source/Tutorials/Advanced/Simulators/Webots/Simulation-Supervisor.rst Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update source/Tutorials/Advanced/Simulators/Webots/Simulation-Supervisor.rst Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update source/Tutorials/Advanced/Simulators/Webots/Simulation-Supervisor.rst Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * add new tutorial * Update source/Tutorials/Advanced/Simulators/Webots/Simulation-Supervisor.rst Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update source/Tutorials/Advanced/Simulators/Webots/Simulation-Supervisor.rst Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update source/Tutorials/Advanced/Simulators/Webots/Simulation-Supervisor.rst Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update Simulation-Supervisor.rst * minor --------- Signed-off-by: Chris Lalancette <clalancette@gmail.com> Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> Co-authored-by: PhDittmann <dittmann@tzi.de> Co-authored-by: Philipp Dittmann <dittmann@cs.uni-bremen.de> Co-authored-by: Quentin Quadrat <lecrapouille@gmail.com> Co-authored-by: Chris Lalancette <clalancette@gmail.com> Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com> (cherry picked from commit 69be724) # Conflicts: # source/Tutorials/Advanced/Simulators/Webots/Simulation-Webots.rst
@mergify backport humble iron |
✅ Backports have been created
|
* Sync fork (#17) * Update launch files to declare WebotsController node (#11) (#3763) * change launch files * Update Setting-Up-Simulation-Webots-Basic.rst * update minimal version tutorial 2 * add upcoming versions * New Reset Handler tutorial (#12) (#3764) * new tutorial Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update macOS-Development-Setup.rst (#3758) - add Xcode App Store link - BASH -> ZSH (default) - make homebrew paths generic Co-authored-by: Philipp Dittmann <dittmann@cs.uni-bremen.de> * Change confusing title between Debian package and Debian platform (#3771) Currently Debian does not offer ROS2 packages. Change the title that can be confusing. * Make the calendar more mobile-friendly. (#3774) * Make the calendar more mobile-friendly. When looking at some of the analytics, it looks like this page is particularly not mobile friendly. That's because the Google calendar embedded on the bottom of the page is of fixed with 800x600, which doesn't work well on many mobile devices. What we do here is to see if a device has 767 or less pixels. If it does, then we just show the agenda, which fits in just 280 pixels. If we have more than that, we have room for the full monthly agenda, so we show the full thing. Signed-off-by: Chris Lalancette <clalancette@gmail.com> Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com> --------- Signed-off-by: Chris Lalancette <clalancette@gmail.com> Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> Co-authored-by: PhDittmann <dittmann@tzi.de> Co-authored-by: Philipp Dittmann <dittmann@cs.uni-bremen.de> Co-authored-by: Quentin Quadrat <lecrapouille@gmail.com> Co-authored-by: Chris Lalancette <clalancette@gmail.com> Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com> * add new tutorial * Update source/Tutorials/Advanced/Simulators/Webots/Simulation-Supervisor.rst Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update source/Tutorials/Advanced/Simulators/Webots/Simulation-Supervisor.rst Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update source/Tutorials/Advanced/Simulators/Webots/Simulation-Supervisor.rst Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * add new tutorial * Update source/Tutorials/Advanced/Simulators/Webots/Simulation-Supervisor.rst Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update source/Tutorials/Advanced/Simulators/Webots/Simulation-Supervisor.rst Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update source/Tutorials/Advanced/Simulators/Webots/Simulation-Supervisor.rst Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update Simulation-Supervisor.rst * minor --------- Signed-off-by: Chris Lalancette <clalancette@gmail.com> Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> Co-authored-by: PhDittmann <dittmann@tzi.de> Co-authored-by: Philipp Dittmann <dittmann@cs.uni-bremen.de> Co-authored-by: Quentin Quadrat <lecrapouille@gmail.com> Co-authored-by: Chris Lalancette <clalancette@gmail.com> Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com> (cherry picked from commit 69be724) Co-authored-by: Yannick Goumaz <61198661+ygoumaz@users.noreply.github.com>
* Enhancement Add Ros2Supervisor tutorial (#3790) * Sync fork (#17) * Update launch files to declare WebotsController node (#11) (#3763) * change launch files * Update Setting-Up-Simulation-Webots-Basic.rst * update minimal version tutorial 2 * add upcoming versions * New Reset Handler tutorial (#12) (#3764) * new tutorial Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update macOS-Development-Setup.rst (#3758) - add Xcode App Store link - BASH -> ZSH (default) - make homebrew paths generic Co-authored-by: Philipp Dittmann <dittmann@cs.uni-bremen.de> * Change confusing title between Debian package and Debian platform (#3771) Currently Debian does not offer ROS2 packages. Change the title that can be confusing. * Make the calendar more mobile-friendly. (#3774) * Make the calendar more mobile-friendly. When looking at some of the analytics, it looks like this page is particularly not mobile friendly. That's because the Google calendar embedded on the bottom of the page is of fixed with 800x600, which doesn't work well on many mobile devices. What we do here is to see if a device has 767 or less pixels. If it does, then we just show the agenda, which fits in just 280 pixels. If we have more than that, we have room for the full monthly agenda, so we show the full thing. Signed-off-by: Chris Lalancette <clalancette@gmail.com> Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com> --------- Signed-off-by: Chris Lalancette <clalancette@gmail.com> Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> Co-authored-by: PhDittmann <dittmann@tzi.de> Co-authored-by: Philipp Dittmann <dittmann@cs.uni-bremen.de> Co-authored-by: Quentin Quadrat <lecrapouille@gmail.com> Co-authored-by: Chris Lalancette <clalancette@gmail.com> Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com> * add new tutorial * Update source/Tutorials/Advanced/Simulators/Webots/Simulation-Supervisor.rst Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update source/Tutorials/Advanced/Simulators/Webots/Simulation-Supervisor.rst Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update source/Tutorials/Advanced/Simulators/Webots/Simulation-Supervisor.rst Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * add new tutorial * Update source/Tutorials/Advanced/Simulators/Webots/Simulation-Supervisor.rst Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update source/Tutorials/Advanced/Simulators/Webots/Simulation-Supervisor.rst Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update source/Tutorials/Advanced/Simulators/Webots/Simulation-Supervisor.rst Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> * Update Simulation-Supervisor.rst * minor --------- Signed-off-by: Chris Lalancette <clalancette@gmail.com> Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com> Co-authored-by: PhDittmann <dittmann@tzi.de> Co-authored-by: Philipp Dittmann <dittmann@cs.uni-bremen.de> Co-authored-by: Quentin Quadrat <lecrapouille@gmail.com> Co-authored-by: Chris Lalancette <clalancette@gmail.com> Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com> (cherry picked from commit 69be724) # Conflicts: # source/Tutorials/Advanced/Simulators/Webots/Simulation-Webots.rst * Fix merge conflict Signed-off-by: GitHub <noreply@github.com> --------- Signed-off-by: GitHub <noreply@github.com> Co-authored-by: Yannick Goumaz <61198661+ygoumaz@users.noreply.github.com> Co-authored-by: Audrow Nash <audrow@openrobotics.org>
This PR is adding a new tutorial for the Webots simulator. A parameter in the
WebotsLauncher
node allows to add a Supervisor Robot to the simulation with a ROS 2 node as controller. This controller acts as an interface between the user and the simulation. The user can interact with the node using created services and topics. The tutorial lists all available features and how to use them.This PR can be back-ported to Rolling, Humble and Iron.