Skip to content

Another sysid crash #8579

@me-it-is

Description

@me-it-is

Sysid crashing trying to analyze data

To Reproduce

  1. be on linux
  2. Load the log
  3. Select sysid-test-state-Shooter
  4. For Voltage select NT:Telemetry/m_robotContainer/Shooter/getHoodVoltage
  5. For Position select NT:Telemetry/m_robotContainer/Shooter/getHoodPositionRotations
  6. For Velocity select NT:Telemetry/m_robotContainer/Shooter/getHoodVelocityRotationsPerSecond
  7. Select simple analysis mode
  8. Select the units to be in rotations
  9. press load
  10. Sysid crashes with
    ``
    ...
    INFO: Updating feedback gains (Analyzer.cpp:83)
    sysid: /work/thirdparty/imgui_suite/imgui/cpp/imgui_widgets.cpp:2995: bool ImGui::SliderBehavior(const ImRect&, ImGuiID, ImGuiDataType, void*, const void*, const void*, const char*, ImGuiSliderFlags, ImRect*): Assertion `(const float)p_min >= -3.40282346638528859811704183484516925e+38F / 2.0f && (const float)p_max <= 3.40282346638528859811704183484516925e+38F / 2.0f' failed.```

On macos sysid throws this error Not enough data to run Acceleration Calculation which has a window size of 3. Please verify that your units and data is reasonable and then adjust your velocity threshold. test duration, and.or window size to try to fix this issue.

Expected behavior
Sysid should not crash

Desktop (please complete the following information):

  • OS: Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions