well based on what I'm seeing here it looks like you need to use parent constraints. This will allow you to switch which of the two objects is being controlled by the translation of the car versus the clips that come out of the ground that hold the battery.
Each of the two batteries will be parent constrained to the car and the clips.
constrain battery A to the car.
constrain battery B to the clips in the ground.
move the car over the hole in the ground
when the clips come up you will parent constrain battery A to the clips.. you will need to set keyframes on the constraint node.
now both batteries are constrained to the clips
rotate the clips
when battery B comes around and is under the car parent constrain it to the car and set keyframes so that it is now being controlled by the car
clips recede into ground and battery B stays under car while battery A follows the clips