FRC 2019 New Software An overview of software changes for the 2019 season Team 4646 ASAP info@team4646.org
Overview We, Team ASAP, were beta-testing new software for FIRST and the 2019 season of FRC. This presentation highlights some new features, as well as tips and tricks to get through them. We hope you and your team find this helpful! Send any questions to our email.
● IDE is VS Code and builder is GradleRio ● WPILib updates What’s new? NI updates ● ● CTRE Phoenix updates Imaging Roborio ● ● Shuffleboard Path Weaver ●
VS Code IDE and GradleRIO builder ● VS Code, the new IDE *We are a C++ team so this may not apply to Java teams* ○ ○ We had issues with class paths while transferring Eclipse code to VS Code ■ .cpp and .h files were in the same folder in Eclipse, but VS Code separates them (we had to manually move files and rewrite include paths) It seems java teams did not have this issue ■ ○ Other manual additions: ■ Must have using namespace frc; in each file that uses frc namespace, same for wpi namespace (we assume VS Code couldn’t find FRC code) In .cpp files, if you include any class from frc, you need to prepend frc/ to the ■ include line. (Ex: use #include frc/WPILib.h instead of #include WPILib.h ) ● GradleRIO, the new builder ○ Replaces Ant builder used in Eclipse
VS Code Welcome Page
WPILib Updates ● Some classes changed namespace (Ex: llvm is in wpi now) WPILib Command Palette ● ○ To open WPILib command palette in VS Code, press Ctrl+Shift+p ○ List of useful commands including deploy , build , etc. Photo taken from wpilib.screenstepslive.com
National Instrument Updates ● For… LabVIEW ○ ■ Software stack is based on Labview 2018 ○ Driver Station ■ No noticable changes RoboRIO Imaging tool ○ ■ Can update firmware (latest is 6.0.0)
CTRE Phoenix Updates ● Only for CTRE hardware Talon SRX, Victor SPX ○ ○ Pigeon IMU ○ CANifier ● Our team does not use these, so we didn’t update them.
Imaging RoboRio ● The webpage configuration utility has a new look Some buttons were moved to ● different utilities (Ex: CAN has been moved to Phoenix Diagnostics Client)
Shuffleboard (no obvious changes) Photo taken from wpilib.screenstepslive.com
PathWeaver New! ● ● Allows you to draw out paths on the game field, and will generate a spreadsheet of values (delta x, time, velocity, etc.) ● Currently only supports Tank drive Photo taken by Andrewda from GitHub
For more information about WPILib, see this slideshow: https://cpb-us-w2.wpmucdn.com/wp.wpi.edu/dist/1/35/files/2018/05/Building- and-Contributing-to-WPILib-2018.pdf
Recommend
More recommend