Skip to content

[velocity smoother] Deceleration limit not applied when command timeout #3481

@BriceRenaudeau

Description

@BriceRenaudeau

Bug report

Required Info:

  • Operating System:
    • Ubuntu 22.04
  • ROS2 Version:
    • Humble
  • Version or commit hash:
    • last release
  • DDS implementation:
    • cycloneDDS

Steps to reproduce issue


Expected behavior

When the command timeout, the smoother sends a deceleration slope using the deceleration limit.

Actual behavior

When the command timeout, the smoother sends a 0 velocity command.

Additional information

Tested on real robot using this config:

{"smoothing_frequency": 20.0},
{"scale_velocities": False},
{"feedback": "OPEN_LOOP"},
{"max_velocity": [0.5, 0.0, 0.8]},
{"min_velocity": [-0.5, 0.0, -0.8]},
{"velocity_timeout": 0.5},
{"max_accel": [1.0, 0.0, 1.2]},
{"max_decel": [-1.0, 0.0, -1.2]}

nav2_smoother_no_decel_timeout

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions