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
35namespace light {
36
50bool runPath(const char* name,
51 bool reversed = false,
52 int timeoutMs = -1,
53 float poseErrBailIn = 8.0f,
55
57bool runPath(const char* name,
58 std::vector<PathEvent> events,
59 bool reversed = false,
60 int timeoutMs = -1,
61 float poseErrBailIn = 8.0f,
63
64} // namespace light
Initialize once via init(); poll getPose/setPose from any task.
Definition pid.hpp:22
Follower
Path-following controller selector.
Definition ramsete.hpp:18
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.