moveit / moveit_visual_tools

Helper functions for displaying and debugging MoveIt! data in Rviz via published markers
BSD 3-Clause "New" or "Revised" License
151 stars 102 forks source link

can't find publishTrajectoryLine function #37

Closed huiwenzhang closed 5 years ago

huiwenzhang commented 6 years ago

Hi, I am using ros indigo. I installed the moveit_visual_tools package with command sudo apt install ros-indigo-moveit-visual-tools and found that functions provided by the package is not consistent with the API page. So I guess maybe the installed version is too old. Then I download the source code and complied it on the indigo-devel branch. However, when I using the publishTrajectoryLine funciton, throwing errors:

error: no matching function for call to ‘moveit_visual_tools::MoveItVisualTools::publishTrajectoryLine(moveit_msgs::RobotTrajectory&, const moveit::core::JointModelGroup*&)’
   visual_tools.publishTrajectoryLine(my_plan.trajectory_, joint_model_group);

What is happening there? Besides, I found a lot of easy to use functions in kinetic version, such as `publishText(), visual_tools.trigger()'. But the indigo version package does not provide these APIs. Do you have plan to update it and make it more consistent with APIs in kinetic version?

davetcoleman commented 5 years ago

We're not supporting Indigo anymore (its been 5 years) but I think this has been fixed in newer versions. You're always welcome to make a PR though