A new path-constrained trajectory planning strategy for spray painting robots - rev.1