LoginSignup
1
0

More than 1 year has passed since last update.

miniscriptの作法 その2

Posted at

概要

miniscript見つけたので、やってみた。
ライントレース、やってみた。

参考にしたページ。

写真

image.png

サンプルコード

for i in range(0, 100000)
   ref = ev3_color_sensor_get_reflect
   if ref < 18 then
      ev3_motor_set_power_left 30
      ev3_motor_set_power_right 10
   else
      ev3_motor_set_power_left 10
      ev3_motor_set_power_right 30
   end if
   yield
end for

以上。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0