ev3dev-lang-python and rpyc
See original GitHub issueHi! I am using ev3dev-jessie-ev3-generic-2016-10-17 with Windows 10 x64. RPyC version 3.3 USB connection
I am trying the new python binding (rhempel) with rpyc. No success. 😦 My code is:
import rpyc
conn = rpyc.classic.connect("192.168.137.3")
ev3devremote = conn.modules.ev3dev
import ev3devremote.ev3 as ev3
ts = ev3.TouchSensor()
while True:
ev3.Leds.set_color(ev3.Leds.LEFT, (ev3.Leds.GREEN, ev3.Leds.RED)[ts.value()])
The connection with the rpyc server seems OK (welcome, accepted, etc)
I get the error:
no module named 'ev3devremote'
However a similar code worked in the old python binding (ddemidov)
import rpyc
c=rpyc.classic.connect("192.168.137.3")
ev3dev=c.modules.ev3dev
m = ev3dev.large_motor('outA')
m.connected
m.run_timed(time_sp=3000, duty_cycle_sp=75)
I make a silly error? Any incompatibility with the new binding?
Help! 😕
DJuego
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Working with ev3dev remotely using RPyC
Install RPyC both on the EV3 and on your desktop PC. For the EV3, enter the following command at the command prompt (after...
Read more >RPyC - ev3python - Google Sites
Getting ready for a programming workflow based on using RPyC with your python IDE rather than using a terminal. Before you can use...
Read more >ev3dev-python-and-rpyc.md - GitHub Gist
Operating ev3dev remotely with ev3dev-python and rpyc. Install rpyc both on the ev3 and on your desktop computer with. sudo easy_install3 rpyc.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The remote import line should be
Here is a small tutorial I’ve used recently: https://gist.github.com/ddemidov/63dab1dd1b91b493a7752c76e055b5c0
Ah, cool; I wasn’t sure if Gitter would notify you or if you would have to check manually.
I think we should make it general practice to not push anything directly to
master
without going throughdevelop
, simply because I don’t think that we should be merging frommaster
(which is our “complete” branch) backwards into the one for development. How 'bout we make the addition indevelop
and then work on getting another release out (à la #233)?