libstp
Robotics library for Botball
Loading...
Searching...
No Matches
libstp::map::SensorOffset Struct Reference

#include <Geometry.hpp>

Public Attributes

float forwardCm {0.0f}
float strafeCm {0.0f}

Detailed Description

Sensor mount offset from the robot geometric center, in robot-local coordinates. forward_cm is along the robot's heading, strafe_cm is 90° CCW from heading (i.e. positive = the robot's left). Mirrors raccoon.robot.geometry.SensorPosition so the Python side can pass either this struct or a duck-typed dataclass.

Definition at line 23 of file Geometry.hpp.

Member Data Documentation

◆ forwardCm

float libstp::map::SensorOffset::forwardCm {0.0f}

Definition at line 25 of file Geometry.hpp.

◆ strafeCm

float libstp::map::SensorOffset::strafeCm {0.0f}

Definition at line 26 of file Geometry.hpp.


The documentation for this struct was generated from the following file:
  • /home/runner/work/raccoon-lib/raccoon-lib/modules/libstp-map/include/libstp/map/Geometry.hpp