Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

catkin build error in moveit_calibration_gui #107

Open
Timbersaw-wangzw opened this issue Dec 15, 2021 · 4 comments
Open

catkin build error in moveit_calibration_gui #107

Timbersaw-wangzw opened this issue Dec 15, 2021 · 4 comments

Comments

@Timbersaw-wangzw
Copy link

There are several errors when I build moveit_calibration_gui. The part of the log file is
/home/wangziwei/ws_moveit_cal/src/moveit_calibration/moveit_calibration_gui/handeye_calibration_rviz_plugin/src/handeye_context_widget.cpp: In member function ‘void moveit_rviz_plugin::ContextTabWidget::updateAllMarkers()’: /home/wangziwei/ws_moveit_cal/src/moveit_calibration/moveit_calibration_gui/handeye_calibration_rviz_plugin/src/handeye_context_widget.cpp:304:16: error: ‘class rviz_visual_tools::TFVisualTools’ has no member named ‘clearAllTransforms’; did you mean ‘publishAllTransforms’? tf_tools_->clearAllTransforms(); ^~~~~~~~~~~~~~~~~~ publishAllTransforms /home/wangziwei/ws_moveit_cal/src/moveit_calibration/moveit_calibration_gui/handeye_calibration_rviz_plugin/src/handeye_context_widget.cpp:354:81: error: no matching function for call to ‘moveit_visual_tools::MoveItVisualTools::publishMesh(Eigen::Isometry3d&, shape_msgs::Mesh&, rviz_visual_tools::colors, double, const char [4], int)’ visual_tools_->publishMesh(fov_pose_, mesh, rvt::YELLOW, 1.0, "fov", 1); ^ In file included from /home/wangziwei/ws_moveit_cal/src/moveit_calibration/moveit_calibration_gui/handeye_calibration_rviz_plugin/include/moveit/handeye_calibration_rviz_plugin/handeye_context_widget.h:57:0, from /home/wangziwei/ws_moveit_cal/src/moveit_calibration/moveit_calibration_gui/handeye_calibration_rviz_plugin/src/handeye_context_widget.cpp:37: /opt/ros/melodic/include/rviz_visual_tools/rviz_visual_tools.h:829:8: note: candidate: bool rviz_visual_tools::RvizVisualTools::publishMesh(const Isometry3d&, const string&, rviz_visual_tools::colors, double, const string&, std::size_t) bool publishMesh(const Eigen::Isometry3d& pose, const std::string& file_name, colors color = CLEAR, double scale = 1, ^~~~~~~~~~~ /opt/ros/melodic/include/rviz_visual_tools/rviz_visual_tools.h:829:8: note: no known conversion for argument 2 from ‘shape_msgs::Mesh {aka shape_msgs::Mesh_<std::allocator<void> >}’ to ‘const string& {aka const std::__cxx11::basic_string<char>&}’ /opt/ros/melodic/include/rviz_visual_tools/rviz_visual_tools.h:831:8: note: candidate: bool rviz_visual_tools::RvizVisualTools::publishMesh(const Pose&, const string&, rviz_visual_tools::colors, double, const string&, std::size_t) bool publishMesh(const geometry_msgs::Pose& pose, const std::string& file_name, colors color = CLEAR, ^~~~~~~~~~~ /opt/ros/melodic/include/rviz_visual_tools/rviz_visual_tools.h:831:8: note: no known conversion for argument 1 from ‘Eigen::Isometry3d {aka Eigen::Transform<double, 3, 1>}’ to ‘const Pose& {aka const geometry_msgs::Pose_<std::allocator<void> >&}’
Could you help me to solve those errors? Thank you!

@snopytas
Copy link

Hi, I had the same issue: You need to compile rviz_visual_tools (master branch) https://github.com/PickNikRobotics/rviz_visual_tools/ from source.

@DiegoCarvajal98
Copy link

DiegoCarvajal98 commented Nov 24, 2022

I'm getting the same error even after I compiled rviz_visual_tools from source. I hope someone can help.

@elishafer
Copy link

@DiegoCarvajal98 have you succeeded compiling?

@DiegoCarvajal98
Copy link

Sorry, it was part of the problem but issue #23 solved everything

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants