I am not downplaying the supreme engineering of the mars rover team, especially because there is no GPS on mars, but DJI has pre-programmed drone flights that work with their consumer drones, called missions.
https://developer.dji.com/doc/mobile-sdk-tutorial/en/basic-introduction/basic-concepts/missions.html
I’ve been thinking about setting up a mission for my drone to fly every week to gather data about what my neighborhood is like throughout the year.
It’ll probably be something like newzL or lettr