Or you could have a control system that senses the vehicle is not responding as comanded and throttles up and down the appropriate thusters. For instance, If you command a starboard linear acceleration and the vehicle starts to yaw due to the extra mass on the docking port, the attitude control system would feed this sensed yaw motion to the flight computer, which would compensate by altering the thruster scheme.