Repository navigation
Fix ros2 param list due to issue with default_custom_order - #151
Merged
Merged
Conversation
Before this patch, `ros2 param dump` and `rqt_reconfigure` would not
work:
```
ros2 run opennav_coverage opennav_coverage
ros2 lifecycle set /coverage_server configure
ros2 lifecycle set /coverage_server activate
ros2 param dump /coverage_server
/coverage_server:
ros__parameters: {}
```
After this patch, `ros2 param dump` works as expected:
```
ros2 param dump /coverage_server
/coverage_server:
ros__parameters:
/bond_disable_heartbeat_timeout: true
action_server_result_timeout: 10.0
...
```
Co-authored-by: Copilot <[email protected]>
Signed-off-by: Ramon Wijnands <[email protected]>
Rayman
force-pushed
the
fix/ros-param-list
branch
from
October 22, 2026 12:12
445387c to
4d39ecb
Compare
SteveMacenski
approved these changes
Oct 22, 2026
SteveMacenski
pushed a commit
that referenced
this pull request
Nov 6, 2026
* Fix `ros2 param list` due to issue with default_custom_order (#151) Before this patch, `ros2 param dump` and `rqt_reconfigure` would not work: ``` ros2 run opennav_coverage opennav_coverage ros2 lifecycle set /coverage_server configure ros2 lifecycle set /coverage_server activate ros2 param dump /coverage_server /coverage_server: ros__parameters: {} ``` After this patch, `ros2 param dump` works as expected: ``` ros2 param dump /coverage_server /coverage_server: ros__parameters: /bond_disable_heartbeat_timeout: true action_server_result_timeout: 10.0 ... ``` Signed-off-by: Ramon Wijnands <[email protected]> Co-authored-by: Copilot <[email protected]> * Add optional headland driving (perimeter loop or full band coverage) (#141) * Add generateHeadlandSwaths to sweep the headland band with concentric rings * Add toHeadlandPerimeterPath helper and densify HL_SWATH path states * Visualize the headland pass as a distinct marker, clearing it when unused * Add optional headland driving via goal fields and splice it onto the path (cherry picked from commit 67f2c0f) * Support non-TSP route modes with field decomposition (#145) * Allow non-TSP route modes with field decomposition BOUSTROPHEDON, SNAKE, and SPIRAL were rejected whenever field decomposition produced multiple cells, because flattening per-cell swaths before ordering collided their per-cell ids and interleaved cells. They now order each cell independently and stitch the results with the same nearest-neighbour, border-graph-bridging layer TSP already used (extracted into stitchCellRoutes). CUSTOM stays rejected for multi-cell: its order vector can't be split across cells. Known issue: manual testing shows this can still produce swath overlap in some multi-cell fields, likely on the F2C side. Parking this branch as-is rather than chasing it now. * Join swaths through the cell border graph in swath-order routes Multi-cell BOUSTROPHEDON, SNAKE, and SPIRAL wrapped each cell's swaths in a single connection-less group, so every transition inside a cell became a naked Dubins turn with no knowledge of the boundary. A SNAKE or SPIRAL skip spans several swath widths, and that turn cut straight across ground the route had already covered. Each cell now routes through F2C's shortest-path graph over the cell border, the machinery TSP's per-cell genRoute already used, so a cell route carries a connection between every consecutive swath pair. A pair whose endpoint is not a graph node falls back on its own. * Judge connection detours by deviation instead of length ratio A connection was replaced by a single turn when its polyline ran under 1.3x the straight distance. That ratio cannot separate a u-turn from a detour: rounding a long cell's corner is only ~20% longer than cutting its diagonal, so real border-following connections were collapsing into straight lines through the field. One measured 36.3 m of polyline against 30.7 m direct, a ratio of 1.18, and became a 30 m diagonal. Compare the waypoints' peak deviation from the straight hop instead. Headland u-turn waypoints are collinear with it, so they still get a curve, while anything the graph routed around keeps its polyline. * Use the paired-cell bridge graph only when both cells resolve getCellWherePoint can miss an endpoint that sits on a cell border, leaving one cell in the pair. The graph was still built from that single cell, and it reached the far endpoint by jumping off that cell's border, cutting across whatever lay between. Because the result had two or more points it counted as a success, so the whole-set fallback never ran. Require both cells before trusting the pair graph; otherwise go straight to the graph over every travel cell, which is connected along their shared borders and routes around the gap. (cherry picked from commit 29c96cf) * Add a useful error if the headland is too large (#150) Signed-off-by: Ramon Wijnands <[email protected]> (cherry picked from commit 04858cf) * Make visualizers transient_local (#155) Signed-off-by: Alireza Moayyedi <[email protected]> (cherry picked from commit aa04819) * Fix dependencies missing from package.xml (#153) (cherry picked from commit 2fb8254) --------- Signed-off-by: Ramon Wijnands <[email protected]> Signed-off-by: Alireza Moayyedi <[email protected]> Co-authored-by: Ramon Wijnands <[email protected]> Co-authored-by: Copilot <[email protected]> Co-authored-by: Umut Can Cebbur <[email protected]> Co-authored-by: Alireza Moayyedi <[email protected]>
This was referenced Nov 26, 2026
SteveMacenski
pushed a commit
that referenced
this pull request
Nov 26, 2026
* Fix Broken isValid Check in Path Components Iterator (#103) * fix: incorrect isValid check * fix: add path component iteration index validation test (cherry picked from commit 40c2d84) Signed-off-by: u33549 <[email protected]> * docs: add XML usage examples to BT plugin doxygen descriptions (#104) Signed-off-by: AJedancov <[email protected]> (cherry picked from commit e023454) Signed-off-by: u33549 <[email protected]> * Fix `ros2 param list` due to issue with default_custom_order (#151) Before this patch, `ros2 param dump` and `rqt_reconfigure` would not work: ``` ros2 run opennav_coverage opennav_coverage ros2 lifecycle set /coverage_server configure ros2 lifecycle set /coverage_server activate ros2 param dump /coverage_server /coverage_server: ros__parameters: {} ``` After this patch, `ros2 param dump` works as expected: ``` ros2 param dump /coverage_server /coverage_server: ros__parameters: /bond_disable_heartbeat_timeout: true action_server_result_timeout: 10.0 ... ``` Signed-off-by: Ramon Wijnands <[email protected]> Co-authored-by: Copilot <[email protected]> Adapted for humble: nav2_util::declare_parameter_if_not_declared. (cherry picked from commit 7942d38) Signed-off-by: u33549 <[email protected]> * Add a useful error if the headland is too large (#150) Signed-off-by: Ramon Wijnands <[email protected]> Adapted for humble: reformatted for humble's ament_uncrustify. (cherry picked from commit 04858cf) Signed-off-by: u33549 <[email protected]> * Fix dependencies missing from package.xml (#153) Adapted for humble: behaviortree_cpp_v3 and backported_bt_navigator kept; nav2_ros_common and nav2_bt_navigator are not used on humble and are left out. Also declares and includes ament_index_cpp in the navigator, the non-CI part of #163 (cherry picked from commit eb43d10). (cherry picked from commit 2fb8254) Signed-off-by: u33549 <[email protected]> * Make visualizers transient_local (#155) Signed-off-by: Alireza Moayyedi <[email protected]> Adapted for humble: the headland_swaths publisher does not exist here. (cherry picked from commit aa04819) Signed-off-by: u33549 <[email protected]> * Set headers on generated coverage path poses (#159) * Set headers on generated coverage path poses Signed-off-by: Bram Odrosslij <[email protected]> * Set pose headers in the PathState converter Signed-off-by: Bram Odrosslij <[email protected]> --------- Signed-off-by: Bram Odrosslij <[email protected]> Adapted for humble: keeps humble's existing SWATH densify check in TesttoNavPathMsg. (cherry picked from commit c4c1225) Signed-off-by: u33549 <[email protected]> --------- Signed-off-by: u33549 <[email protected]> Co-authored-by: Joey Quinlan <[email protected]> Co-authored-by: Andrei Jedancov <[email protected]> Co-authored-by: Ramon Wijnands <[email protected]> Co-authored-by: Tim Clephas <[email protected]> Co-authored-by: Alireza Moayyedi <[email protected]> Co-authored-by: Bram O <[email protected]>
SteveMacenski
pushed a commit
that referenced
this pull request
Nov 26, 2026
* fix: Add global frame ID to UTM path poses. (#90) This fixes an issue with visualization of the UTM path in Foxglove Studio which requires that the path frame_id match all the pose frame_ids. (cherry picked from commit 77dcdca) Signed-off-by: u33549 <[email protected]> * Fix Broken isValid Check in Path Components Iterator (#103) * fix: incorrect isValid check * fix: add path component iteration index validation test (cherry picked from commit 40c2d84) Signed-off-by: u33549 <[email protected]> * docs: add XML usage examples to BT plugin doxygen descriptions (#104) Signed-off-by: AJedancov <[email protected]> (cherry picked from commit e023454) Signed-off-by: u33549 <[email protected]> * Fix `ros2 param list` due to issue with default_custom_order (#151) Before this patch, `ros2 param dump` and `rqt_reconfigure` would not work: ``` ros2 run opennav_coverage opennav_coverage ros2 lifecycle set /coverage_server configure ros2 lifecycle set /coverage_server activate ros2 param dump /coverage_server /coverage_server: ros__parameters: {} ``` After this patch, `ros2 param dump` works as expected: ``` ros2 param dump /coverage_server /coverage_server: ros__parameters: /bond_disable_heartbeat_timeout: true action_server_result_timeout: 10.0 ... ``` Signed-off-by: Ramon Wijnands <[email protected]> Co-authored-by: Copilot <[email protected]> Adapted for jazzy: nav2_util::declare_parameter_if_not_declared. (cherry picked from commit 7942d38) Signed-off-by: u33549 <[email protected]> * Add a useful error if the headland is too large (#150) Signed-off-by: Ramon Wijnands <[email protected]> (cherry picked from commit 04858cf) Signed-off-by: u33549 <[email protected]> * Fix dependencies missing from package.xml (#153) Adapted for jazzy: nav2_ros_common and nav2_bt_navigator are not used on jazzy and are left out. Also declares and includes ament_index_cpp in the navigator, the non-CI part of #163 (cherry picked from commit eb43d10). (cherry picked from commit 2fb8254) Signed-off-by: u33549 <[email protected]> * Make visualizers transient_local (#155) Signed-off-by: Alireza Moayyedi <[email protected]> Adapted for jazzy: the headland_swaths publisher does not exist here. (cherry picked from commit aa04819) Signed-off-by: u33549 <[email protected]> * Set headers on generated coverage path poses (#159) * Set headers on generated coverage path poses Signed-off-by: Bram Odrosslij <[email protected]> * Set pose headers in the PathState converter Signed-off-by: Bram Odrosslij <[email protected]> --------- Signed-off-by: Bram Odrosslij <[email protected]> Adapted for jazzy: keeps jazzy's existing SWATH densify check in TesttoNavPathMsg. (cherry picked from commit c4c1225) Signed-off-by: u33549 <[email protected]> --------- Signed-off-by: u33549 <[email protected]> Co-authored-by: Bryan Bush <[email protected]> Co-authored-by: Joey Quinlan <[email protected]> Co-authored-by: Andrei Jedancov <[email protected]> Co-authored-by: Ramon Wijnands <[email protected]> Co-authored-by: Tim Clephas <[email protected]> Co-authored-by: Alireza Moayyedi <[email protected]> Co-authored-by: Bram O <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Before this patch,
ros2 param dumpandrqt_reconfigurewould not work:After this patch,
ros2 param dumpworks as expected:Tested on jazzy-v2, cherry-picked on main (not tested on main, I needed to resolve conflicts in the rebase).