Used timeline keyframes for this first animation.

Graph editor and infinity cycle to make the turret idle animation.
Motion trail was broken so i had to use the graph editor.

Maya playblast editor
I made the turret aim at three different targets for the assignment.