Problems with moveit_msgs [closed]
Hi everybody, I have moved my robot using moveit package, however, now I'm trying to display the path using these lines:
ros::Publisher display_publisher = node_handle.advertise<moveit_msgs::DisplayTrajectory>("/move_group/display_planned_path", 1, true);
moveit_msgs::DisplayTrajectory display_trajectory;
and I get this error while compiling
error: ‘DisplayTrajectory’ is not a member of ‘moveit_msgs’
do you know what is going on?
Do you include
moveit_msgs
? Maybe you want to share the entire code.I have this: