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