raisim::SpinningLidar::Sweep
struct · #include <raisim/sensors/SpinningLidar.hpp>
Yaw columns swept by one update. Column i (0 <= i < count) has the yaw (first + i * direction) * 2 * pi / yawSamples.
Public attributes
first
cpp
int firstYaw sample index of the first column (any integer; wrap it modulo yawSamples).
count
cpp
size_t countNumber of columns; more than yawSamples when the head turned more than once.
direction
cpp
int directionIndex step between columns: the spin direction (1 or -1).