Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

For cross-platform integration, we decide to work with MQTT since we had so many different scripts publishing and subscribing information. It was easy to track and it was very organized because of MQTT's decoupling abilities so it followed the order we wanted. The different entities that we wanted to integrate were; 

1) Codesys :=  where the main program is running(Movement, Codesys visualization)
2) Blender (Python module) := where the 3D simulation/visualization is running
3) VSCode (Stockfish) := where the stockfish engine is initialized and running


Using these platforms, the communication is to run something like this, This is a rough sketch of the flow of our program; 



The green flow highlights playing chess without the hardware so the player Move is controlled by the visualization. The robot Move and player move is updated in the Blender simulation. The other flow is the hardware integrated so the camera, robot, pieces all are taken in account. 

Each section under this theme will cover the following;


  • MQTT setup 
  • MQTT implementation in codesys
  • MQTT implementation in python for blender 
  • MQTT implementation in python with object detection(VScode)