Hello everyone,
I'm experiencing a problem with my CRX robot setup that appears to be linked to building a custom plugin into the IPL file. My Karel programs work flawlessly when run without the plugin, but after I build and deploy the plugin as part of the IPL file, functionality seems to break—specifically with the built‑in function MSG_CONNECT().
Details:
- Environment:
- Robot: CRX-10iA
- Software: V9.40.70
- Plugin: Custom plugin to provide an HMI to send commands to a server via TCP/IP using socket messaging (R648)
- Issue Description:
My socket_setup Karel program (which uses MSG_CONNECT('C3:', status)) runs as expected when the plugin isn’t built into the plugin. It connects to the server and continues without issue. However, once I build and test the plugin within the IPL file, the program appears to “hang” or continuously run at the MSG_CONNECT() call. The expected connection isn’t established, and the rest of my program never executes. - Observations:
- Running the program standalone (i.e., without the IPL plugin built in) works perfectly.
- After building the plugin, the program gets stuck at the MSG_CONNECT() line.
- There are no explicit error messages or status integer change (remains 0)—just a failure to move past the connection phase.
- What I’ve Tried:
- Verified that the Karel code is correct and functions properly when not built with the plugin.
- Confirmed that all file attributes and configurations are as expected.
- Suspect that integrating the plugin might interfere with the robot’s built-in network or connection management functions.
Has anyone encountered similar issues when building plugins into the IPL file? Could the plugin be inadvertently interfering with MSG_CONNECT() or other system resources? Any insights or suggestions on how to isolate or fix the problem would be greatly appreciated.
Thanks in advance for your help!