Skip to content

docs(zone_parameter_filter): add demo GIF to configuration and migration pages - #943

Merged
SteveMacenski merged 1 commit into
ros-navigation:masterfrom
aki1770-del:docs/zone-parameter-filter-demo-gif
Aug 18, 2026
Merged

SteveMacenski merged 1 commit into
ros-navigation:masterfrom
aki1770-del:docs/zone-parameter-filter-demo-gif

Conversation

@aki1770-del

Copy link
Copy Markdown
Contributor

Follow-up to ros-navigation/navigation2#6104, adding the demo to the two pages requested there: the Zone Parameter Filter configuration page and the Kilted migration entry.

What the clip shows

One filter instance on local_costmap with a single zone. Entering it applies a caution_zone setpoint raising inflation_layer.inflation_radius from 0.55 to 1.75 on the node the filter runs on and, through the setpoint's node field, on global_costmap; leaving the zone restores the nominal_defaults. An overlay panel tracks both node paths and their live values across four transitions.

The scene is a simulation: a synthetic map and a scripted base_link transform, with no robot and no sensors. That is stated in the clip's own header and in the prose on both pages.

Encoding

960x540, 796 frames, 42.05 s, 5.06 MB — smaller than the GIFs already in the repository.

Two choices worth stating:

  • Width 960. The rendered content column measures 976 px, so 960 displays the panel text 1:1 rather than being downscaled by the browser.
  • Native frame rate kept. On the last transition global_costmap reverts ~53 ms before local_costmap. That interval is a single source frame, so any frame-rate reduction would drop it.

Both pages reference the same file, so Sphinx emits one copy.

Tutorial left unchanged

navigation2_with_zone_parameter_filter.rst builds a TurtleBot4 depot map with two zones and setpoints on controller_server and behavior_server. This clip shows none of that — a synthetic map, one zone, and inflation_radius on the two costmap nodes — so a reader following the tutorial steps would not arrive at what the GIF shows. Happy to add it there if you would rather have it.

Checks

sphinx-build -b html exits 0. The one warning it reports, migration/Kilted.rst:1041: Could not lex literal_block as "xml", is present on master before this change — the first 1170 lines of that file are byte-identical to master. The image resolves in both built pages and one copy lands in _images/.

Not verified: rendering in a real browser, and behaviour on viewports narrower than the content column, where the image scales down proportionally.

…ion pages

Adds a 42 s demo of the filter to the two pages requested in
ros-navigation/navigation2#6104: the Zone Parameter Filter configuration
page and the Kilted migration entry.

The clip shows one filter instance on local_costmap with a single zone.
Entering it applies a caution_zone setpoint raising
inflation_layer.inflation_radius from 0.55 to 1.75 on the node the filter
runs on and, through the setpoint's node field, on global_costmap;
leaving the zone restores nominal_defaults. An overlay panel tracks both
node paths and their live values across four transitions.

The scene is a simulation: a synthetic map and a scripted base_link
transform, with no robot and no sensors. That is stated in the clip's own
header and in the prose on both pages.

960x540, 796 frames, 42.05 s, 5.06 MB. The width matches the rendered
content column so the panel text is displayed 1:1; native frame rate is
kept because the ~53 ms interval in which global_costmap reverts before
local_costmap on the last transition is a single frame, and any frame-rate
reduction would drop it.

Both pages reference the same file, so Sphinx emits one copy.

The migration entry is placed under the existing New ZoneParameterFilter
Costmap Filter section. The tutorial page is left unchanged: it builds a
TurtleBot4 depot map with two zones and setpoints on controller_server and
behavior_server, none of which this clip shows.

Signed-off-by: Akihiko Komada <[email protected]>
@mergify

mergify Bot commented Aug 18, 2026

Copy link
Copy Markdown

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

  • Queue this pull request

@SteveMacenski
SteveMacenski merged commit 334db55 into ros-navigation:master Aug 18, 2026
4 checks passed
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.

2 participants