This ROS package is used to plot the (robot's) path in rviz form a geometry_msgs::PoseStamped topic.
Usage
-
rosrun the plot_path node.
rosrun plot_path plot_path_node /pose_input_topic_name (/path_output_topic_name) (output_path_frame_id)
The default
path_output_topic_name
is /plotted_path, and the defaultoutput_path_frame_id
is same as the frame_id of the input topic. -
Then launch the rviz, create the Path visualization(click the
Add
button left down.). Then you will see the path shows in the rviz!