2015 Control System

Download Report

Transcript 2015 Control System

2015 Control System
New IDEs and CAN
Programming Languages
• Labview, C++, Java
• Labview remains basically the same
• C++ and Java now use Eclipse IDE
• You’ll need Java even if you use C++
Downloading Java
• Go to www.java.com
• Click “Free Java Download
• Click “Agree and Start Free Download”
Downloading Eclipse
• Go to www.eclipse.org
• Press “Download”
• Select the C/C++ version of Eclipse (even if you are programming in
Java)
• Extract and Install
Preparing IDE for FRC
• FIRST will release toolchains and plugins for robot development
• LabView and the FRC Update Suite are essentially the same
Eclipse IDE
• Familiar to Netbeans users
• Easy transition from C++
• Features such as RobotBuilder will remain
• Not a big leap
CAN (Controller Area Network)
• Bi-directional communication between multiple devices
• 1 Mbps
• Daisy-chain multiple devices together
• Many new components have CAN built in
What CAN changes
• CAN devices (PDP, PCM, motor controllers) now have CAN ID
• Software may ask for ID
• Example: Double Solenoid on PCM slots 3 and 4 of PCM with ID of 1. Since
the default ID in code is zero, the constructor would look like (1, 3, 4) rather
than (3, 4)
• Firmware for PCM and PDP as well as roboRIO
• Software can now access status conditions (temperature, current,
voltage) in some CAN-enabled components
• Some motor controllers no longer use PWM
CAN this year
• Only Jaguars had CAN
• Made much easier this year
The WebDashboard
• How we interact with components via CAN
• Change firmware or component ID, reimage roboRIO, etc.
• CAN see all components successfully connected to the CAN network
here
• roboRIO is the root point of the CAN network
Recap
• New IDE for C++ and Java
• CAN integration
• Lots of new things this year
• Pretty familiar