Could a T-Rex escape this trap?

I think we need Grant to build a robot to test this.