Open yutotnh opened 1 year ago
現在、 adjust_duty_cycle() は荒削りで、引数の値が決まった値の範囲内に収まっていないと意図した動作をしなくなるため
adjust_duty_cycle()
以下の処理を追加する
spirit::Motor::State
まだ対応があるのでOpenします。
なぜ機能が欲しいのか
現在、
adjust_duty_cycle()
は荒削りで、引数の値が決まった値の範囲内に収まっていないと意図した動作をしなくなるため提案の説明
以下の処理を追加する
spirit::Motor::State
型の引数spirit::Motor::State
の範囲外 -> Error185 の値より小さい -> Error
その他