LightLib
PROS library for VEX V5: EKF/MCL localization, RAMSETE path following, high-level chassis API
Loading...
Searching...
No Matches
pathfinderUtil.hpp
Go to the documentation of this file.
1
/*
2
* This Source Code Form is subject to the terms of the Mozilla Public
3
* License, v. 2.0. If a copy of the MPL was not distributed with this
4
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
*/
6
#pragma once
7
8
#include "
okapi/api/units/QAngle.hpp
"
9
#include "
okapi/api/units/QLength.hpp
"
10
11
namespace
okapi
{
12
struct
PathfinderPoint
{
13
QLength
x
;
// X coordinate relative to the start of the movement
14
QLength
y
;
// Y coordinate relative to the start of the movement
15
QAngle
theta
;
// Exit angle relative to the start of the movement
16
};
17
18
struct
PathfinderLimits
{
19
double
maxVel
;
// Maximum robot velocity in m/s
20
double
maxAccel
;
// Maximum robot acceleration in m/s/s
21
double
maxJerk
;
// Maximum robot jerk in m/s/s/s
22
};
23
}
// namespace okapi
QAngle.hpp
QLength.hpp
okapi
Definition
chassisController.hpp:16
okapi::PathfinderLimits
Definition
pathfinderUtil.hpp:18
okapi::PathfinderLimits::maxVel
double maxVel
Definition
pathfinderUtil.hpp:19
okapi::PathfinderLimits::maxJerk
double maxJerk
Definition
pathfinderUtil.hpp:21
okapi::PathfinderLimits::maxAccel
double maxAccel
Definition
pathfinderUtil.hpp:20
okapi::PathfinderPoint
Definition
pathfinderUtil.hpp:12
okapi::PathfinderPoint::x
QLength x
Definition
pathfinderUtil.hpp:13
okapi::PathfinderPoint::y
QLength y
Definition
pathfinderUtil.hpp:14
okapi::PathfinderPoint::theta
QAngle theta
Definition
pathfinderUtil.hpp:15
include
okapi
api
control
util
pathfinderUtil.hpp
Generated by
1.9.8