#include <lanelet2_core/primitives/Area.h>#include <lanelet2_core/utility/Units.h>#include <lanelet2_traffic_rules/TrafficRules.h>#include <lanelet2_traffic_rules/TrafficRulesFactory.h>#include <boost/python.hpp>
Go to the source code of this file.
Functions | |
| template<const char Val> | |
| std::string | asString () |
| BOOST_PYTHON_MODULE (PYTHON_API_MODULE_NAME) | |
| template<typename T1 , typename T2 > | |
| bool | canPassFromToWrapper (const TrafficRules &self, const T1 &from, const T2 &to) |
| template<typename T > | |
| bool | canPassWrapper (const TrafficRules &self, const T &llt) |
| TrafficRulesPtr | createTrafficRulesWrapper (const std::string &location, const std::string &participant) |
| double | getVelocity (const SpeedLimitInformation &self) |
| double | getVelocityMPS (const SpeedLimitInformation &self) |
| bool | hasDynamicRulesWrapper (const TrafficRules &self, const ConstLanelet &llt) |
| bool | isOneWayWrapper (const TrafficRules &self, const ConstLanelet &llt) |
| SpeedLimitInformation | makeSpeedLimit (double speedLimitKph, bool isMandatory) |
| void | setVelocity (SpeedLimitInformation &self, double velocityKmh) |
| void | setVelocityMPS (SpeedLimitInformation &self, double velocityMps) |
| template<typename T > | |
| SpeedLimitInformation | speedLimitWrapper (const TrafficRules &self, const T &llt) |
| std::string asString | ( | ) |
Definition at line 49 of file traffic_rules.cpp.
| BOOST_PYTHON_MODULE | ( | PYTHON_API_MODULE_NAME | ) |
Definition at line 53 of file traffic_rules.cpp.
| bool canPassFromToWrapper | ( | const TrafficRules & | self, |
| const T1 & | from, | ||
| const T2 & | to | ||
| ) |
Definition at line 33 of file traffic_rules.cpp.
| bool canPassWrapper | ( | const TrafficRules & | self, |
| const T & | llt | ||
| ) |
Definition at line 29 of file traffic_rules.cpp.
| TrafficRulesPtr createTrafficRulesWrapper | ( | const std::string & | location, |
| const std::string & | participant | ||
| ) |
Definition at line 44 of file traffic_rules.cpp.
| double getVelocity | ( | const SpeedLimitInformation & | self | ) |
Definition at line 16 of file traffic_rules.cpp.
| double getVelocityMPS | ( | const SpeedLimitInformation & | self | ) |
Definition at line 22 of file traffic_rules.cpp.
| bool hasDynamicRulesWrapper | ( | const TrafficRules & | self, |
| const ConstLanelet & | llt | ||
| ) |
Definition at line 42 of file traffic_rules.cpp.
| bool isOneWayWrapper | ( | const TrafficRules & | self, |
| const ConstLanelet & | llt | ||
| ) |
Definition at line 41 of file traffic_rules.cpp.
| SpeedLimitInformation makeSpeedLimit | ( | double | speedLimitKph, |
| bool | isMandatory | ||
| ) |
Definition at line 12 of file traffic_rules.cpp.
| void setVelocity | ( | SpeedLimitInformation & | self, |
| double | velocityKmh | ||
| ) |
Definition at line 18 of file traffic_rules.cpp.
| void setVelocityMPS | ( | SpeedLimitInformation & | self, |
| double | velocityMps | ||
| ) |
Definition at line 24 of file traffic_rules.cpp.
| SpeedLimitInformation speedLimitWrapper | ( | const TrafficRules & | self, |
| const T & | llt | ||
| ) |
Definition at line 38 of file traffic_rules.cpp.