Remove leftover debugging code

This commit is contained in:
Patrick Niklaus 2016-05-19 00:05:28 +02:00
parent e3ce0c5887
commit 57321979ae
No known key found for this signature in database
GPG Key ID: E426891B5F978B1B
3 changed files with 0 additions and 8 deletions

View File

@ -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(),

View File

@ -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

View File

@ -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;
}