Trolleys, buses and cars are stopped on the street while pedestrians while along the sidewalk.
There are vehicles and people on foot.
Trolleys, buses and cars are all vehicles, while pedestrians are, by definition, people on foot.
(-x)
(-x)