41103C 26/27
Documentation for 41103C 1/3 for the 2026/2027 Vex V5 Season Override
Toggle main menu visibility
Loading...
Searching...
No Matches
auton.hpp
1
#pragma once
2
#include "
api.h
"
3
#include "odom.hpp"
4
#include "hardware.hpp"
5
6
void
auton_faceHeading(
float
heading,
int
timeout_millis);
7
void
auton_driveDistance(
int
distance,
int
timeout_millis);
8
void
auton_driveToPoint(
float
targetX,
float
targetY,
int
timeout_millis);
9
10
const
float
turnOutputPowerMod = 0.8f;
// MUST BE LOWER THAN 1, MOTORS CANNOT BE OVERCLOCKED or 💀
11
const
float
turnKp = 50.0f;
12
const
float
turnKi = 0.8f;
13
const
float
turnKd = 0.5f;
14
15
extern
float
turnPastError;
16
extern
float
turnPastHeading;
17
extern
float
turnIntegral;
18
19
const
float
driveKp = 5.0f;
20
const
float
driveKi = 0.0f;
21
const
float
driveKd = 0.0f;
22
23
extern
float
drivePastError;
24
extern
float
drivePastDError;
25
extern
float
driveIntegral;
26
extern
Vector2
drivePastPos;
27
extern
int
drivePastDist;
api.h
Vector2
Definition
helpers.hpp:20
include
auton.hpp
Generated by
1.17.0