Abstract
A system, a method, and a program for generating a three-dimensional model are provided. A system for generating a three-dimensional model according to an embodiment includes an end effector including a flexible grip part for gripping an object, a deformation sensor configured to detect a deformed shape of the grip part in a state of gripping the object, a calculation unit configured to calculate a normal direction of a surface of the object from surface shape data of the object, a decision unit configured to decide a grip position of the object to be gripped by the end effector based on the normal direction, and a coordinate system setting unit configured to set a reference coordinate system according to the deformed shape of the grip part.