bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
bitsim::planning::BoxWorld::RayHit Struct Reference

What a range beam found: whether it struck anything within reach, and how far away. More...

#include <box_world.h>

Public Attributes

bool hit
 false if the beam reached max_range without striking anything
real_t distance
 the distance to the obstacle or wall, or max_range on a miss [m]

Detailed Description

What a range beam found: whether it struck anything within reach, and how far away.

Member Data Documentation

◆ distance

real_t bitsim::planning::BoxWorld::RayHit::distance

the distance to the obstacle or wall, or max_range on a miss [m]

◆ hit

bool bitsim::planning::BoxWorld::RayHit::hit

false if the beam reached max_range without striking anything


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