Attach an object to already attached object [closed]
Hi,
I want to know if it is possible to attach an object to an already attached object to the robot.
I tried to attach a second object to the first object (already attached to the robot) but got the error Link 'first_object' not found in model 'robot'
I attached the second object as a planning scene diff with these details :
attached_object.link_name = "first_object";
planning_scene.robot_state.attached_collision_objects.push_back(attached_object)
planning_scene.robot_state.is_diff = true;