A robotic arm is sublime at stacking boxes on a production line, but workplace robots struggle with social niceties. Now researchers are teaching robots the right way to act in social situations in the hope of making it easier for humans and robots to work together.