Skip to content

SmacPlanner hybrid can generate path that pass inside lethal area #4735

@FrGrQuim

Description

@FrGrQuim

Bug report

Required Info:

  • Operating System:
    • Linux (custom)
  • ROS2 Version:
    • Iron sources
  • Version or commit hash:
    • 1.2.9
  • DDS implementation:
    • CycloneDDS

Steps to reproduce issue

  • Get a costmap with obsacles (static or dynamic)
  • Place the robot like in the following picture:

path_inside_lethal

Ask to SmacPlanner to compute a path to an accessible goal.

Expected behavior

SmacPlanner fails to compute a path or give a path that don't pass by the lethal inflation.

Actual behavior

Screenshot from 2024-10-29 14-22-01

Additional information

Planner parameters:

planner_server:
  ros__parameters:
    expected_planner_frequency: 0.1 # 10s
    planner_plugins: ["SmacPlannerHybrid"]
    SmacPlannerHybrid:
      plugin: "nav2_smac_planner/SmacPlannerHybrid"
      max_iterations: -1
      max_planning_time: 30.0              # max time in s for planner to plan, smooth
      minimum_turning_radius: 1.8         # minimum turning radius in m of path / vehicle
      analytic_expansion_max_length: 2.0
      cost_penalty: 100.0
      use_quadratic_cost_penalty: True
      cache_obstacle_heuristic: True

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions