Closed yutotnh closed 1 year ago
build-and-test (windows-latest)で警告が出てきた
警告内容はまっとうなため、代入する定数をdouble型からfloat型にしたい
https://github.com/yutotnh/spirit/blob/9b64df44e533d452446db29feddb89f89649aa88/include/Motor.h#L282-L284
static constexpr float Kp = 1.0F; // 暫定 static constexpr float Ki = 0.1F; // 暫定 static constexpr float Kd = 0.01F; // 暫定
なぜ機能が欲しいのか
build-and-test (windows-latest)で警告が出てきた
警告内容はまっとうなため、代入する定数をdouble型からfloat型にしたい
提案の説明
変更後
https://github.com/yutotnh/spirit/blob/9b64df44e533d452446db29feddb89f89649aa88/include/Motor.h#L282-L284
変更前
その他