Add costmap_2d package sources

Convert navigations/costmap_2d from gitlink to normal tracked files.
This commit is contained in:
2026-05-28 10:44:00 +07:00
parent 167c52aeb6
commit c478cbee78
72 changed files with 11576 additions and 1 deletions

View File

@@ -0,0 +1,29 @@
<launch>
<test time-limit="10" test-name="footprint_test" pkg="costmap_2d" type="footprint_tests">
<param name="unpadded/string/footprint_padding" value="0" />
<param name="unpadded/footprint" value="[[1, 1], [-1, 1], [-1, -1]]" />
<param name="padded/string/footprint_padding" value=".5" />
<param name="padded/footprint" value="[[1, 1], [-1, 1], [-1, -1]]" />
<param name="radius/sub/footprint_padding" value="0" />
<param name="radius/robot_radius" value="10" />
<rosparam ns="xmlrpc">
footprint_padding: 0
footprint: [[0.1, 0.1], [-0.1, 0.1], [-0.1, -0.1], [0.1, -0.1]]
</rosparam>
<rosparam ns="xmlrpc_fail"> <!-- Footprint includes a 3-value point, which should make it fail. -->
footprint_padding: 0
footprint: [[0.1, 0.1], [-0.1, 0.1, 77.0], [-0.1, -0.1], [0.1, -0.1]]
</rosparam>
<param name="same_level/footprint_padding" value="0" />
<param name="same_level/footprint" value="[[1, 2], [3, 4], [5, 6]]" />
<param name="empty/empty" value="0" /> <!-- just so you can see there are no real params under "empty". -->
</test>
</launch>