We're a group of students working on our bachelor's degree, We encountered a problem where we need to generate a sequence of trajectory goals (pose,velocity,acc) (Collision free) for a 6 D.O.F robot arm using ROS's moveit while the robot model and collisions are set in Rviz's environment, the main objective is for the robot to hit a ball with a racket so that's why we need to send a sequence of goals so that it can apply the hitting force to the ball and not just go to the ball's position and have zero acc when reaching it.
Please, any help would be appreciated:)