rviz Trajectory Visualization
This package offers customizable traces for task space trajectories in rViz. It uses Marker display types to show the end-effector position (or any other task space position) as it traverses through space. It’s configurable in that you can choose the color and line style of the trace (solid or dotted). It also allows you to visualize many trajectories at once, e.g. if you have samples from a distribution of trajectories. I have also implemented visualization of a full pose so that a Cartesian frame shows the pose over time, and also a static trace of poses so the entire pose trajectory can be seen at once.
This package additionally has some action servers/clients (joint and task space) for commanding trajectories. These can be used to track the status of a trajectory being executed and publish interpolated waypoints to a low-level controller.
Here is a video of a couple different visualization styles:
Here is a visualization of samples from a ProMP policy and one of the samples being executed with a mesh overlay of the robot: