LightLib
PROS library for VEX V5: EKF/MCL localization, RAMSETE path following, high-level chassis API
Loading...
Searching...
No Matches
rotational_snap.hpp File Reference

Manual-then-snap mechanism controller. More...

#include <vector>
#include "pros/abstract_motor.hpp"
#include "pros/motor_group.hpp"
#include "pros/motors.hpp"
#include "pros/rotation.hpp"

Go to the source code of this file.

Classes

class  light::RotationalSnap
 Manual-then-snap controller for a motor + rotation-sensor pair. More...
 

Namespaces

namespace  light
 Public LightLib odometry / pose-estimation API.
 

Detailed Description

Manual-then-snap mechanism controller.

Drives a motor manually while the operator is pressing a button or deflecting a joystick, and automatically snaps to the nearest preset angle the instant the operator stops.

Definition in file rotational_snap.hpp.