-
-
Notifications
You must be signed in to change notification settings - Fork 431
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Portenta X8 RPC tutorial is not working at all #2094
Comments
I am having the same issue on version 881. I will keep tinkering however the lack of support is ... depressing. Someone please help us fix this. I can only imagine the hours collectively wasted on this issue. |
Hello @Timespansoul and @michelgokan We just released a new version of the tutorial last week that hopefully will improve this user experience: Please take into account that this github repository is not the official arduino support and therefore resolutions can take more time than in our professional support. Please contact my colleagues from support at: https://www.arduino.cc/en/contact-us/ who will check and try to assist you with all you need. We will also double check the information provided here and make changes if needed, thank you for pointing out these problems! Regards |
Hello, just an update, Arduino is working on addressing this issue during the following weeks, thanks! |
Hello @michelgokan I can confirm this is part of the development future plan, therefore content will be updated accordingly when improvements regarding RPC are addressed. Please contact our support team in case you need additional help! https://www.arduino.cc/en/contact-us/ thanks! |
Hi @jcarolinares, Thanks. Well, I was in contact with the support for a long time but they weren't very helpful in finding and resolving this issue. I know many people have this exact problem; you can check this thread here: https://forum.arduino.cc/t/portenta-x8-rpc-tutorial-is-not-working-on-the-latest-firmware/1286747/2 I had to switch our entire tech stack away from X8, just because of this problem. Please let me know if there is a remedy and I may be able to switch back. |
I followed this tutorial to establish a "Data Exchange Between Python on Linux & Arduino Sketch": https://docs.arduino.cc/tutorials/portenta-x8/python-arduino-data-exchange/
I've tried going through the tutorial with both the latest firmware image (861 (Release arduino-91.2)) and also 746 version, on my Portenta X8, tried both with and without the mid-carrier board.
I have
py-serialrpc
running as follows:this is the output of my
sudo journalctl -u m4-proxy -f
:Here is the Arduino Sketch code according to the
python-sensor-rpc
mentioned in the tutorial without any sensors:...and here is the python code:
Here is the Dockerfile:
...and here is the docker-compose.yml:
I basically haven't changed anything in the original
python-sensor-rpc.zip
andpy-serialrpc.zip
files, except for in py-serialrpc I also pip installedbackports.ssl_match_hostname
andbackports.weakref
packages. So no change whatsoever in the code.Here is the error after bringing up the container:
...I'm now getting this in m4-proxy output:
I don't see any output in
py-serialrpc
output (I had to pip install backports.ssl_match_hostname and backports.weakref to make dockerfile compile though):Any ideas what's wrong and why the code is unable to call the RPC functions? I can't even see any of the Serial outputs neither on
py-serialrpc
output nor Arduino Serial Monitor. Without serial support, this board will be useless for many industrial use cases, including ours.It's very likely that the m4-proxy is not capturing the RPC.bind from the Arduino Sketch side, because I tried a simple client/server on Python side and it was working okay! I'm not sure what's the exact problem :(
The text was updated successfully, but these errors were encountered: