rogy-AquaLab / omniboat_robokit

新歓で使うロボキット
https://rogy-aqualab.github.io/omniboat_robokit/
Apache License 2.0
0 stars 0 forks source link

`joy_read`の引数を消す #159

Closed H1rono closed 7 months ago

H1rono commented 7 months ago

56 より

src/schneider_model.cpp:102: [high:error] 2 adjacent parameters of 'joy_read' of convertible types are easily swapped by mistake  [bugprone-easily-swappable-parameters,-warnings-as-errors]

呼び出しもと↓

https://github.com/rogy-AquaLab/omniboat_robokit/blob/07063cea08782229fdc9755e4cab6a4b86de62cf/src/schneider_model.cpp#L74

なので、joy_read内でadcInN.readを呼んでしまえばいい

151 と一緒に解決したい