Classes | Functions
beluga::testing Namespace Reference

Classes

class  StaticOccupancyGrid
 

Functions

template<class Map >
std::optional< double > raycast (const Map &map, Eigen::Vector2i source, Eigen::Vector2i target)
 
template<class Scalar >
auto SE2Near (const Sophus::SE2< Scalar > &t, Scalar e)
 SE2 element matcher. More...
 
template<class Scalar >
auto SE2Near (const Sophus::SO2< Scalar > &r, const Sophus::Vector2< Scalar > &t, Scalar e)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
template<class Scalar >
auto SO2Near (const Sophus::SO2< Scalar > &t, Scalar e)
 SO2 element matcher. More...
 
template<class Scalar >
auto Vector2Near (const Sophus::Vector2< Scalar > &t, Scalar e)
 Vector2 element matcher. More...
 
template<class Scalar >
auto Vector3Near (const Sophus::Vector3< Scalar > &t, Scalar e)
 Vector3 element matcher. More...
 

Function Documentation

◆ raycast()

template<class Map >
std::optional<double> beluga::testing::raycast ( const Map &  map,
Eigen::Vector2i  source,
Eigen::Vector2i  target 
)

◆ SE2Near() [1/2]

template<class Scalar >
auto beluga::testing::SE2Near ( const Sophus::SE2< Scalar > &  t,
Scalar  e 
)
inline

SE2 element matcher.

Template Parameters
ScalarThe scalar type.
Parameters
tThe value to compare against.
eThe max absolute error.

Definition at line 83 of file sophus_matchers.hpp.

◆ SE2Near() [2/2]

template<class Scalar >
auto beluga::testing::SE2Near ( const Sophus::SO2< Scalar > &  r,
const Sophus::Vector2< Scalar > &  t,
Scalar  e 
)
inline

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 91 of file sophus_matchers.hpp.

◆ SO2Near()

template<class Scalar >
auto beluga::testing::SO2Near ( const Sophus::SO2< Scalar > &  t,
Scalar  e 
)
inline

SO2 element matcher.

Template Parameters
ScalarThe scalar type.
Parameters
tThe value to compare against.
eThe max absolute error.

Definition at line 72 of file sophus_matchers.hpp.

◆ Vector2Near()

template<class Scalar >
auto beluga::testing::Vector2Near ( const Sophus::Vector2< Scalar > &  t,
Scalar  e 
)
inline

Vector2 element matcher.

Template Parameters
ScalarThe scalar type.
Parameters
tThe value to compare against.
eThe max absolute error.

Definition at line 45 of file sophus_matchers.hpp.

◆ Vector3Near()

template<class Scalar >
auto beluga::testing::Vector3Near ( const Sophus::Vector3< Scalar > &  t,
Scalar  e 
)
inline

Vector3 element matcher.

Template Parameters
ScalarThe scalar type.
Parameters
tThe value to compare against.
eThe max absolute error.

Definition at line 58 of file sophus_matchers.hpp.



beluga
Author(s):
autogenerated on Tue Jul 16 2024 02:59:54