#include "pros/distance.hpp"
#include "pros/misc.h"
#include "lemlib/chassis/chassis.hpp"
#include "pros/adi.h"
#include "pros/adi.hpp"
#include "pros/motors.h"
Go to the source code of this file.
|
| pros::Controller | controller (pros::E_CONTROLLER_MASTER) |
| |
| pros::MotorGroup | rightMotors ({11,-12, 13}) |
| |
| pros::MotorGroup | leftMotors ({-1, 2,-3}) |
| |
| pros::IMU | imu (8) |
| |
| pros::Rotation | horizontal_tracking_sensor (9) |
| |
| pros::Rotation | vertical_tracking_sensor (10) |
| |
| lemlib::ControllerSettings | lateral_controller (30, 0, 100, 3, 1, 100, 3, 500, 20) |
| |
| lemlib::ControllerSettings | angular_controller (4, 0, 24.5, 3, 1, 100, 3, 500, 0) |
| |
| lemlib::ExpoDriveCurve | throttle_curve (5, 10, 1) |
| |
| lemlib::ExpoDriveCurve | steer_curve (5, 5, 1.02) |
| |
| lemlib::Chassis | chassis (drivebase, lateral_controller, angular_controller, sensors, &throttle_curve, &steer_curve) |
| |
| pros::Motor | intakeMotor (6) |
| |
| pros::Motor | agitator (16, pros::v5::MotorGears::green) |
| |
| pros::Motor | midMotor (20) |
| |
| pros::Distance | right (4) |
| |
| pros::Distance | left (5) |
| |
| pros::Distance | front (7) |
| |
| pros::Distance | back (8) |
| |
| pros::adi::Pneumatics | topRoller ('B', false) |
| |
| pros::adi::Pneumatics | midRollerHeight ('A', true) |
| |
| pros::adi::Pneumatics | matchload_mech ('D', false) |
| |
| pros::adi::Pneumatics | aligner ('C', true) |
| |
◆ agitator()
| pros::Motor agitator |
( |
16 | , |
|
|
pros::v5::MotorGears::green | ) |
◆ aligner()
| pros::adi::Pneumatics aligner |
( |
'C' | , |
|
|
true | ) |
◆ angular_controller()
| lemlib::ControllerSettings angular_controller |
( |
4 | , |
|
|
0 | , |
|
|
24. | 5, |
|
|
3 | , |
|
|
1 | , |
|
|
100 | , |
|
|
3 | , |
|
|
500 | , |
|
|
0 | ) |
◆ back()
| pros::Distance back |
( |
8 | | ) |
|
◆ chassis()
◆ controller()
| pros::Controller controller |
( |
pros::E_CONTROLLER_MASTER | | ) |
|
◆ front()
| pros::Distance front |
( |
7 | | ) |
|
◆ horizontal_tracking_sensor()
| pros::Rotation horizontal_tracking_sensor |
( |
9 | | ) |
|
◆ imu()
◆ intakeMotor()
| pros::Motor intakeMotor |
( |
6 | | ) |
|
◆ lateral_controller()
| lemlib::ControllerSettings lateral_controller |
( |
30 | , |
|
|
0 | , |
|
|
100 | , |
|
|
3 | , |
|
|
1 | , |
|
|
100 | , |
|
|
3 | , |
|
|
500 | , |
|
|
20 | ) |
◆ left()
| pros::Distance left |
( |
5 | | ) |
|
◆ leftMotors()
| pros::MotorGroup leftMotors |
( |
{-1, 2,-3} | | ) |
|
◆ matchload_mech()
| pros::adi::Pneumatics matchload_mech |
( |
'D' | , |
|
|
false | ) |
◆ midMotor()
| pros::Motor midMotor |
( |
20 | | ) |
|
◆ midRollerHeight()
| pros::adi::Pneumatics midRollerHeight |
( |
'A' | , |
|
|
true | ) |
◆ right()
| pros::Distance right |
( |
4 | | ) |
|
◆ rightMotors()
| pros::MotorGroup rightMotors |
( |
{11,-12, 13} | | ) |
|
◆ steer_curve()
| lemlib::ExpoDriveCurve steer_curve |
( |
5 | , |
|
|
5 | , |
|
|
1. | 02 ) |
◆ throttle_curve()
| lemlib::ExpoDriveCurve throttle_curve |
( |
5 | , |
|
|
10 | , |
|
|
1 | ) |
◆ topRoller()
| pros::adi::Pneumatics topRoller |
( |
'B' | , |
|
|
false | ) |
◆ vertical_tracking_sensor()
| pros::Rotation vertical_tracking_sensor |
( |
10 | | ) |
|
◆ horizontal_tracking_sensor
◆ leftMotors
| lemlib::Drivetrain drivebase & leftMotors |
◆ vertical_tracking_sensor
◆ vertical_tracking_wheel
| lemlib::OdomSensors sensors& vertical_tracking_wheel |