Classes | 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 "lanelet2_python/internal/repr.h"
Include dependency graph for routing.cpp:

Go to the source code of this file.

Classes

class  RoutingCostBaseWrapper
 
class  RoutingCostWrapper< BaseT >
 

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 104 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 23 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 12 of file routing.cpp.

◆ makeRoutingGraph()

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

Definition at line 35 of file routing.cpp.

◆ makeRoutingGraphSubmap()

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

Definition at line 40 of file routing.cpp.

◆ objectToOptional()

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

Definition at line 52 of file routing.cpp.

◆ optionalToObject()

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

Definition at line 47 of file routing.cpp.



lanelet2_python
Author(s): Fabian Poggenhans
autogenerated on Thu Mar 6 2025 03:26:14