Skip to content

improve support to reload/switch models through urdf - #1867

Open
v4hn wants to merge 3 commits into
ros-visualization:mainfrom
v4hn:pr-reload-model
Open

improve support to reload/switch models through urdf#1867
v4hn wants to merge 3 commits into
ros-visualization:mainfrom
v4hn:pr-reload-model

Conversation

@v4hn

@v4hn v4hn commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

I was working with a use-case recently where the /robot_description parameter was changed regularly, leading to

  1. a rare crash due to Ogre,
  2. observed unintuitive behavior in rviz where manually "resetting" the display worked but an overall reset did not, and
  3. for convenience I added a shortcut for reloading rviz to avoid having to press the "reset" button manually by mouse.

v4hn added 3 commits July 20, 2026 13:27
as described in the comment, this can happen when multiple models
are loaded interleaved. There is no harm in re-using the material
objects here, as they do not change.
As it might have changed. This change enables a global reset trigger
to update the display after a new robot description was uploaded.

Note that the same effect could already be achieved by disabling and
re-enabling the individual display by hand, which is more cumbersome
though.
purely for convenience.
@mergify

mergify Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

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.

1 participant