Don’t forget, Lee ordered infantgry charges against fortified positions on the high ground. He made all the same mistakes at Gettysburg that Burnside made at Fredericksburg, and, for once, Lee was not fighting a fool. Meade was a capable commander, maybe the first one that Lee ever encountered.
Recently I saw a show in which they demonstrated that only about half the available command was in the actual assault. Based on reports of the day, it seems that many of Pickett's command slipped back when they were held up at the fence, which of course should have been sapped the night before. They based this on the number of casualties reported ... which should have been far greater if they had all attacked. A sad calculation indeed.
So it's all the more amazing that those who actually made the charge, made it to the Union lines. No matter what side one happens to favor, this was a tragedy.