-
Notifications
You must be signed in to change notification settings - Fork 4
Palettes
The FRC Pixy2 palette can be found in the Third Party palette of the WPI Robotics Library which installs with the 2019 update.
The Pixy2 palette includes several subpalettes including Initialization, Configuration, Line Tracking Configuration, and Display. It also includes the Color Connected Components VI, Line Tracking VI, and Get RGB VIs.
The Initialize palette is used to initialize your session to Pixy2. There are three options to initialize: I2C, SPI, and UART. You'll need to configure Pixy2 through PixyMon2 to use the protocol of your choice and connect Pixy2 physically to roboRIO. See: https://github.com/charmedlabs/Pixy2LabVIEW/wiki/Other-Ways-to-Connect-Pixy2
The Configuration palette allows you to configure Pixy2 functions such as LED color, enable lamps and more.
The Line Tracking Configuration allows you to configure line tracking mode.
Finally, the Display palette provides a couple useful functions for displaying color connected components data and line tracking data.