Drake
spline_lane_test.cc File Reference
#include "drake/automotive/maliput/rndf/spline_lane.h"
#include <algorithm>
#include <cmath>
#include <memory>
#include <string>
#include <tuple>
#include <vector>
#include <gtest/gtest.h>
#include "ignition/math/Spline.hh"
#include "ignition/math/Vector3.hh"
#include "drake/automotive/maliput/api/lane_data.h"
#include "drake/automotive/maliput/api/test/maliput_types_compare.h"
#include "drake/automotive/maliput/rndf/junction.h"
#include "drake/automotive/maliput/rndf/lane.h"
#include "drake/automotive/maliput/rndf/road_geometry.h"
#include "drake/automotive/maliput/rndf/segment.h"
#include "drake/automotive/maliput/rndf/spline_helpers.h"
Include dependency graph for spline_lane_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 (RNDFSplineLanesTest, FlatLineLane)
 
 GTEST_TEST (RNDFSplineLanesTest, CurvedLineLane)
 
 GTEST_TEST (RNDFSplineLanesTest, Constructor)
 
 GTEST_TEST (RNDFSplineLanesTest, ComputeLength)
 
 GTEST_TEST (RNDFSplineLanesTest, TwoFlatLineLanesBoundChecks)
 

Variables

const double kPathTolerance = 1e-6
 
const double kVeryExact = 1e-12