Changed all the hard-coded constants in the Autonomous code to macros