Crime Case: Attempted Robbery or Robbery

Define whether the robber committed the crime of attempted robbery or robbery.

While friends were finishing a late-night barbeque dinner on the patio of a home, a man wearing a hood and brandishing a gun burst onto the patio and demanded money. The robber took off his hood and reached for some barbeque chicken. After eating, he commented the food was very good. He apologized and told the guests he had come to the wrong house. The robber left, stealing nothing and hurting no one. Did the robber commit the crime of attempted robbery or robbery? Can he argue successfully that he abandoned his criminal activity before a crime was committed?