Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 1441

Spawning collision object in Rviz scene using Moveit! Python interface not working

$
0
0
Hey everyone, following the current ROS Melodic tutorial for MoveIt! (https://ros-planning.github.io/moveit_tutorials/doc/move_group_python_interface/move_group_python_interface_tutorial.html) I wanted to spawn a specific collision object but not in the shown scene with the Panda robot but in a scene using the Kuka IIWA lbr 7 from the "iiwa_stack" (https://github.com/IFL-CAMP/iiwa_stack). After launching the scene using "roslaunch iiwa_moveit demo.launch" I simply try to spawn the collision objects with the corresponding parts in the MoveIt! tutorial box_pose = geometry_msgs.msg.PoseStamped() box_pose.header.frame_id = "world" box_pose.pose.orientation.w = 1.0 box_name = "box" scene.add_box(box_name, box_pose, size=(0.1, 1.0, 0.5)) using a modified version of the tutorial, simply by running "rosrun moveit_tutorials move_group_python_interface_tutorial.py __ns:="iiwa". The code does not throw any errors but it also does NOT spawn any box. Is it because of the namespace? Anyone has any other idea? Thanks in advance!

Viewing all articles
Browse latest Browse all 1441

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>