LightLib
PROS library for VEX V5: EKF/MCL localization, RAMSETE path following, high-level chassis API
Loading...
Searching...
No Matches
paths.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <vector>
4
5
#include "Lightlib/drive/ramsete.hpp"
6
35
namespace
light
{
36
50
bool
runPath
(
const
char
* name,
51
bool
reversed =
false
,
52
int
timeoutMs = -1,
53
float
poseErrBailIn = 8.0f,
54
Follower
follower =
Follower::PURE_PURSUIT
);
55
57
bool
runPath
(
const
char
* name,
58
std::vector<PathEvent> events,
59
bool
reversed =
false
,
60
int
timeoutMs = -1,
61
float
poseErrBailIn = 8.0f,
62
Follower
follower =
Follower::PURE_PURSUIT
);
63
64
}
// namespace light
light
Initialize once via init(); poll getPose/setPose from any task.
Definition
pid.hpp:22
light::Follower
Follower
Path-following controller selector.
Definition
ramsete.hpp:18
light::Follower::PURE_PURSUIT
@ PURE_PURSUIT
light::runPath
bool runPath(const char *name, bool reversed=false, int timeoutMs=-1, float poseErrBailIn=8.0f, Follower follower=Follower::PURE_PURSUIT)
Run a registered path by name.
include
LightLib
drive
paths.hpp
Generated by
1.9.8