libstp
Robotics library for Botball
Loading...
Searching...
No Matches
Pose2D.hpp File Reference
#include <cmath>
#include <numbers>
Include dependency graph for Pose2D.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  libstp::sim::Vec2
struct  libstp::sim::Pose2D

Namespaces

namespace  libstp
namespace  libstp::sim

Functions

float libstp::sim::normalizeAngle (float angle) noexcept
Pose2D libstp::sim::applyLocalDelta (const Pose2D &pose, float dxLocal, float dyLocal, float dTheta) noexcept
 Apply a delta expressed in the robot's local frame (forward, left, yaw).
Pose2D libstp::sim::forwardMove (const Pose2D &pose, float distanceCm) noexcept
Pose2D libstp::sim::strafeMove (const Pose2D &pose, float distanceCm) noexcept
Pose2D libstp::sim::rotate (const Pose2D &pose, float angleRad) noexcept