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

#include <Pose2D.hpp>

Public Attributes

float x {0.0f}
float y {0.0f}
float theta {0.0f}

Detailed Description

2D robot pose. x,y in cm; theta in radians (0 = +X, positive = CCW). Matches the web-ide Pose2D definition so ftmap scenes and planner output can be fed through the same math without translation.

Definition at line 17 of file Pose2D.hpp.

Member Data Documentation

◆ theta

float libstp::sim::Pose2D::theta {0.0f}

Definition at line 21 of file Pose2D.hpp.

◆ x

float libstp::sim::Pose2D::x {0.0f}

Definition at line 19 of file Pose2D.hpp.

◆ y

float libstp::sim::Pose2D::y {0.0f}

Definition at line 20 of file Pose2D.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/Pose2D.hpp