Human-machine interaction for industry 4.0