OpenRoberta / robertalab-ev3dev

roberta lab connector for ev3dev
Apache License 2.0
17 stars 14 forks source link

OpenRoberta/robertalab#748 added other power consumer #63

Closed boonto closed 6 years ago

boonto commented 6 years ago

The time.sleep(0.5) was the essential part, otherwise the write permissions were not set yet.

codecov-io commented 6 years ago

Codecov Report

Merging #63 into develop will decrease coverage by 0.69%. The diff coverage is 31.57%.

Impacted file tree graph

@@            Coverage Diff             @@
##           develop      #63     +/-   ##
==========================================
- Coverage    62.75%   62.06%   -0.7%     
==========================================
  Files            7        7             
  Lines         1364     1384     +20     
==========================================
+ Hits           856      859      +3     
- Misses         508      525     +17
Impacted Files Coverage Δ
roberta/ev3.py 38.86% <31.57%> (-0.85%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update cd4a7a4...624c3e3. Read the comment docs.

ensonic commented 6 years ago

Thanks! Is this ready? Or do we need some action/sensor blocks too?

boonto commented 6 years ago

No additional blocks are needed, the "motor on speed"/"set motor speed"/"get speed"/"stop motor" blocks work. I tested it with one EV3, NXT and RCX motor each as well as LEDs.

I also added a reference for the waiting.

ensonic commented 6 years ago

Thanks.