A cloud-to-edge approach to support predictive analytics in robotics industry