Second I finished all the color sorter code, like finishing the function to call when you want to look for a color. Next we had the scotts county competition so I made custom auton routes for us to run at the competition. These will be changed later.
34 lines
721 B
C++
34 lines
721 B
C++
#pragma once
|
|
|
|
void default_constants();
|
|
|
|
/**
|
|
* Personal auton routes
|
|
*/
|
|
void quick_right_blue();
|
|
void quick_right_red();
|
|
void blue_left_3pin();
|
|
void blue_right_4pin();
|
|
void blue_right_3pin();
|
|
void red_left_3pin();
|
|
void red_right_3pin();
|
|
void red_right_4pin();
|
|
void Test();
|
|
|
|
/**
|
|
* Template auton routes
|
|
*/
|
|
void drive_example();
|
|
void turn_example();
|
|
void drive_and_turn();
|
|
void wait_until_change_speed();
|
|
void swing_example();
|
|
void motion_chaining();
|
|
void combining_movements();
|
|
void interfered_example();
|
|
void odom_drive_example();
|
|
void odom_pure_pursuit_example();
|
|
void odom_pure_pursuit_wait_until_example();
|
|
void odom_boomerang_example();
|
|
void odom_boomerang_injected_pure_pursuit_example();
|
|
void measure_offsets(); |