Skip to content

limiting_speed has a mistake #25978

@wczrui

Description

@wczrui

Did you test the latest bugfix-2.1.x code?

Yes, and the problem still exists.

Bug Description

The expression of variable limiting_speed has a mistake at line 301 in G2_3.cpp. The dimension of limiting_speed is mm_per_s, but the dimension of planner.settings.max_acceleration_mm_per_s2[axis_q] is mm_per_s2.
Please check it.

Bug Timeline

new bug

Expected behavior

limiting_speed = _MIN(planner.settings.max_feedrate_mm_s[axis_p], planner.settings.max_feedrate_mm_s[axis_q])

Actual behavior

limiting_speed = _MIN(planner.settings.max_feedrate_mm_s[axis_p], planner.settings.max_acceleration_mm_per_s2[axis_q])

Steps to Reproduce

No

Version of Marlin Firmware

2.1.2.1

Printer model

No response

Electronics

No response

Add-ons

No response

Bed Leveling

None

Your Slicer

None

Host Software

None

Don't forget to include

  • A ZIP file containing your Configuration.h and Configuration_adv.h.

Additional information & file uploads

No response

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