Real-Time Adaptive Industrial Robots: Improving Safety And Comfort In Human-Robot Collaboration