CR5 to follow a trajectory in ros


#1

I tried to use ROS Rviz and get it to move from J1 to J2 but it goes from J1(current state) to Home Position and then Goes to J2. Is there a way to make it move from J1 to J2 joint state?

Also,Is there a way to move it in a predefined trajectory?