Logo created by @LyubomirT |
Welcome to Master-Selector! Master-Selector is a simple yet capable PROS template that handles your autonomous routine selector
The creation of this library was inspired by this autonomous selector. This library aims to be an up-to-date and more flexible version of our inspiration.
Check out our documentation here
MIT, see the LICENSE file for more
- Easy to setup
- Categories to group your autons
- Interactive GUI on brain
- Download the latest release of
Master-Selector
and add the zip file to your project root. - Run
pros c fetch Master-Selector@x.x.x.zip
in your terminal - Run
pros c apply Master-Selector@x.x.x.zip
in your terminal - Add
#include Master-Selector/api.hpp
to the top of yourmain.h
#include "main.h"
void near_side_awp() {
// ...
}
void near_side_elims() {
// ...
}
void skills() {
// ...
}
void initialize() {
ms::set_autons({
ms::Category("Near Side", {
ms::Auton("Near Side AWP", near_side_awp),
ms::Auton("Near Side Eliminations", near_side_elims)
}),
ms::Category("Skills", {
ms::Auton("skills", skills)
})
});
ms::initialize();
}
void autonomous() {
ms::call_selected_auton();
}