Text this: APPA: An adaptation path planning algorithm for real-time obstacle avoidance in multi-robot systems