Autonomous Car

also im using this schematic with the capacitor. http://itp.nyu.edu/physcomp/Labs/DCMotorControl im not using the switch though. is this schematic still good if i did everything but the switch?