Namespaces | Functions
util.cpp File Reference
#include <swri_route_util/util.h>
#include <swri_route_util/route.h>
#include <swri_route_util/route_point.h>
#include <swri_transform_util/frames.h>
#include <swri_transform_util/transform_util.h>
Include dependency graph for util.cpp:

Go to the source code of this file.

Namespaces

 swri_route_util
 

Functions

bool swri_route_util::extractSubroute (Route &sub_route, const Route &route, const marti_nav_msgs::RoutePosition &start, const marti_nav_msgs::RoutePosition &end)
 
void swri_route_util::fillOrientations (Route &route, const tf::Vector3 &up=tf::Vector3(0.0, 0.0, 1.0))
 
bool swri_route_util::interpolateRoutePosition (RoutePoint &dst, const Route &route, const mnm::RoutePosition &position, bool allow_extrapolation)
 
static void swri_route_util::interpolateRouteSegment (RoutePoint &dst, const RoutePoint &p0, const RoutePoint &p1, double distance)
 
static void swri_route_util::nearestDistanceToLineSegment (double &min_distance_from_line, double &min_distance_on_line, const tf::Vector3 &p0, const tf::Vector3 &p1, const tf::Vector3 &p, bool extrapolate_start, bool extrapolate_end)
 
bool swri_route_util::normalizeRoutePosition (mnm::RoutePosition &normalized_position, const Route &route, const mnm::RoutePosition &position)
 
bool swri_route_util::projectOntoRoute (mnm::RoutePosition &position, const Route &route, const tf::Vector3 &point, bool extrapolate_before_start, bool extrapolate_past_end)
 
bool swri_route_util::projectOntoRouteWindow (mnm::RoutePosition &position, const Route &route, const tf::Vector3 &point, const mnm::RoutePosition &window_start, const mnm::RoutePosition &window_end)
 
void swri_route_util::projectToXY (Route &route)
 
bool swri_route_util::routeDistance (double &distance, const mnm::RoutePosition &start, const mnm::RoutePosition &end, const Route &route)
 
bool swri_route_util::routeDistances (std::vector< double > &distances, const mnm::RoutePosition &start, const std::vector< mnm::RoutePosition > &ends, const Route &route)
 
void swri_route_util::transform (Route &route, const swri_transform_util::Transform &transform, const std::string &target_frame)
 


swri_route_util
Author(s):
autogenerated on Fri Jun 7 2019 22:06:09