Realistically, we'd have to say that the "objective" of the campaign as a whole was simply to win a decisive victory over the Union Army.
Well...duh! LOL! I'm sure that Lee wanted a little more than the Peach Orchard, but battles are one an objective at a time.
The whole Gettysburg battle was improvised, after all, once the leading units made contact without any orders from the commanders.
Well, I disagree with this statement. Lee wasn't near Gettysburg by accident. Gettysburg was a strategic town. The armies may have stumbled into battle...but it didn't take Lee long to establish his plan and his objectives.
Official results are written with hindsight, was my point.
That said, I wonder why he didn't try to organize his artillery to enfilade Cemetery Hill from Ewell's rear areas just east of the town proper? It would have been closer than the Peach Orchard, and he could have done a lot of damage.
Gen. Pender was generally useless as an artillery officer, but Lee had and used E. A. Porter Alexander. But Lee (or Pender) caused Lee's batteries to be positioned all along Seminary Ridge, so that their fire tended to overshoot the Union positions and did no great damage during the big cannonade of the Third Day.
There was no officer to see the overall position and take charge, as Col. Ruggle had done at Shiloh when he cleared out the Hornet's Nest with his big, 62-gun battery.