Is it possible to drive the whole mobile differential drive robot with single arduino? Sonar sensor, servo motor, two encoders, two motors, imu, etc. I mean would it give a reasonable performance or very slow or impossible? If we use two arduinos would it be much better?
For example, two motor+encoder, imu, one servo motor for sonar sensor and one sonar sensor, + bluetooth communication with pc. The task is for example building map of the room, and kinematic control for tracking some trajectory. I mean it should do PID control for motors, kinematic control for robot, sensor fusion for imu+encoders, communicate with PC (this is to do some computationally intensive tasks such as trajectory planning or to store maybe the complete map in pc etc.).