Drake
spline_helpers_test.cc File Reference
#include "drake/automotive/maliput/rndf/spline_helpers.h"
#include <cmath>
#include <iostream>
#include <memory>
#include <tuple>
#include <vector>
#include <gtest/gtest.h>
#include "ignition/math/Spline.hh"
#include "ignition/math/Vector3.hh"
#include "drake/automotive/maliput/rndf/test/ignition_types_compare.h"
Include dependency graph for spline_helpers_test.cc:

Namespaces

 drake
 
 drake::maliput
 
 drake::maliput::rndf
 

Functions

std::unique_ptr< ignition::math::Spline > CreateSpline (const std::vector< std::tuple< ignition::math::Vector3d, ignition::math::Vector3d >> &points)
 
 GTEST_TEST (RNDFSplineHelperTest, ExceptionsInInverseFunctionInterpolator)
 
 GTEST_TEST (RNDFSplineHelperTest, ExceptionsInArcLengthParameterizedSpline)
 
 GTEST_TEST (RNDFSplineHelperTest, StraightLine)
 
 GTEST_TEST (RNDFSplineHelperTest, StraightSplineFindClosesPointTo)
 
 GTEST_TEST (RNDFSplineToBezierTest, ConversionTest)
 
 GTEST_TEST (RNDFBezierToBezierTest, ConversionTest)
 
 GTEST_TEST (RNDFMakeBezierCurveMonotonicTest, ExceptionCases)
 
 GTEST_TEST (RNDFMakeBezierCurveMonotonicTest, Case90DegreeConnection)
 
 GTEST_TEST (RNDFMakeBezierCurveMonotonicTest, CaseParallelNonColinearConnection)
 
 GTEST_TEST (RNDFMakeBezierCurveMonotonicTest, CaseParallelColinearConnection)
 
 GTEST_TEST (RNDFMakeBezierCurveMonotonicTest, CaseObliqueConnection)
 
 GTEST_TEST (RNDFMakeBezierCurveMonotonicTest, CaseObliqueNonConvexConnection)
 
 GTEST_TEST (RNDFCreatePChipBasedSplineTest, CaseExceptions)
 

Variables

const double kLinearStep = 1e-2