Industrial applications with robotic manipulators have grown and made production systems increasingly efficient. However, there are still some limitations that can delay production, causing losses. Several factors, such as accidents and collisions of manipulator robots with operators and other machines, can cause unforeseen stops. Thus, this work aims to develop a trajectory planning method to avoid collisions applied to a selective compliance assembly robot arm (SCARA) robotic manipulator in the context of collaborative robotics. The main contribution of this paper is a path planning method based on mathematical morphology, named topological path planning (TPP). Through some evaluation metrics such as the number of path points, computing time, distance, standard deviation of the joint acceleration, and maximum acceleration rate along the path, we show that TPP is a collision-free, deterministic, and predictable route planning. In our experiments, our proposal presented better results for applications in industrial robotic manipulators when compared to the probabilistic roadmap method (PRM) and TPP*, a particular case of TPP that is similar to the generalized Voronoi diagram (GVD).