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

move_group_interface_tutorial #72

Closed
japalmer29 opened this issue Apr 20, 2017 · 9 comments
Closed

move_group_interface_tutorial #72

japalmer29 opened this issue Apr 20, 2017 · 9 comments

Comments

@japalmer29
Copy link

I installed the moveit_tutorials using the git clone command ... however when I try to run:

roslaunch moveit_tutorials move_group_interface_tutorial.launch

as the movegroup tutorial suggests, there is an error that no launch file exists. And there is no launch directory in moveit_tutorials, so that makes sense. Is this tutorial up to date? I'm using ros kinetic. Thanks.

@japalmer29 japalmer29 changed the title move_gruop_interface_tutorial move_group_interface_tutorial Apr 20, 2017
@v4hn
Copy link
Contributor

v4hn commented Apr 20, 2017

The launch files are in the doc subfolder: https://github.com/ros-planning/moveit_tutorials/tree/kinetic-devel/doc/pr2_tutorials/planning/launch
Are you sure you build the workspace?

@japalmer29
Copy link
Author

When I try to run catkin_make for the moveit_tutorials package, I get the following errors about missing class object members and build failure:

[ 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

@japalmer29
Copy link
Author

The pr2_moveit_config package builds ok, but I get an error when I roslaunch 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 motion planning, e.g. QueryStartState, etc. doesn:t work.

There are also a bunch of the following error messages in the terminal window after roslaunch:

TIFFFieldWithTag: Internal error, unknown tag 0xa402.

@davetcoleman
Copy link
Member

get an error when I roslaunch pr2_moveit_config demo.launch

What version of rviz_visual_tools are you using? kinetic-devel from source? are you on indigo?

TIFFFieldWithTag: Internal error, unknown tag 0xa402.

That is a PR2, reported here: PR2/pr2_common#257

@japalmer29
Copy link
Author

japalmer29 commented May 14, 2017

I'm using kinetic. I'm installed from the "kinetic workaround" instructions on the tutorial page.
I went through all the instructions I think, using setup-tools etc. to configure the robot arm. The build works.
The main issue is that the simulator is unresponsive in RViz using "roslaunch pr2_moveit_config demo.launch", and the following error is given 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

Thanks.

@davetcoleman
Copy link
Member

Perhaps re-source your workspace and relaunch rviz?

@sidharthrajaram
Copy link

I'm having the same issue as @japalmer29. Set up works fine but when "roslaunch pr2_moveit_config demo.launch" is run, I get an initial set of warnings that say

"[ WARN] [1499889173.721194396]: The root link base_footprint has an inertia specified in the URDF, but KDL does not support a root link with an inertia. As a workaround, you can add an extra dummy link to your URDF."

and then a neverending stream of error messages

TIFFFieldWithTag: Internal error, unknown tag 0xa402.
and occasionally in the middle of the stream, this message appears:
TIFFFetchNormalTag: Warning, Incompatible type for "RichTIFFIPTC"; tag ignored.

Did anyone resolve it yet?
Thanks.

@davetcoleman
Copy link
Member

Those are problems with the pr2_common repo - please file bug reports or fixes there for those warnings.

@felixvd
Copy link
Contributor

felixvd commented Feb 10, 2021

I'll close this as it seems to be a bug with pr2_common, if anything.

@felixvd felixvd closed this as completed Feb 10, 2021
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

5 participants