So, I'm just guessing here, but If You will use Raspberry Pi or Arduino, I would advice You to program it in Python, that is a wide used and well documented language. And, most important, is the language RoboDK is written.
RoboDK has Mecademic post processor, that generates its robot programs in Python as well.
So a good start would You making a copy of Mecademic post processor and customizing it to Your needs.
RoboDK has Mecademic post processor, that generates its robot programs in Python as well.
So a good start would You making a copy of Mecademic post processor and customizing it to Your needs.