JSim 2026.06.01-p(1)
Loading...
Searching...
No Matches
frcsim::IntakeSimulation::ContactEvent Struct Reference

Contact event generated during update() proximity checks. More...

#include <intake_simulation.hpp>

Public Types

enum class  Phase { kBegin , kPersist , kEnd }
 Contact lifecycle phase. More...

Public Attributes

std::size_t gamepiece_index {BallGamepieceSim::kNoBall}
Phase phase {Phase::kBegin}

Detailed Description

Contact event generated during update() proximity checks.

Member Enumeration Documentation

◆ Phase

Contact lifecycle phase.

Enumerator
kBegin 
kPersist 
kEnd 

Member Data Documentation

◆ gamepiece_index

std::size_t frcsim::IntakeSimulation::ContactEvent::gamepiece_index {BallGamepieceSim::kNoBall}

Index of gamepiece involved in this event.

◆ phase

Phase frcsim::IntakeSimulation::ContactEvent::phase {Phase::kBegin}

Contact phase classification.


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