Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 32 additions & 11 deletions mesh_navigation_tutorials/config/mbf_mesh_nav.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ move_base_flex:
planners: ['mesh_planner']
mesh_planner:
type: 'cvp_mesh_planner/CVPMeshPlanner'
cost_limit: 0.8
cost_limit: 2.0 # inscribed radius has inf values. so they will be avoided independent on how we select this value
publish_vector_field: true

planner_patience: 10.0
planner_max_retries: 2
project_path_onto_mesh: false
Expand All @@ -31,38 +32,58 @@ move_base_flex:

mesh_map:
# input
# mesh_file: '/home/amock/mesh_nav_ws/src/mesh_navigation_tutorials/mesh_navigation_tutorials/maps/parking_garage.ply'
# In this examples, `mesh_file` is set dynamically from the launch file.
# you can also set it statically:
# mesh_file: '.../parking_garage.ply'
mesh_part: '/'
# storage
# mesh_working_file: 'parking_garage.h5'
mesh_working_part: 'mesh'

# half-edge-mesh implementation
hem: pmp # pmp (default), lvr
# pmp (default), lvr
hem: pmp

# compute each layer's vertex costs in the following order
layers: ['border', 'height_diff', 'roughness', 'inflation']
# After computing the layers, a final combined vertex cost is determined by linearly combine all layers' vertex costs:
# -> vertex_cost = layer1.combination_weight * layer1.vertex_cost + layer2.combination_weight * layer2.vertex_cost + ...
# The lethal vertices are accumulated in a set along the layer list

height_diff:
type: 'mesh_layers/HeightDiffLayer'
factor: 1.0
combination_weight: 0.0
threshold: 0.8

border:
type: 'mesh_layers/BorderLayer'
factor: 1.0
combination_weight: 0.0
border_cost: 1.0
threshold: 0.2

roughness:
type: 'mesh_layers/RoughnessLayer'
factor: 1.0
combination_weight: 0.0
threshold: 0.8

inflation:
type: 'mesh_layers/InflationLayer'
factor: 1.0
inflation_radius: 0.5
inscribed_radius: 0.7
lethal_value: 1.0
inscribed_value: 0.6
combination_weight: 1.0
inflation_radius: 1.5 # outer ring
inscribed_radius: 0.4 # inner ring
lethal_value: 1.0 # is also inscribed value
inscribed_value: 1.0
repulsive_field: false
cost_scaling_factor: 2.0

# An edge cost equals the total costs that are collected along a
# triangle's edge by linearly interpolating the combined vertex costs
# This factor defines the factor that is used for the final edge weight
# -> edge_weight = edge_length + edge_cost_factor * edge_cost
# This edge_weight is then passed to the global planner to search for
# the best path
# Note: Set this to 0.0 if you need the shortest path
edge_cost_factor: 5.0

# debug function: enable this, for publishing text markers with edge costs
publish_edge_weights_text: false
66 changes: 0 additions & 66 deletions mesh_navigation_tutorials/maps/floor_is_lava.dae

This file was deleted.

Binary file removed mesh_navigation_tutorials/maps/floor_is_lava.h5
Binary file not shown.
243 changes: 0 additions & 243 deletions mesh_navigation_tutorials/maps/floor_is_lava_s3.dae

This file was deleted.

Binary file removed mesh_navigation_tutorials/maps/floor_is_lava_s3.h5
Binary file not shown.
Binary file removed mesh_navigation_tutorials/maps/floor_is_lava_s3.ply
Binary file not shown.
56 changes: 0 additions & 56 deletions mesh_navigation_tutorials/maps/parking_garage.dae

This file was deleted.

Binary file removed mesh_navigation_tutorials/maps/parking_garage.h5
Binary file not shown.
Binary file modified mesh_navigation_tutorials/maps/parking_garage.ply
Binary file not shown.
211 changes: 0 additions & 211 deletions mesh_navigation_tutorials/maps/parking_garage_s4.dae

This file was deleted.

Binary file removed mesh_navigation_tutorials/maps/parking_garage_s4.h5
Binary file not shown.
Binary file removed mesh_navigation_tutorials/maps/parking_garage_s4.ply
Binary file not shown.
66 changes: 0 additions & 66 deletions mesh_navigation_tutorials/maps/tray.dae

This file was deleted.

Binary file removed mesh_navigation_tutorials/maps/tray.h5
Binary file not shown.
243 changes: 0 additions & 243 deletions mesh_navigation_tutorials/maps/tray_s4.dae

This file was deleted.

Binary file removed mesh_navigation_tutorials/maps/tray_s4.h5
Binary file not shown.
Binary file removed mesh_navigation_tutorials/maps/tray_s4.ply
Binary file not shown.
4 changes: 2 additions & 2 deletions mesh_navigation_tutorials/rviz/default.rviz
Original file line number Diff line number Diff line change
Expand Up @@ -132,13 +132,13 @@ Visualization Manager:
Value: Vertex Costs
Vertex Color Service Name: get_vertex_colors
Vertex Colors Topic:
Depth: 1
Depth: 10
Durability Policy: Transient Local
History Policy: Keep Last
Reliability Policy: Reliable
Value: /move_base_flex/vertex_colors
Vertex Costs Topic:
Depth: 1
Depth: 10
Durability Policy: System Default
History Policy: Keep All
Reliability Policy: System Default
Expand Down