Skip to content

max_deceleration_reverse parameter does not default to max_deceleration #2029

@Timple

Description

@Timple

It's promised here:

description: "Maximum deceleration in reverse direction. If not set, -max_deceleration will be used.",

The first nan check happens here I think:

https://github.com/ros-controls/control_toolbox/blob/33843ee427db3bf12d159995754580e2d5387066/control_toolbox/include/control_toolbox/rate_limiter.hpp#L210..L213

    if (std::isnan(max_first_derivative_neg_))
    {
      max_first_derivative_neg_ = max_first_derivative_pos_;
    }

Which is not the implementation promised.

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