1、 Can you give us more details about how to use the subsciption function ? Now we find the messageReceive function does not work and no information is printed.

2、the connection to port 5557 is failed. I can get the parameter by port 5568. I have no idea about this. You can see that sting here3 can't be printed.

I believe you are trying to connect to the wrong port. You can check the ports if you login to your motorcortex-system and open /etc/motorcortex/config/config.json. Their you will find a configuration of the system including the ports.


First is Req/Rep port, second Subscribe port

Another problem which might happen in python is that you can not see the errors which occur inside messageReceive. This is because messageReceive is called by a separate thread, it has its own stack, if the error happens python wont print you any stack trace.

Please try to wrap the code in messageReceive inside "try ".
Please check my example below.

    4 days later
    Write a Reply...