Why does anything involving AR spin on my phone?

When I go onto apps that use AR (Snapchat, Pokémon Go, etc) anything that is supposed to be placed still on a surface loops round the device. I can only assume it's a problem with the sensors but it only came around when I finally upgraded to Nougat. Is there a way to fix this? It's an annoyance more than anything.

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0