Here is the sentence:
Filling the shopping cart with D batteries and bottled water, we finally
completed our hurricane preparation.
You bet! Filling the shopping cart with D batteries and bottled water, a participle phrase, comes right before we, its logical target.