Skip to content

Conversation

@yao1di
Copy link

@yao1di yao1di commented Jan 5, 2026

Description

This PR fixes a variable naming inconsistency in the "Implementing custom interfaces" tutorial.

In the original version, a new type Contact is created via the Contact.msg file, and Contact.msg is identical to AddressBook.msg. However, in the updated callback example, the message variable is named contact, while the code still uses message.PHONE_TYPE_MOBILE, which is inconsistent and incorrect.

This PR updates the callback code to consistently use the contact variable when assigning phone_type.

Fixes # (issue)

Did you use Generative AI?

I did not.

mergify bot and others added 30 commits May 12, 2022 15:44
Co-authored-by: Christophe Bedard <bedard.christophe@gmail.com>
(cherry picked from commit a96437f)

Co-authored-by: Steve Macenski <stevenmacenski@gmail.com>
ros2#2523)

* Add humble release note about ROS_DISABLE_LOANED_MESSAGES.
* Improve current guide about ROS_DISABLE_LOANED_MESSAGES.

Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
(cherry picked from commit 52392d9)

# Conflicts:
#	source/How-To-Guides.rst
#	source/How-To-Guides/Disabling-ZeroCopy-loaned-messages.rst

Co-authored-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
(cherry picked from commit 08c5aae)
Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
(cherry picked from commit a1bb81d)
Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
(cherry picked from commit 5974553)
Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
(cherry picked from commit 1e9b916)
Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
(cherry picked from commit b008509)
Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
(cherry picked from commit 8e90615)
…ros2#2541)

* Document ament_generate_version_header

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
(cherry picked from commit d22b833)

Co-authored-by: Shane Loretz <sloretz@osrfoundation.org>
Signed-off-by: ahcorde <ahcorde@gmail.com>
(cherry picked from commit 6ad187f)

Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
…s2#2534) (ros2#2547)

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
(cherry picked from commit c1d6395)

Co-authored-by: Shane Loretz <sloretz@osrfoundation.org>
…2#2533) (ros2#2550)

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
(cherry picked from commit 129e386)

Co-authored-by: Shane Loretz <sloretz@osrfoundation.org>
…) (ros2#2553)

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
(cherry picked from commit f25b3ed)

Co-authored-by: Shane Loretz <sloretz@osrfoundation.org>
(cherry picked from commit c018f54)

Co-authored-by: Andreas Korb <Andreas.D.Korb@gmail.com>
Also use `setx /m` to set the variables globally as the rest of the
instructions also do.

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
(cherry picked from commit c370c8e)

# Conflicts:
#	source/Installation/_Windows-Install-Prerequisites.rst

Co-authored-by: Shane Loretz <sloretz@osrfoundation.org>
Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
(cherry picked from commit 331b631)

Co-authored-by: Chris Lalancette <clalancette@openrobotics.org>
…on acticate/deactivate (ros2#2557) (ros2#2574)

Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
(cherry picked from commit fb05849)

Co-authored-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
* Rename installation pages

Co-authored-by: Chris Lalancette <clalancette@openrobotics.org>
(cherry picked from commit e61e4d2)

# Conflicts:
#	source/Installation.rst
#	source/Installation/Alternatives/RHEL-Development-Setup.rst
#	source/Installation/Alternatives/RHEL-Install-Binary.rst
#	source/Installation/Alternatives/Ubuntu-Development-Setup.rst
#	source/Installation/Alternatives/Ubuntu-Install-Binary.rst
#	source/Installation/Alternatives/Windows-Development-Setup.rst
#	source/Installation/Alternatives/macOS-Development-Setup.rst
#	source/Installation/RHEL-Install-RPMs.rst
#	source/Installation/Testing.rst
#	source/Installation/Ubuntu-Install-Debians.rst
#	source/Installation/Windows-Install-Binary.rst
#	source/Installation/_Windows-Install-Prerequisites.rst

Co-authored-by: Esther S. Weon <esther.s.weon@gmail.com>
) (ros2#2585)

* Add recommendation to update systems before installing ROS 2.

Installing ROS 2 packages without updating the system first can lead to
conflicts due to package version differences.

This is generally useful but of particular importance on Ubuntu Jammy: ros2/ros2#1272

* Add system upgrade admonition to alternative installation methods.

* Extract upgrade admonitions into a snippet.

* Add upgrade admonitions to alternative installation methods.

(cherry picked from commit b4527c0)

# Conflicts:
#	source/Installation/Alternatives/RHEL-Development-Setup.rst
#	source/Installation/Alternatives/RHEL-Install-Binary.rst
#	source/Installation/RHEL-Install-RPMs.rst

Co-authored-by: Steven! Ragnarök <nuclearsandwich@users.noreply.github.com>
* Add Humble release notes for Rviz2

Signed-off-by: ahcorde <ahcorde@gmail.com>

* Improved doc

Signed-off-by: ahcorde <ahcorde@gmail.com>

* feedback

Signed-off-by: ahcorde <ahcorde@gmail.com>

* Added feedback

Signed-off-by: ahcorde <ahcorde@gmail.com>

* feedback

Signed-off-by: ahcorde <ahcorde@gmail.com>
(cherry picked from commit f19294b)

Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
…) (ros2#2592)

* Known issue related to installing Humble before updating Ubuntu.

Co-authored-by: Chris Lalancette <clalancette@openrobotics.org>
(cherry picked from commit 58a6ec1)

Co-authored-by: Steven! Ragnarök <nuclearsandwich@users.noreply.github.com>
Signed-off-by: Christophe Bedard <christophe.bedard@apex.ai>
(cherry picked from commit 31eabfa)

Co-authored-by: Christophe Bedard <christophe.bedard@apex.ai>
(cherry picked from commit 9d97175)

Co-authored-by: Katherine Scott <katherineAScott@gmail.com>
)

* Add instructions for using ros1_bridge with Jammy

Signed-off-by: Michael Carroll <michael@openrobotics.org>
Co-authored-by: Chris Lalancette <clalancette@openrobotics.org>
(cherry picked from commit be773d4)

# Conflicts:
#	source/How-To-Guides.rst

Co-authored-by: Michael Carroll <michael@openrobotics.org>
Signed-off-by: Christophe Bedard <christophe.bedard@apex.ai>
(cherry picked from commit 02debf5)

Co-authored-by: Christophe Bedard <christophe.bedard@apex.ai>
…ros2#2626)

* Add release note about the new SolidPrimitive PRISM type.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
Co-authored-by: Michael Carroll <michael@openrobotics.org>
(cherry picked from commit d5bdd93)

Co-authored-by: Chris Lalancette <clalancette@openrobotics.org>
* Update the RViz release notes for Humble.

Split it into new features vs updates, and also add in a
new note about visualization YUV images.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
(cherry picked from commit 22101c9)

Co-authored-by: Chris Lalancette <clalancette@openrobotics.org>
…#2632)

Signed-off-by: Tomoya.Fujita <Tomoya.Fujita@sony.com>
(cherry picked from commit 0749ce0)

Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
…os2#2633) (ros2#2635)

The particular How-To guide listed in here doesn't exist on
Foxy and Galactic, only Humble.  So remove references to it here.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
(cherry picked from commit 3b135e5)

Co-authored-by: Chris Lalancette <clalancette@openrobotics.org>
…) (ros2#2642)

Signed-off-by: Scott K Logan <logans@cottsay.net>
(cherry picked from commit cef35c2)

Co-authored-by: Scott K Logan <logans@cottsay.net>
mergify bot and others added 24 commits May 22, 2023 08:01
* Final update to the Iron complete changelog.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
(cherry picked from commit 14c4579)

Co-authored-by: Chris Lalancette <clalancette@gmail.com>
Refactor the Webots tutorials as well.

Co-authored-by: ad-daniel <44834743+ad-daniel@users.noreply.github.com>
Co-authored-by: Olivier Michel <Olivier.Michel@cyberbotics.com>
Co-authored-by: Chris Lalancette <clalancette@gmail.com>
(cherry picked from commit 9fe0597)

Co-authored-by: Yannick Goumaz <61198661+ygoumaz@users.noreply.github.com>
* Add EventsExecutor release notes

Signed-off-by: Michael Carroll <mjcarroll@intrinsic.ai>
Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Co-authored-by: Christophe Bedard <christophe.bedard@apex.ai>
(cherry picked from commit 07cc792)

Co-authored-by: Michael Carroll <mjcarroll@intrinsic.ai>
* Add known issues

Signed-off-by: Yadunund <yadunund@openrobotics.org>

* Fix typo

Signed-off-by: Yadunund <yadunund@openrobotics.org>

* Update source/Releases/Release-Iron-Irwini.rst

Co-authored-by: Chris Lalancette <clalancette@gmail.com>

---------

Signed-off-by: Yadunund <yadunund@openrobotics.org>
Co-authored-by: Chris Lalancette <clalancette@gmail.com>
(cherry picked from commit 5dbd367)

Co-authored-by: Yadu <yadunund@openrobotics.org>
* Changes to mark iron as released

Signed-off-by: Yadunund <yadunund@openrobotics.org>
(cherry picked from commit 5c11933)

Co-authored-by: Yadu <yadunund@openrobotics.org>
…ros2#3676)

(cherry picked from commit 0cfea83)

Co-authored-by: Cristian Chitiva <cychitivav@unal.edu.co>
…) (ros2#3682)

Signed-off-by: Christophe Bedard <christophe.bedard@apex.ai>
(cherry picked from commit 87a3bd9)

Co-authored-by: Christophe Bedard <christophe.bedard@apex.ai>
Signed-off-by: Chen Lihui <lihui.chen@sony.com>
(cherry picked from commit 9ed5b48)

Co-authored-by: Chen Lihui <lihui.chen@sony.com>
Signed-off-by: Mirai Shinjo <miraishinjo@icloud.com>
(cherry picked from commit c154240)

Co-authored-by: Mirai SHINJO <miraishinjo@icloud.com>
* add keyboard markup

Co-authored-by: Chris Lalancette <clalancette@gmail.com>
(cherry picked from commit 6de7fb9)

Co-authored-by: Cristian Chitiva <cychitivav@unal.edu.co>
* use ubuntu:jammy instead of focal for docker file

Also switch to Python 3.10 to match the version of python in Jammy.

Signed-off-by: Chen Lihui <lihui.chen@sony.com>
(cherry picked from commit 86bc311)

Co-authored-by: Chen Lihui <lihui.chen@sony.com>
) (ros2#3709)

That is, the fallout from ros2/ros2#1150
should be mentioned for people who are using IDEs with
Humble.

While we are in here, do some minor fixes to the formatting
of the release notes.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
(cherry picked from commit d0120d0)

Co-authored-by: Chris Lalancette <clalancette@gmail.com>
* Add release notes for Type Description Distribution and Dynamic Types

Signed-off-by: Emerson Knapp <emerson.b.knapp@gmail.com>
Co-authored-by: methylDragon <methylDragon@gmail.com>
Co-authored-by: Chris Lalancette <clalancette@gmail.com>
(cherry picked from commit 33fdd2e)

Co-authored-by: Emerson Knapp <537409+emersonknapp@users.noreply.github.com>
* Update Introduction-To-Tf2.rst

Co-authored-by: Chris Lalancette <clalancette@gmail.com>
(cherry picked from commit 03b53b2)

Co-authored-by: Francesco Fallica <105363148+DoppiaEffe94@users.noreply.github.com>
This installs as many dependencies as possible via the system
packages.  We then take the versions of those dependencies
and pin them in requirements.txt/constraints.txt .  This is
so that we keep a consistent set of dependencies that we know
will work for the lifetime of Ubuntu Jammy, without constantly
monitoring the upstream projects.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
(cherry picked from commit 6461f09)

Co-authored-by: Chris Lalancette <clalancette@gmail.com>
That is, internal links never need the .rst prefix,
they can just use the name of the document they are
referring to.  This matches what most of the rest of
the documentation does.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
(cherry picked from commit 5bb98f7)

Co-authored-by: Chris Lalancette <clalancette@gmail.com>
Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Co-authored-by: Chris Lalancette <clalancette@gmail.com>
(cherry picked from commit f61080c)

Co-authored-by: Takashi Ogura <t.ogura@gmail.com>
Signed-off-by: Yadunund <yadunund@openrobotics.org>
(cherry picked from commit 2172523)
Signed-off-by: Yadunund <yadunund@openrobotics.org>
(cherry picked from commit 83e778d)
Signed-off-by: Yadunund <yadunund@openrobotics.org>
(cherry picked from commit c0b48e1)

# Conflicts:
#	conf.py
While debugging an issue I went over the URDF tutorial
and noticed these small issues, which are all fixed in this PR.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
(cherry picked from commit 9c1f870)

Co-authored-by: Chris Lalancette <clalancette@gmail.com>
* Foxy is now EOL

* [EOL] Foxy

- review feedback:
  - mergify config
  - background color
  - add date to date

Official ROS 2 Foxy EOL Date June 20th, 2023

https://twitter.com/OpenRoboticsOrg/status/1666484720585277443

* Remove Foxy from the top-level Releases page.

Signed-off-by: Alex Moriarty <alex.moriarty@picknik.ai>
Signed-off-by: Chris Lalancette <clalancette@gmail.com>
(cherry picked from commit 5248891)

Co-authored-by: Alex Moriarty <alex.moriarty@picknik.ai>
@yao1di yao1di changed the base branch from rolling to foxy January 5, 2026 14:09
@audrow audrow removed their request for review January 5, 2026 15:19
Copy link
Collaborator

@fujitatomoya fujitatomoya left a comment

Choose a reason for hiding this comment

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

@yao1di thank for creating PR, this is good catch!!

can you do us a favor? can you target the branch against rolling? (foxy has been already end of life) that is our development branch, and then we can backport the fix to the downstream branches such as kilted, jazzy and humble.

besides that, we can also fix the other places where uses contact and address_book.

@yao1di yao1di changed the base branch from foxy to rolling January 6, 2026 02:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants