Why would you use 3DGS anyway? It's power is in the 3D rendering IMO, and this isnt needed to program a robot. Standard C with a good IO library is probably the way to go.