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

Dynamic state advanced by step(). More...

#include <ball_physics.hpp>

Public Attributes

Vector3 position_m {}
Vector3 velocity_mps {}
Vector3 spin_radps {}
bool held {false}

Detailed Description

Dynamic state advanced by step().

Member Data Documentation

◆ held

bool frcsim::BallPhysicsSim3D::BallState::held {false}

True when attached to a carrier and not free-flying.

◆ position_m

Vector3 frcsim::BallPhysicsSim3D::BallState::position_m {}

Ball center position in world coordinates.

◆ spin_radps

Vector3 frcsim::BallPhysicsSim3D::BallState::spin_radps {}

Ball spin vector in world frame, rad/s about each axis.

◆ velocity_mps

Vector3 frcsim::BallPhysicsSim3D::BallState::velocity_mps {}

Ball linear velocity in world frame.


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