Remove leftover debugging code
This commit is contained in:
parent
e3ce0c5887
commit
57321979ae
@ -64,7 +64,6 @@ std::vector<RouteStep> assembleSteps(const DataFacadeT &facade,
|
||||
BOOST_ASSERT(leg_geometry.locations.size() >= 2);
|
||||
|
||||
auto bearings = detail::getDepartBearings(leg_geometry);
|
||||
std::cout << "depart bearings: " << bearings.first << "->" << bearings.second << std::endl;
|
||||
|
||||
StepManeuver maneuver{source_node.location, bearings.first,
|
||||
bearings.second, extractor::guidance::TurnInstruction::NO_TURN(),
|
||||
|
@ -5,7 +5,6 @@
|
||||
#include <cstdint>
|
||||
#include <functional>
|
||||
|
||||
#include <iostream>
|
||||
#include <bitset>
|
||||
|
||||
namespace osrm
|
||||
@ -54,11 +53,6 @@ class EntryClass
|
||||
// sorting
|
||||
bool operator<(const EntryClass &) const;
|
||||
|
||||
inline void print() const
|
||||
{
|
||||
std::cout << "Flags: " << std::bitset<16>(enabled_entries_flags) << std::endl;
|
||||
}
|
||||
|
||||
private:
|
||||
// given a list of possible discrete angles, the available angles flag indicates the presence of
|
||||
// a given turn at the intersection
|
||||
|
@ -741,7 +741,6 @@ void trimShortSegments(std::vector<RouteStep> &steps, LegGeometry &geometry)
|
||||
auto bearing = std::round(util::coordinate_calculation::bearing(
|
||||
geometry.locations[first_step.geometry_begin],
|
||||
geometry.locations[first_step.geometry_begin+1]));
|
||||
std::cout << geometry.locations[first_step.geometry_begin] << geometry.locations[first_step.geometry_begin+1] << std::endl;
|
||||
first_step.maneuver.bearing_after = bearing;
|
||||
first_step.intersections.front().bearings.front() = bearing;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user