Dynotree
Loading...
Searching...
No Matches
dynotree::R2SO2< Scalar > Struct Template Reference

#include <StateSpace.h>

Collaboration diagram for dynotree::R2SO2< Scalar >:
Collaboration graph

Public Types

using cref_t = const Eigen::Ref<const Eigen::Matrix<Scalar, 3, 1>> &
 
using ref_t = Eigen::Ref<Eigen::Matrix<Scalar, 3, 1>>
 
using vec_t = Eigen::Matrix<Scalar, 3, 1>
 
using cref2_t = const Eigen::Ref<const Eigen::Matrix<Scalar, 2, 1>> &
 
using ref2_t = Eigen::Ref<Eigen::Matrix<Scalar, 2, 1>>
 

Public Member Functions

void choose_split_dimension (cref_t lb, cref_t ub, int &ii, Scalar &width)
 
void print (std::ostream &out)
 
void set_weights (cref_t wr2, double wso2)
 
void set_bounds (cref2_t lb_, cref2_t ub_)
 
bool check_bounds (cref_t x) const
 
void sample_uniform (ref_t x) const
 
void interpolate (cref_t from, cref_t to, Scalar t, ref_t out) const
 
Scalar distance_to_rectangle (cref_t x, cref_t lb, cref_t ub) const
 
Scalar distance (cref_t x, cref_t y) const
 

Public Attributes

Scalar angular_weight = 1.0
 
Rn< Scalar, 2 > l2
 
SO2< Scalar > so2
 
vec_t weights
 
bool use_weights = false
 

Member Typedef Documentation

◆ cref2_t

template<typename Scalar >
using dynotree::R2SO2< Scalar >::cref2_t = const Eigen::Ref<const Eigen::Matrix<Scalar, 2, 1>> &

◆ cref_t

template<typename Scalar >
using dynotree::R2SO2< Scalar >::cref_t = const Eigen::Ref<const Eigen::Matrix<Scalar, 3, 1>> &

◆ ref2_t

template<typename Scalar >
using dynotree::R2SO2< Scalar >::ref2_t = Eigen::Ref<Eigen::Matrix<Scalar, 2, 1>>

◆ ref_t

template<typename Scalar >
using dynotree::R2SO2< Scalar >::ref_t = Eigen::Ref<Eigen::Matrix<Scalar, 3, 1>>

◆ vec_t

template<typename Scalar >
using dynotree::R2SO2< Scalar >::vec_t = Eigen::Matrix<Scalar, 3, 1>

Member Function Documentation

◆ check_bounds()

template<typename Scalar >
bool dynotree::R2SO2< Scalar >::check_bounds ( cref_t x) const
inline
Here is the call graph for this function:

◆ choose_split_dimension()

template<typename Scalar >
void dynotree::R2SO2< Scalar >::choose_split_dimension ( cref_t lb,
cref_t ub,
int & ii,
Scalar & width )
inline
Here is the call graph for this function:

◆ distance()

template<typename Scalar >
Scalar dynotree::R2SO2< Scalar >::distance ( cref_t x,
cref_t y ) const
inline
Here is the call graph for this function:

◆ distance_to_rectangle()

template<typename Scalar >
Scalar dynotree::R2SO2< Scalar >::distance_to_rectangle ( cref_t x,
cref_t lb,
cref_t ub ) const
inline
Here is the call graph for this function:

◆ interpolate()

template<typename Scalar >
void dynotree::R2SO2< Scalar >::interpolate ( cref_t from,
cref_t to,
Scalar t,
ref_t out ) const
inline
Here is the call graph for this function:

◆ print()

template<typename Scalar >
void dynotree::R2SO2< Scalar >::print ( std::ostream & out)
inline
Here is the call graph for this function:

◆ sample_uniform()

template<typename Scalar >
void dynotree::R2SO2< Scalar >::sample_uniform ( ref_t x) const
inline
Here is the call graph for this function:

◆ set_bounds()

template<typename Scalar >
void dynotree::R2SO2< Scalar >::set_bounds ( cref2_t lb_,
cref2_t ub_ )
inline
Here is the call graph for this function:

◆ set_weights()

template<typename Scalar >
void dynotree::R2SO2< Scalar >::set_weights ( cref_t wr2,
double wso2 )
inline
Here is the call graph for this function:

Member Data Documentation

◆ angular_weight

template<typename Scalar >
Scalar dynotree::R2SO2< Scalar >::angular_weight = 1.0

◆ l2

template<typename Scalar >
Rn<Scalar, 2> dynotree::R2SO2< Scalar >::l2

◆ so2

template<typename Scalar >
SO2<Scalar> dynotree::R2SO2< Scalar >::so2

◆ use_weights

template<typename Scalar >
bool dynotree::R2SO2< Scalar >::use_weights = false

◆ weights

template<typename Scalar >
vec_t dynotree::R2SO2< Scalar >::weights

The documentation for this struct was generated from the following file: