HoloLib
High-performance holonomic (X-Drive) control library for VEX V5
Loading...
Searching...
No Matches
hololib::distancePose Struct Reference

The resultant position calculated by distance sensors. More...

#include <distanceReset.hpp>

Public Attributes

double x
 X coordinate of the robot.
 
double y
 Y coordinate of the robot.
 
bool using_odom_x
 True if the X coordinate is from odometry (sensor couldn't read X)
 
bool using_odom_y
 True if the Y coordinate is from odometry (sensor couldn't read Y)
 

Detailed Description

The resultant position calculated by distance sensors.

Definition at line 21 of file distanceReset.hpp.

Member Data Documentation

◆ x

double hololib::distancePose::x

X coordinate of the robot.

Definition at line 22 of file distanceReset.hpp.

◆ y

double hololib::distancePose::y

Y coordinate of the robot.

Definition at line 23 of file distanceReset.hpp.

◆ using_odom_x

bool hololib::distancePose::using_odom_x

True if the X coordinate is from odometry (sensor couldn't read X)

Definition at line 24 of file distanceReset.hpp.

◆ using_odom_y

bool hololib::distancePose::using_odom_y

True if the Y coordinate is from odometry (sensor couldn't read Y)

Definition at line 25 of file distanceReset.hpp.