ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
` shapes::Mesh* navstar_shape = shapes::createMeshFromResource("package://altius_arm/meshes/NAVSTAR_GPS_Satellite.dae"); shape_msgs::Mesh navstar_mesh; shapes::ShapeMsg navstar_mesh_msg = navstar_mesh; shapes::constructMsgFromShape(navstar_shape,navstar_mesh_msg); navstar_collision_object.meshes[0] = navstar_mesh; navstar_collision_object.mesh_poses[0] = navstar_pose; navstar_collision_object_topic = node.advertise<moveit_msgs::collisionobject>("collision_object",0);
Using a templated typedef solves it, props to`Nandan Banerjee
2 | No.2 Revision |
`
shapes::Mesh* navstar_shape = shapes::createMeshFromResource("package://altius_arm/meshes/NAVSTAR_GPS_Satellite.dae");
Using a templated typedef solves it, props to`to Nandan Banerjee