A Lightweight Robotic Device for the Inspection of Railway Pantograph