ARMS
3.1.1
Documentation for ARMS movement library
|
This file contains all of the functions and variables needed to control the chassis. Look through the documentation here for more information. More...
#include "ARMS/flags.h"
#include "ARMS/point.h"
#include <memory>
#include "../api.h"
#include "pros/motors.h"
Go to the source code of this file.
Namespaces | |
arms::chassis | |
This namespace contains all of the functions and variables needed to control the chassis. | |
Functions | |
void | arms::chassis::setBrakeMode (pros::motor_brake_mode_e_t b) |
bool | arms::chassis::settled () |
void | arms::chassis::waitUntilFinished (double exit_error) |
void | arms::chassis::move (std::vector< double > target, double max, double exit_error, double lp, double ap, MoveFlags=NONE) |
void | arms::chassis::move (double target, double max, double exit_error, double lp, double ap, MoveFlags=NONE) |
move the chassis a target distance forward More... | |
void | arms::chassis::turn (double target, double max, double exit_error, double ap, MoveFlags=NONE) |
turn the chassis a target angle More... | |
void | arms::chassis::turn (Point target, double max, double exit_error, double ap, MoveFlags=NONE) |
turn the chassis to face a target point More... | |
void | arms::chassis::tank (double left, double right, bool velocity=false) |
move the chassis using tank drive More... | |
void | arms::chassis::arcade (double vertical, double horizontal, bool velocity=false) |
move the chassis using arcade drive More... | |
Variables | |
double | arms::chassis::maxSpeed |
std::shared_ptr< pros::Motor_Group > | arms::chassis::leftMotors |
std::shared_ptr< pros::Motor_Group > | arms::chassis::rightMotors |
This file contains all of the functions and variables needed to control the chassis. Look through the documentation here for more information.