dlech on master
Fixed broken link (#428) (compare)
@KWSmit Cool project! And thank you for your code, i am able to do a simple Motor sanity check. I understand why i got that Device Not Connected or not found error. I was trying to step into the code and there is no device "simulator" sort of environment or library on the VS Code. How do you usually do debugging? print() statements or any special configs to step through the code in real-time?
mtr.motor.wait_until_not_moving()function is not a blocking function when in the docs it says it is..Maybe i am missing something. No wonder Kees implemented his own wait function in his project called
wait_while_motors_running(). Since i just got my PiStorms a couple of days back, still got a lot of reading and trying to do.. I will read up the remote debugging technique as mentioned by @KWSmit and @omartin2010 . thank you.
brake. This are the only two disadvantages of PiStorms.
@KWSmit have not explored too much of the APIs but since i am able to do remote debugging now, things can proceed better. Probably will need to wait until the weekend to find the time to play around further.
wait_while_motors_running, the wait functions and the stop actions such as
brake are working fine in the EV3 block? I only have the PiStorms. Btw, I tried using the
motor.is_running flag to implement a custom wait.. Seems like the flag will need at least 4 to 5 ms "response time" to toggle but it can be a hit or a miss at those timings. 10ms is much safer.