MRSL Motion Primitive Library  1.2
A motion primitive library for generating trajectory for mobile robots
Classes | Typedefs | Functions
waypoint.h File Reference

Waypoint classes. More...

#include <bitset>
#include <boost/functional/hash.hpp>
#include <iostream>
#include "control.h"
#include "data_type.h"

Go to the source code of this file.

Classes

struct  Waypoint< Dim >
 Waypoint base class. More...
 

Typedefs

typedef Waypoint< 2 > Waypoint2D
 Waypoint for 2D.
 
typedef Waypoint< 3 > Waypoint3D
 Waypoint for 3D.
 

Functions

template<int Dim>
std::size_t hash_value (const Waypoint< Dim > &key)
 Generate hash value for Waypoint class.
 
template<int Dim>
bool operator== (const Waypoint< Dim > &l, const Waypoint< Dim > &r)
 Check if two waypoints are equivalent. More...
 
template<int Dim>
bool operator!= (const Waypoint< Dim > &l, const Waypoint< Dim > &r)
 Check if two waypoints are not equivalent.
 

Detailed Description

Waypoint classes.

Function Documentation

◆ operator==()

template<int Dim>
bool operator== ( const Waypoint< Dim > &  l,
const Waypoint< Dim > &  r 
)

Check if two waypoints are equivalent.

using the hash value