Skip to content

purduesigbots/libblrs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libBLRS by Purdue SIGBots

Helpful utilities for making the most of PROS.

libbtns: Buttons Library

This library makes it easier to interact with the Joystick and LCD buttons.

A full description of its features can be found in its header file, "buttons.h"

libfbc: Feedback Controller Library

This library contains abstracted feedback controllers, making it easier to use PID, TBH, and other control algorithms.

PID and a modified sort of Bang-Bang control (best used for simple systems with low inertia) are currently available as control algorithms.

Similarly, a full description of its features can be found in its header files, "fbc.h", "fbc_bangbang.h" and "fbc_pid.h"

liblcd: LCD Script Selection Library

This library allows the user to define a set of autonomous scripts (and accompanying titles) that can then be selected prior to a match.

This library also contains an additional utility for printing centered strings on the LCD screen.

A full description of its features can be found in "lcd.h", as well as example code in "init.c" and "auto.c".

libmtrmgr: Motor Manager Library

This library allows the user to easily integrate slewing, inversion, and scaling to the motor output. In many cases, the slewing and scaling can improve the motor's response to feedback control and reduce the likelihood of PTC trips.

As with the previous libraries, a full description of its features can be found in its header file, "mtrmgr.h"