Template Struct neighbors_update

Inheritance Relationships

Base Type

  • public rer::client< neighbors_update< TController, TSrcGraph, TLOS > >

Struct Documentation

template<typename TController, typename TSwarmSrc, typename TLOS>
struct neighbors_update : public rer::client<neighbors_update<TController, TSrcGraph, TLOS>>

Functor to update the neighbors of a robot each timestep as it moves.

Neighbors are selected for inclusion for a given robot if they fall within a specified minimum distance, and up to a maximum count.

Public Types

using los_type = TLOS

Public Functions

neighbors_update(const neighbors_update&) = delete
inline neighbors_update(const rspatial::euclidean_dist &max_dist)
inline void operator()(TController *const controller, const rmath::vector3d &pos) const
neighbors_update &operator=(const neighbors_update&) = delete