1
$\begingroup$

i am trying to connect Blender game engine to a PLC(programable logic controller) so i can control a robot with blender game engine, i dont know where to start to take de bge data outside of blender, get the object rotation/speed/scale and variables data outside of blender to connect it to matlab or the python console in windows, where should i look?, what i need to learn to do this data extraction, i know how to use python scripting inside bge already, i just need to know how to begin extracting data outside of blender.

$\endgroup$
1
$\begingroup$

You have to comunicate to your plc by a python socket (import socket) and stripe whatever you are sending from your local port (arduino) or the local port on you have the plc.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.