Functions
routing.cpp File Reference
#include <lanelet2_routing/Route.h>
#include <lanelet2_routing/RoutingGraph.h>
#include <boost/make_shared.hpp>
#include "lanelet2_python/internal/converter.h"
Include dependency graph for routing.cpp:

Go to the source code of this file.

Functions

 BOOST_PYTHON_MODULE (PYTHON_API_MODULE_NAME)
 
Optional< std::shared_ptr< lanelet::routing::Route > > getRouteViaWrapper (const lanelet::routing::RoutingGraph &self, const ConstLanelet &from, const ConstLanelets &via, const ConstLanelet &to, lanelet::routing::RoutingCostId costId, bool withLaneChange)
 
Optional< std::shared_ptr< lanelet::routing::Route > > getRouteWrapper (const lanelet::routing::RoutingGraph &self, const ConstLanelet &from, const ConstLanelet &to, lanelet::routing::RoutingCostId costId, bool withLaneChange)
 
routing::RoutingGraphPtr makeRoutingGraph (LaneletMap &laneletMap, const traffic_rules::TrafficRules &trafficRules, const routing::RoutingCostPtrs &routingCosts)
 
routing::RoutingGraphPtr makeRoutingGraphSubmap (LaneletSubmap &laneletMap, const traffic_rules::TrafficRules &trafficRules, const routing::RoutingCostPtrs &routingCosts)
 
template<typename T >
Optional< T > objectToOptional (const object &o)
 
template<typename T >
object optionalToObject (const Optional< T > &v)
 

Function Documentation

◆ BOOST_PYTHON_MODULE()

BOOST_PYTHON_MODULE ( PYTHON_API_MODULE_NAME  )

Definition at line 55 of file routing.cpp.

◆ getRouteViaWrapper()

Optional<std::shared_ptr<lanelet::routing::Route> > getRouteViaWrapper ( const lanelet::routing::RoutingGraph self,
const ConstLanelet from,
const ConstLanelets via,
const ConstLanelet to,
lanelet::routing::RoutingCostId  costId,
bool  withLaneChange 
)

Definition at line 22 of file routing.cpp.

◆ getRouteWrapper()

Optional<std::shared_ptr<lanelet::routing::Route> > getRouteWrapper ( const lanelet::routing::RoutingGraph self,
const ConstLanelet from,
const ConstLanelet to,
lanelet::routing::RoutingCostId  costId,
bool  withLaneChange 
)

Definition at line 11 of file routing.cpp.

◆ makeRoutingGraph()

routing::RoutingGraphPtr makeRoutingGraph ( LaneletMap laneletMap,
const traffic_rules::TrafficRules trafficRules,
const routing::RoutingCostPtrs routingCosts 
)

Definition at line 34 of file routing.cpp.

◆ makeRoutingGraphSubmap()

routing::RoutingGraphPtr makeRoutingGraphSubmap ( LaneletSubmap laneletMap,
const traffic_rules::TrafficRules trafficRules,
const routing::RoutingCostPtrs routingCosts 
)

Definition at line 39 of file routing.cpp.

◆ objectToOptional()

template<typename T >
Optional<T> objectToOptional ( const object &  o)

Definition at line 51 of file routing.cpp.

◆ optionalToObject()

template<typename T >
object optionalToObject ( const Optional< T > &  v)

Definition at line 46 of file routing.cpp.



lanelet2_python
Author(s): Fabian Poggenhans
autogenerated on Tue Jun 6 2023 02:23:59