Features

  • Easy WS2812B Addressable LED control
  • Accurate motor velocity measurements
  • Template for making custom velocity controllers
  • Many kinds of pre-built filters for general use
  • Platform-agnostic, meaning it works with both PROS and VEXcode

Installation

PROS

  1. Download the latest version of the Sylib template from the Releases page
  2. In the directory where you downloaded the zip archive, run pros c fetch sylib@<version>.zip
  3. In your PROS project directory, run pros c apply sylib@<version>
  4. In your main.h file, make sure to include sylib/sylib.hpp
  5. In /include/sylib/env.hpp make sure that SYLIB_SRC_PRESENT and SYLIB_ENV_VEXCODE are not defined, and that SYLIB_ENV_PROS is. This makes sure that the right headers are included, and that sylib uses the pre-compiled library provided by the template instead of trying to build it from the non-existent source (which would not compile in a PROS environment anyways).
  6. In your initialize() function, make sure to include sylib::initialize();

note: Sylib requires PROS kernel 3.7.2 or later to run, and is not currently compatible with PROS 4