Closed psychemedia closed 4 years ago
It would be useful to support the automatic loading in of ev3dev package components. For example:
ev3dev
from ev3dev2.motor import MoveSteering, MoveTank, OUTPUT_B, OUTPUT_C from ev3dev2.sensor import INPUT_1, INPUT_2, INPUT_3, INPUT_4 from ev3dev2.sensor.lego import ColorSensor, GyroSensor, UltrasonicSensor
It might also be useful to declare predefined drive controls and named sensors, for example:
tank_turn = steering_drive = MoveSteering(OUTPUT_B, OUTPUT_C) tank_drive = MoveTank(OUTPUT_B, OUTPUT_C) ultrasonic = UltrasonicSensor(INPUT_1) colorLeft = ColorSensor(INPUT_2) colorRight = ColorSensor(INPUT_3) gyro = GyroSensor(INPUT_4)
It would be useful to support the automatic loading in of
ev3dev
package components. For example:It might also be useful to declare predefined drive controls and named sensors, for example: