hmmmm being controlled.... we did see a TON of flash backs but i'm not sure whether or not they were all obito or kakashis as wellNO, the reason he thought of Rin was because Obito will die once he preforms the Renni Tensi, Obito is not as adept with the Rinnegan as Nagato, so even reviving one person will kill him. Though Im pretty sure he is being forced by Madara to preform the jutsu
obito better not be being controlled by madara, that would ruin the entire naruto and obito being similar because they are not sasuke and have to much determination to be manipulated by someone madara better just be torturing obito or something and he better not die in the next chapter or that would be THE LEAST EPIC death for any main antagonist of any series, i hope minato stops madaras torture and then him and obito have a moment because it is apparent that obito had no desire to bring madara back to life ever