FRC 2019 New Software An overview of software changes for the 2019 - - PowerPoint PPT Presentation

frc 2019 new software
SMART_READER_LITE
LIVE PREVIEW

FRC 2019 New Software An overview of software changes for the 2019 - - PowerPoint PPT Presentation

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


slide-1
SLIDE 1

FRC 2019 New Software

An overview of software changes for the 2019 season Team 4646 ASAP

info@team4646.org

slide-2
SLIDE 2

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.

slide-3
SLIDE 3

What’s new?

  • IDE is VS Code and builder is

GradleRio

  • WPILib updates
  • NI updates
  • CTRE Phoenix updates
  • Imaging Roborio
  • Shuffleboard
  • Path Weaver
slide-4
SLIDE 4

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

slide-5
SLIDE 5

VS Code Welcome Page

slide-6
SLIDE 6

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

slide-7
SLIDE 7

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)

slide-8
SLIDE 8

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.
slide-9
SLIDE 9

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)

slide-10
SLIDE 10

Shuffleboard (no obvious changes)

Photo taken from wpilib.screenstepslive.com

slide-11
SLIDE 11

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

slide-12
SLIDE 12

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