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

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

#include <distanceReset.h>

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 20 of file distanceReset.h.

Member Data Documentation

◆ x

double distancePose::x

X coordinate of the robot.

Definition at line 21 of file distanceReset.h.

◆ y

double distancePose::y

Y coordinate of the robot.

Definition at line 22 of file distanceReset.h.

◆ using_odom_x

bool distancePose::using_odom_x

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

Definition at line 23 of file distanceReset.h.

◆ using_odom_y

bool distancePose::using_odom_y

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

Definition at line 24 of file distanceReset.h.