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