delphyne
AgentBaseCollision< T > Struct Template Reference

Detailed Description

template<typename T>
struct delphyne::AgentBaseCollision< T >

A collision between any two AgentBase instances, along with the global coordinates of the point-of-collision.

Template Parameters
Tmust be a valid Eigen ScalarType. Instantiated templates for the following ScalarTypes are provided:
  • double
  • AutoDiff
  • Symbolic

#include <include/delphyne/mi6/agent_simulation.h>

Public Member Functions

 AgentBaseCollision (const std::pair< AgentBase< T > *, AgentBase< T > * > agents_in, const drake::Vector3< T > &location_in)
 

Public Attributes

const std::pair< AgentBase< T > *, AgentBase< T > * > agents
 Pair of agents in in collision. More...
 
const drake::Vector3< T > location
 Location of the point-of-collision. More...
 

Constructor & Destructor Documentation

◆ AgentBaseCollision()

AgentBaseCollision ( const std::pair< AgentBase< T > *, AgentBase< T > * >  agents_in,
const drake::Vector3< T > &  location_in 
)

Member Data Documentation

◆ agents

const std::pair<AgentBase<T>*, AgentBase<T>*> agents

Pair of agents in in collision.

◆ location

const drake::Vector3<T> location

Location of the point-of-collision.


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