Classes | Namespaces | Typedefs | Functions
lanelet2_traffic_rules.cpp File Reference
#include <lanelet2_core/primitives/BasicRegulatoryElements.h>
#include <lanelet2_core/primitives/Lanelet.h>
#include <lanelet2_core/utility/Units.h>
#include "gtest/gtest.h"
#include "lanelet2_traffic_rules/TrafficRules.h"
#include "lanelet2_traffic_rules/TrafficRulesFactory.h"
Include dependency graph for lanelet2_traffic_rules.cpp:

Go to the source code of this file.

Classes

class  GermanTrafficRulesBike
 
class  GermanTrafficRulesPedestrian
 
class  GermanTrafficRulesVehicle
 
class  TrafficRules
 

Namespaces

 can_drive
 
 lane_change
 
 other
 
 speed_limits
 

Typedefs

using Attr = lanelet::AttributeName
 
using AttrStr = lanelet::AttributeNamesString
 
using Value = lanelet::AttributeValueString
 

Functions

lanelet::traffic_rules::TrafficRulesPtr germanBikeRules ()
 
lanelet::traffic_rules::TrafficRulesPtr germanPedestrianRules ()
 
lanelet::traffic_rules::TrafficRulesPtr germanVehicleRules ()
 
lanelet::RegulatoryElementPtr getSpeedLimit (const std::string &type, const lanelet::AttributeMap &attributes={})
 
 can_drive::TEST_F (GermanTrafficRulesBike, bikeCanDriveBackwardsFromSpecialTwoWayLanelet)
 
 can_drive::TEST_F (GermanTrafficRulesBike, bikeCanDriveBackwardsFromTwoWayLanelet)
 
 can_drive::TEST_F (GermanTrafficRulesBike, bikeCanDriveIntoNextLanelet)
 
 can_drive::TEST_F (GermanTrafficRulesBike, bikeCanNotDriveAgainstDrivingDirection)
 
 can_drive::TEST_F (GermanTrafficRulesBike, bikeCanNotDriveBackwardsFromLanelet)
 
 can_drive::TEST_F (GermanTrafficRulesBike, bikeCanNotPassNonVehicleLanelet)
 
 can_drive::TEST_F (GermanTrafficRulesBike, bikeCanNotPassVehicleLanelet)
 
 can_drive::TEST_F (GermanTrafficRulesBike, bikeCanPassBikeLaneLanelet)
 
 can_drive::TEST_F (GermanTrafficRulesBike, canNotDriveBikeExplicitlyForbidden)
 
 can_drive::TEST_F (GermanTrafficRulesBike, canNotDriveBikeExplicitlyForbiddenVehiclesAllowed)
 
 can_drive::TEST_F (GermanTrafficRulesBike, canNotDriveIntoBikeExplicitlyForbidden)
 
 can_drive::TEST_F (GermanTrafficRulesBike, canNotDriveToRandomLanelet)
 
 can_drive::TEST_F (GermanTrafficRulesBike, oneWayLanelet)
 
 can_drive::TEST_F (GermanTrafficRulesPedestrian, canGoAcrossLowCurbstone)
 
 can_drive::TEST_F (GermanTrafficRulesPedestrian, canGoAcrossLowCurbstonetoNextArea)
 
 can_drive::TEST_F (GermanTrafficRulesPedestrian, canGoBackFromTwoWayLanelet)
 
 can_drive::TEST_F (GermanTrafficRulesPedestrian, canGoRightAcrossLowCurbstone)
 
 can_drive::TEST_F (GermanTrafficRulesPedestrian, canGoToNextLanelet)
 
 can_drive::TEST_F (GermanTrafficRulesPedestrian, cannotCrossUnrelated)
 
 can_drive::TEST_F (GermanTrafficRulesPedestrian, canNotGoBackFromOneWayLanelet)
 
 can_drive::TEST_F (GermanTrafficRulesPedestrian, canNotGoIntoUnknownArea)
 
 can_drive::TEST_F (GermanTrafficRulesPedestrian, canNotWalkOnVehicleLanelet)
 
 can_drive::TEST_F (GermanTrafficRulesPedestrian, canStandOnPedestrianArea)
 
 other::TEST_F (GermanTrafficRulesPedestrian, locationIsGermany)
 
 lane_change::TEST_F (GermanTrafficRulesVehicle, canLaneChangeBothSidesBothExplicitly)
 
 lane_change::TEST_F (GermanTrafficRulesVehicle, canLaneChangeBothSidesExplicitly)
 
 lane_change::TEST_F (GermanTrafficRulesVehicle, canLaneChangeInverted)
 
 lane_change::TEST_F (GermanTrafficRulesVehicle, canLaneChangeLeftExplicitly)
 
 lane_change::TEST_F (GermanTrafficRulesVehicle, canLaneChangeLeftSideBothExplicitly)
 
 lane_change::TEST_F (GermanTrafficRulesVehicle, canLaneChangeLeftViaDashedLine)
 
 lane_change::TEST_F (GermanTrafficRulesVehicle, canLaneChangeRightExplicitly)
 
 lane_change::TEST_F (GermanTrafficRulesVehicle, canLaneChangeRightSideBothExplicitly)
 
 lane_change::TEST_F (GermanTrafficRulesVehicle, canLaneChangeRightViaDashedLine)
 
 lane_change::TEST_F (GermanTrafficRulesVehicle, canLaneChangeRightViaDashedSolidLine)
 
 can_drive::TEST_F (GermanTrafficRulesVehicle, canNotDriveToRandomLanelet)
 
 lane_change::TEST_F (GermanTrafficRulesVehicle, canNotLaneChangeIfOverridden)
 
 lane_change::TEST_F (GermanTrafficRulesVehicle, canNotLaneChangeLaneIfNotDrivable)
 
 lane_change::TEST_F (GermanTrafficRulesVehicle, canNotLaneChangeLeftWithDefaultLine)
 
 lane_change::TEST_F (GermanTrafficRulesVehicle, canNotLaneChangeOnVirtualLine)
 
 lane_change::TEST_F (GermanTrafficRulesVehicle, canNotLaneChangeToInvertedLanelet)
 
 lane_change::TEST_F (GermanTrafficRulesVehicle, canNotLaneChangeToUnconnectedLanelet)
 
 lane_change::TEST_F (GermanTrafficRulesVehicle, canNotLaneChangeViaSolidLine)
 
 lane_change::TEST_F (GermanTrafficRulesVehicle, canNotLaneChangeViaSolidSolidLine)
 
 can_drive::TEST_F (GermanTrafficRulesVehicle, carsCanDriveWhereCarsDrive)
 
 speed_limits::TEST_F (GermanTrafficRulesVehicle, defaultNonUrbanSpeedlimitIfNoSpeedLimitSet)
 
 speed_limits::TEST_F (GermanTrafficRulesVehicle, defaultUrbanSpeedlimitIfNoSpeedLimitSet)
 
 speed_limits::TEST_F (GermanTrafficRulesVehicle, determinesSpeedLimit120)
 
 speed_limits::TEST_F (GermanTrafficRulesVehicle, determinesSpeedLimit30)
 
 speed_limits::TEST_F (GermanTrafficRulesVehicle, determinesSpeedLimit50)
 
 speed_limits::TEST_F (GermanTrafficRulesVehicle, determinesSpeedLimitFromTag)
 
 other::TEST_F (GermanTrafficRulesVehicle, dynamicRegelemIsDynamic)
 
 other::TEST_F (GermanTrafficRulesVehicle, factoryReturnsVehicleForCar)
 
 other::TEST_F (GermanTrafficRulesVehicle, locationIsGermany)
 
 other::TEST_F (GermanTrafficRulesVehicle, normalRegelemIsNotDynamic)
 
 speed_limits::TEST_F (GermanTrafficRulesVehicle, NoSpeedLimitIfOnHighway)
 
 can_drive::TEST_F (GermanTrafficRulesVehicle, oneWayLanelet)
 
 speed_limits::TEST_F (GermanTrafficRulesVehicle, OverrideDifferentSpecialSpeedLimit)
 
 speed_limits::TEST_F (GermanTrafficRulesVehicle, OverrideMandatoryLimit)
 
 speed_limits::TEST_F (GermanTrafficRulesVehicle, OverrideSpecialSpeedLimit)
 
 speed_limits::TEST_F (GermanTrafficRulesVehicle, OverrideSpeedLimit)
 
 can_drive::TEST_F (GermanTrafficRulesVehicle, vehicleCanDriveBackwardsFromTwoWayLanelet)
 
 can_drive::TEST_F (GermanTrafficRulesVehicle, vehicleCanDriveIntoNextLanelet)
 
 can_drive::TEST_F (GermanTrafficRulesVehicle, vehicleCanNotDriveAgainstDrivingDirection)
 
 can_drive::TEST_F (GermanTrafficRulesVehicle, vehicleCanNotDriveBackwardsFromLanelet)
 
 can_drive::TEST_F (GermanTrafficRulesVehicle, vehicleCanNotDriveBackwardsFromSpecialTwoWayLanelet)
 
 can_drive::TEST_F (GermanTrafficRulesVehicle, vehicleCanNotDriveWhereCarsDrive)
 
 can_drive::TEST_F (GermanTrafficRulesVehicle, vehicleCanNotPassNonRoadLanelet)
 
 can_drive::TEST_F (GermanTrafficRulesVehicle, vehicleCanNotPassNonVehicleLanelet)
 
 can_drive::TEST_F (GermanTrafficRulesVehicle, vehicleCanPassRoadLanelet)
 
 can_drive::TEST_F (GermanTrafficRulesVehicle, vehicleCanPassVehicleLanelet)
 

Typedef Documentation

◆ Attr

Definition at line 9 of file lanelet2_traffic_rules.cpp.

◆ AttrStr

Definition at line 10 of file lanelet2_traffic_rules.cpp.

◆ Value

Definition at line 11 of file lanelet2_traffic_rules.cpp.

Function Documentation

◆ germanBikeRules()

Definition at line 28 of file lanelet2_traffic_rules.cpp.

◆ germanPedestrianRules()

lanelet::traffic_rules::TrafficRulesPtr germanPedestrianRules ( )

Definition at line 33 of file lanelet2_traffic_rules.cpp.

◆ germanVehicleRules()

Definition at line 23 of file lanelet2_traffic_rules.cpp.

◆ getSpeedLimit()

lanelet::RegulatoryElementPtr getSpeedLimit ( const std::string &  type,
const lanelet::AttributeMap attributes = {} 
)

Definition at line 14 of file lanelet2_traffic_rules.cpp.



lanelet2_traffic_rules
Author(s): Fabian Poggenhans
autogenerated on Thu Mar 6 2025 03:26:07