Atlas, a humanoid robot, is competing against 16 other robots in a Pentagon-sponsored contest this weekend.