I am trying to build an agv
the traditional approach using if....else statement is making my drive shaky
so i am trying a different approach
i need to create different functions and want to call them when I need ?
how Can i do this ?