A penalty function method for constrained motion planning | Synapse