libstp
Robotics library for Botball
Loading...
Searching...
No Matches
libstp::sim::SensorMount Struct Reference

#include <RobotConfig.hpp>

Public Attributes

std::string name
float forwardCm {0.0f}
float strafeCm {0.0f}
uint8_t analogPort {0}
float clearanceCm {0.0f}

Detailed Description

Mount point for a sensor on the robot, in the robot's local frame. forwardCm/strafeCm are relative to the robot's geometric center (matches the web-ide LineSensor convention: +forward = front, +strafe = left).

Definition at line 12 of file RobotConfig.hpp.

Member Data Documentation

◆ analogPort

uint8_t libstp::sim::SensorMount::analogPort {0}

Definition at line 17 of file RobotConfig.hpp.

◆ clearanceCm

float libstp::sim::SensorMount::clearanceCm {0.0f}

Definition at line 18 of file RobotConfig.hpp.

◆ forwardCm

float libstp::sim::SensorMount::forwardCm {0.0f}

Definition at line 15 of file RobotConfig.hpp.

◆ name

std::string libstp::sim::SensorMount::name

Definition at line 14 of file RobotConfig.hpp.

◆ strafeCm

float libstp::sim::SensorMount::strafeCm {0.0f}

Definition at line 16 of file RobotConfig.hpp.


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