Recognize object and plan hand shapes in grasping movements