Hi everyone,
I had a question regarding methods to connect CoppeliaSim simulations to
other devices like RaspberryPi. I tired to connect it to CoppeliaSim with
ZMQ Remote API and ran a code on my Pi but there seems to be no output or
response on both the Pi and the laptop I am using to simulate CoppeliaSim
in. And yes, I am using the same network for both, the CoppeliSim is open
and running at time of connection and I have tried using the same port
number and correct IP address. So please tell me what I am missing here?
ZMQ Remote API connection with Raspberry
Re: ZMQ Remote API connection with Raspberry
Hello,
not sure what you are doing wrong. Does the demo scene scenes/messaging/zeromqDemo-lua.ttt work? What about scenes/messaging/zeromqDemo-python.ttt?
Please try to first run the ZeroMQ remote API on your device and check if that works, or what error message you see there.
Cheers
not sure what you are doing wrong. Does the demo scene scenes/messaging/zeromqDemo-lua.ttt work? What about scenes/messaging/zeromqDemo-python.ttt?
Please try to first run the ZeroMQ remote API on your device and check if that works, or what error message you see there.
Cheers
Re: ZMQ Remote API connection with Raspberry
Hi
I have not tried those, I was creating my own new CoppeliaSim scene added a simple object and ran it to test it's commination with the Raspberry Pi. I will try this one "scenes/messaging/zeromqDemo-python.ttt", hope it works. Is there anything specific I must do, or write in my CoppeliaSim for my ZMQ connection to work?
Thank you for you time.
I have not tried those, I was creating my own new CoppeliaSim scene added a simple object and ran it to test it's commination with the Raspberry Pi. I will try this one "scenes/messaging/zeromqDemo-python.ttt", hope it works. Is there anything specific I must do, or write in my CoppeliaSim for my ZMQ connection to work?
Thank you for you time.
Re: ZMQ Remote API connection with Raspberry
Please first try the examples that come with CoppeliaSim. If those do not work, then we need to explore reasons. If they work, then you can get inspiration from them, and build upon them.
Cheers
Cheers
Re: ZMQ Remote API connection with Raspberry
Thank you for your support, I tried the examples in the scene folder. The code I ran on the Pi needed some modifications from the one provided in the file, then it worked. After that I tried the previous method I was using and turns out the connection was being blocked by my windows firewall.
Kind regards
Kind regards