Anomaly detection in industrial robotic arms using edge-based IoT systems