primaryYaw
public double primaryYaw()
Returns the value of the
primaryYaw record component.- Returns:
- the value of the
primaryYawrecord component
time - secondsprimaryYaw - primary gyro yaw, radiansprimaryOk - primary gyro connected and not a dead readbackupYaw - backup gyro yaw, radiansbackupOk - backup gyro present and readingdistances - module drive distances, metresangles - module steer angles, radiansmoduleOk - per module: connected and not a dead readOdometryGuardSample(double time,
double primaryYaw,
boolean primaryOk,
double backupYaw,
boolean backupOk,
double[] distances,
double[] angles,
boolean[] moduleOk) Sample record class.double[]angles()angles record component.booleanbackupOk()backupOk record component.doublebackupYaw record component.double[]distances record component.final booleanfinal inthashCode()boolean[]moduleOk()moduleOk record component.booleanprimaryOk record component.doubleprimaryYaw record component.doubletime()time record component.final StringtoString()Sample record class.time - the value for the time record componentprimaryYaw - the value for the primaryYaw record componentprimaryOk - the value for the primaryOk record componentbackupYaw - the value for the backupYaw record componentbackupOk - the value for the backupOk record componentdistances - the value for the distances record componentangles - the value for the angles record componentmoduleOk - the value for the moduleOk record componentObjects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.primaryYaw record component.primaryYaw record component