Real-time obstacle avoidance for manipulators and mobile robots | Synapse