I'm trying to add the mesh files to moveit! in ROS kinetic for baxter robot. I'm using python code to implement it. I used this below function to add the mesh file
scene.add_mesh("pin",pin_pose,resourcepath '/objects/Pin.stl')
And I have also used
scene.add_box("box", box_pose, (0.001, 0.001, 0.05))
for adding the small box. My problem is,the box is added,but the mesh file is not. I'm getting segmentation fault(core dumped) error, when it tries to execute the addmesh line. I have tried with different .stl files and also with .dae files. At the same time, I can import this same .stl file directly in moveit!. I don't know what is the reason for the segfault. Can someone help to resolve this error?
ROS_ROOT=/opt/ros/kinetic/share/ros
ROS_PACKAGE_PATH=/opt/ros/kinetic/share
ROS_MASTER_URI=http://localhost:11311
ROS_VERSION=1
ROSLISP_PACKAGE_DIRECTORIES=
ROS_DISTRO=kinetic
ROS_ETC_DIR=/opt/ros/kinetic/etc/ros
↧