When Harry's parents, Sirius and Lupin appear to him through the Resurrection Stone they seem to know that Harry is walking to his death.
“You are nearly there,” said James. “Very close. We are . . . so proud of you.”
“Does it hurt?” The childish question had fallen from Harry’s lips before he could stop it.
“Dying? Not at all,” said Sirius. “Quicker and easier than falling asleep.”
“And he will want to be quick. He wants it over,” said Lupin.
Harry Potter and the Deathly Hallows
and then
“You’ll stay with me?”
“Until the very end,” said James.
“They won’t be able to see you?” asked Harry.
“We are part of you,” said Sirius. “Invisible to anyone else.”
Harry Potter and the Deathly Hallows
From the above I gather that Harry's parents, Sirius and Lupin all knew where Harry was going and were okay with the decision and supportive.
But I think that his parents wouldn't want their son to walk to his death even if they knew it was the only way to defeat Voldemort, much like Mrs Weasley wouldn't.
Are the people that come out of the Resurrection Stone figments of the imagination of the person who holds it or imprints of the real people? Does that dialogue above mean that Harry's parents had come to terms with the fact that he was was sacrificing himself which is a very unlikely thing even for a hero's parents? Or what they said to him was what Harry wished they'd said?