Fixed deprecated versions of robot state publisher