Rya.Reisender
Explorer
As Springheel already explained, surprise and getting advantage from hiding are two different things. Hiding, as said, is a combat action, so you do that during combat.[MENTION=6801585]Rya.Reisender[/MENTION]
So as you describe above, would their be any possible way for the halfing rogue have advantage (and if so, would it be cancelled out by anything) in this specific encounter?
The rogue for example could run behind the wagon and hide from the two goblins on the other side. Or the rogue could run into the trees/bushes at the side of the road and hide there.
However, this is not a good idea at level 1, because hiding costs an action. At level 2 onwards, Rogues can however hide as a bonus action, so it becomes something they'd want to try every turn.