I just wanted to get some quick guidance on what libraries I will need to use for a robot I'm building. I'm using an ATmega 2560 with a built-in ESP8266, an L298n with 2 motors, and 3 servos. The robot has two tank tracks and a movable arm with a claw. I also want to use a voltage divider to monitor the lipo battery I'm using and to stop the robot when the battery level is getting too low.
The robot will look like this
My goal is to build a robot that is connected to the wifi and then controlled via a computer keyboard. I know that I need to set up the ESP with the wifi username/password, and then pass the keyboard commands to the mega via the TX/RX. The mega will then take these strings and use an array to figure out what command to run.
I'm still quite new to Arduino programming and haven't used an ESP before in any of my projects. I was hoping someone could tell me what programming libraries I will need and if anyone has any advice on how to best program my robot. I've got a decent understanding of servos but I'm still quite new to all of this and could use all the help I can get.