Comments (17)
I was getting the same error in kinetic, but doing sudo apt-get install ros-kinetic-rviz-visual-tools
help me get rid of the error.
from moveit_tutorials.
Your problems seem to boil down to missing knowledge about ROS workspaces and catkin.
packages are not built via cmake
, you have to build the whole workspace via catkin_make
.
This is supposed to be basic knowledge when using MoveIt, so it's not in our instructions, but in the official ROS tutorials at http://wiki.ros.org
from moveit_tutorials.
I have gone through the ros tutorials. Unfortunately they are not very helpful. E.g http://wiki.ros.org/ROS/Tutorials/InstallingandConfiguringROSEnvironment gives practically no useful information on dealing with the moveit packages or workspaces.
I know how to create a new workspace and a package, but there is no information on how to do this for a package that is released like the moveit packages. E.g. what are the dependencies supposed to be?
The Moveit tutorials seem to start from scratch with installation, and I doubt adding workspace and pagkage creation code would be more than a few lines. So there seems to be no reason for leaving out the workspace and package steps, which make it impossible for people trying to learn ROS and Moveit to use.
from moveit_tutorials.
There are more tutorials there. In particular two steps later: http://wiki.ros.org/ROS/Tutorials/CreatingPackage
from moveit_tutorials.
Thanks, I saw that one. But I don't know what the dependencies should be for catkin_create_pkg. The same as the example?
from moveit_tutorials.
From the Tutorial I referenced above:
4. Building a catkin workspace and sourcing the setup file
Now you need to build the packages in the catkin workspace:
$ cd ~/catkin_ws
$ catkin_make
After the workspace has been built it has created a similar structure in the devel subfolder as you usually find under /opt/ros/$ROSDISTRO_NAME.
To add the workspace to your ROS environment you need to source the generated setup file:
$ . ~/catkin_ws/devel/setup.bash
You don't have to create a package, because the tutorial repository you cloned already is the package you want to build
from moveit_tutorials.
Ok, thanks, it's clearer now. But I am getting an error when trying to build using catkin_make:
[ 94%] Building CXX object moveit/moveit_ros/visualization/robot_state_rviz_plugin/CMakeFiles/moveit_robot_state_rviz_plugin_core.dir/moveit_robot_state_rviz_plugin_core_automoc.cpp.o
/home/bmi/Documents/pr2_ws/src/moveit_tutorials/doc/pr2_tutorials/planning/src/move_group_interface_tutorial.cpp: In function ‘int main(int, char**)’:
/home/bmi/Documents/pr2_ws/src/moveit_tutorials/doc/pr2_tutorials/planning/src/move_group_interface_tutorial.cpp:88:16: error: ‘class moveit_visual_tools::MoveItVisualTools’ has no member named ‘loadRemoteControl’
visual_tools.loadRemoteControl();
^
/home/bmi/Documents/pr2_ws/src/moveit_tutorials/doc/pr2_tutorials/planning/src/move_group_interface_tutorial.cpp:96:16: error: ‘class moveit_visual_tools::MoveItVisualTools’ has no member named ‘trigger’
visual_tools.trigger();
^
.... MORE MISSING MEMBER ERRORS .....
[ 94%] Linking CXX executable /home/bmi/Documents/pr2_ws/devel/lib/moveit_tutorials/attached_body_tutorial
moveit_tutorials/doc/pr2_tutorials/planning/CMakeFiles/move_group_interface_tutorial.dir/build.make:62: recipe for target 'moveit_tutorials/doc/pr2_tutorials/planning/CMakeFiles/move_group_interface_tutorial.dir/src/move_group_interface_tutorial.cpp.o' failed
make[2]: *** [moveit_tutorials/doc/pr2_tutorials/planning/CMakeFiles/move_group_interface_tutorial.dir/src/move_group_interface_tutorial.cpp.o] Error 1
CMakeFiles/Makefile2:24683: recipe for target 'moveit_tutorials/doc/pr2_tutorials/planning/CMakeFiles/move_group_interface_tutorial.dir/all' failed
make[1]: *** [moveit_tutorials/doc/pr2_tutorials/planning/CMakeFiles/move_group_interface_tutorial.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 94%] Built target attached_body_tutorial
[ 94%] Linking CXX executable /home/bmi/Documents/pr2_ws/devel/lib/moveit_tutorials/pick_place_tutorial
[ 94%] Built target pick_place_tutorial
[ 94%] Linking CXX shared library /home/bmi/Documents/pr2_ws/devel/lib/libmoveit_robot_state_rviz_plugin_core.so
[ 94%] Linking CXX shared library /home/bmi/Documents/pr2_ws/devel/lib/libmoveit_planning_scene_rviz_plugin_core.so
[ 94%] Built target moveit_robot_state_rviz_plugin_core
[ 94%] Built target moveit_planning_scene_rviz_plugin_core
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j8 -l8" failed
Do you know why I am getting missing member errors about "trigger" etc., and why the build is failing? Thanks for you help.
from moveit_tutorials.
I also still get an error when I launch pr2_moveit_config demo.launch in RViz:
The class required for this panel, 'rviz_visual_tools/RvizVisualToolsGui', could not be loaded.
Error:
According to the loaded plugin descriptions the class rviz_visual_tools/RvizVisualToolsGui with base class type rviz::Panel does not exist. Declared types are rviz_plugin_tutorials/Teleop
And Robot planning, e.g. QueryStartState, etc. doesn:t work.
Also there are a bunch of the following error messages in the terminal window after roslaunch:
TIFFFieldWithTag: Internal error, unknown tag 0xa402.
from moveit_tutorials.
Did you checkout the right branches of the repositories you cloned?
Looks like inconsistencies between indigo/kinetic to me.
from moveit_tutorials.
I followed the git clone instructions on the page: http://docs.ros.org/kinetic/api/moveit_tutorials/html/doc/pr2_tutorials/planning/src/doc/move_group_interface_tutorial.html
which seem to refer to kinetic, which is what I have.
from moveit_tutorials.
@davetcoleman wrote the visual tools and the integration code into the tutorials, so he can probably help better :)
from moveit_tutorials.
Ok, thanks for the assistance.
from moveit_tutorials.
I ran through the tutorial just now and everything works fine on ROS Kinetic / Ubuntu 16.04. I've clarified the catkin setup instructions that might trip up new users: #76
from moveit_tutorials.
Hi all,
I'm facing the same issue as @japalmer29 and i came through the same path as he did. In particular, the error that I'm receiving is :
The class required for this panel, 'rviz_visual_tools/RvizVisualToolsGui', could not be loaded.
Error:
According to the loaded plugin descriptions the class rviz_visual_tools/RvizVisualToolsGui with base class type rviz::Panel does not exist. Declared types are rviz_plugin_tutorials/Teleop
(I'm new to MoveIt! All I did so far was to go through this tutorial and the corresponding setup assistant tutorial linked there)
Is there a fix for the issue? Thanks in advance.
from moveit_tutorials.
I imagine you are not sourcing your workspace correctly, or not downloading the required dependencies using rosdep install
from moveit_tutorials.
I was getting the same error in kinetic, but doing
sudo apt-get install ros-kinetic-rviz-visual-tools
help me get rid of the error.
helpful for me
from moveit_tutorials.
also try rosdep install --from-paths src --ignore-src -r -y
this solved the error for me
from moveit_tutorials.
Related Issues (20)
- IKFast Tutorial not clear HOT 2
- when I use the tutroials, ompl-Chomp have some problems HOT 2
- stomp tutorials cannot use HOT 2
- When using the RRT algorithm in Moveit's ompl, I would like to know the collision detection times of the RRT algorithm. How can I implement it
- Invalid <param> tag HOT 15
- Exit Code -11 when running Rviz HOT 3
- Orientation changes while following waypoints in move_group python interface HOT 1
- Panda hand missing HOT 2
- Errors When adding EIT* to moveit HOT 25
- MoveIt Setup Assistant tutorial: Spawn service timed out error HOT 7
- A question in "planning_scene_tutorial.launch" HOT 2
- Errors when runing EIT* in planning HOT 1
- Keys expired in IKFast installation script. HOT 2
- Pick-Place-tutorial objects not visible in Gazebo HOT 4
- [NEED URGENT HELP] Not able to see any topics in context tab of the hand-eye calibration window HOT 1
- solved: changed name from hand to panda_hands HOT 1
- Github link for ROS noetic moveit toutorial not working HOT 2
- object with no geometry HOT 2
- github404 HOT 2
- The noetic branch of moveit_tutorials is missing. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moveit_tutorials.