Skip to content

Commit

Permalink
feat(probablisitic_occupancy_grid_map): add scan_frame option for gri…
Browse files Browse the repository at this point in the history
…dmap generation (autowarefoundation#3032)

* add scan_frame and raytrace center

Signed-off-by: yoshiri <yoshiyoshidetteiu@gmail.com>

* add scan frame to laserscan based method

Signed-off-by: yoshiri <yoshiyoshidetteiu@gmail.com>

* update readme

Signed-off-by: yoshiri <yoshiyoshidetteiu@gmail.com>

* fix typo

Signed-off-by: yoshiri <yoshiyoshidetteiu@gmail.com>

* update laucher in perception_launch

Signed-off-by: yoshiri <yoshiyoshidetteiu@gmail.com>

* fix config and launch file

Signed-off-by: yoshiri <yoshiyoshidetteiu@gmail.com>

* fixed laserscan based launcher

Signed-off-by: yoshiri <yoshiyoshidetteiu@gmail.com>

---------

Signed-off-by: yoshiri <yoshiyoshidetteiu@gmail.com>
  • Loading branch information
YoshiRi authored and LeoDriveProject committed Apr 7, 2023
1 parent 33e1a44 commit 719be0e
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ def launch_setup(context, *args, **kwargs):
param_file = LaunchConfiguration("param_file").perform(context)
with open(param_file, "r") as f:
laserscan_based_occupancy_grid_map_node_params = yaml.safe_load(f)["/**"]["ros__parameters"]
laserscan_based_occupancy_grid_map_node_params["input_obstacle_pointcloud"] = bool(
LaunchConfiguration("input_obstacle_pointcloud").perform(context)
)
laserscan_based_occupancy_grid_map_node_params["input_obstacle_and_raw_pointcloud"] = bool(
LaunchConfiguration("input_obstacle_and_raw_pointcloud").perform(context)
)

composable_nodes = [
ComposableNode(
Expand Down

0 comments on commit 719be0e

Please sign in to comment.