Help with Landmark orientation

Hi, I need help getting vehicle orientation on the road. I am using the following code for waypoint:

waypoint = world.get_map().get_waypoint(vehicle.get_location(),project_to_road=True, lane_type=(carla.LaneType.Driving | carla.LaneType.Shoulder | carla.LaneType.Sidewalk))

I try to use “get_landmarks” for each waypoint to use the instance “orientation”, but it doesn’t work.

In addition, the “previous” waypoint instance does not work, but the “next” instance does. I would not understand why.

Thank you, greetings