https://github.com/moveit/moveit2_tutorials/blob/main/doc/tutorials/visualizing_in_rviz/hello_moveit.cpp
-
line 1 : change "#include <moveit/move_group_interface/move_group_interface.hpp>" to
"#include <moveit/move_group_interface/move_group_interface.h>"
.hpp to .h
-
line73 "draw_trajectory_tool_path(plan.trajectory)" to "draw_trajectory_tool_path(plan.trajectory_)"