forked from AutomotiveAIChallenge/aichallenge-2024
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* launch costmap_generator Signed-off-by: Autumn60 <[email protected]> * add costmap to rviz Signed-off-by: Autumn60 <[email protected]> --------- Signed-off-by: Autumn60 <[email protected]>
- Loading branch information
Showing
4 changed files
with
431 additions
and
87 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
...rkspace/src/aichallenge_submit/booars_launch/config/planning/costmap_generator.param.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/**: | ||
ros__parameters: | ||
update_rate: 10.0 | ||
map_frame_id: "map" | ||
costmap_center_frame_id: "base_link" | ||
costmap_width: 50.0 | ||
costmap_resolution: 0.2 | ||
multi_layered_costmap: | ||
layers: | ||
- "lanelet_layer" | ||
- "predicted_object_layer" | ||
lanelet_layer: | ||
type: "lanelet" | ||
map_topic: "/map/vector_map" | ||
predicted_object_layer: | ||
type: "predicted_object" | ||
predicted_objects_topic: "/perception/object_recognition/objects" | ||
distance_threshold: 1.0 |
This file contains 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
3 changes: 3 additions & 0 deletions
3
...c/aichallenge_submit/costmap/booars_costmap_generator/launch/costmap_generator.launch.xml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
<launch> | ||
<arg name="config_file" default="$(find-pkg-share booars_costmap_generator)/config/costmap_generator.param.yaml"/> | ||
|
||
<arg name="costmap_topic" default="~/costmap"/> | ||
|
||
<node pkg="booars_costmap_generator" exec="costmap_generator_node" name="costmap_generator" output="screen"> | ||
<param from="$(var config_file)"/> | ||
<remap from="~/output/costmap" to="$(var costmap_topic)"/> | ||
</node> | ||
</launch> |
Oops, something went wrong.