Intro to roboRIO
Presented by Rohawktics Team #3824
Intro to roboRIO Presented by Rohawktics Team #3824 Overview What - - PowerPoint PPT Presentation
Intro to roboRIO Presented by Rohawktics Team #3824 Overview What will be covered Hardware (20 min) What is new? What is the same? How do you wire the new hardware? Software (20 min) What has changed? Overview
Presented by Rohawktics Team #3824
What will be covered
○ What is new? ○ What is the same? ○ How do you wire the new hardware?
○ What has changed?
What will be covered
○ IDE, systems requirement (Java 8) ○ Getting started examples (2 or 3 examples) ■ Discuss mDNS vs old style IPs ■ roboRIO embedded Web server ■ How to port old code to new platform ○ Working robot ■ CAN, PDP, PCM, new Talon’s, basic drive, compressor ○ Debugging ○ WPILib JavaDocs ○ SFX, Robotbuilder
○ DIO - Digital Input/Output (10) ○ PWM output (10) ○ Analog inputs (4) ○ Relay control outputs (4) ○ RS-232 (1) ○ Ethernet (1) ○ USB - Universal Serial Bus(3) ○ I2C - Inter Integrated Circuit (1) ○ CAN - Controller Area Network (1) ○ SPI - Serial Peripheral Interface (1) ○ Expansion connector for additional PWM/Analog In and DIO
status, voltages and currents.
pump control and relay outputs with built-in pump power relay and shut off switch input. The robot may have multiple PCMs.
and do not require special cooling.
○ Talon-SRX - PWM and CAN, closed loop PID built in ○ Victor-SP - PWM with selectable Brake/Coast
control.
tanks, etc.).
How Do You Wire the New Hardware?
roboRIO-[team #].local
Power Distribution Panel (PDP), and the Pneumatic Control Module (PCM). CAN IDs should be set to zero for the PDP and PCM unless using more than one PCM, then the second PCM should have a CAN address of one.
Package name can be set in the Build.properties file.
through HTML. The logon user name is “admin” - no password required by default.
device
libraries like OpenCV.
that uses the PCM.
the PDP. The instantiated object reads the currents from each of the motor channels.
into the roboRio.
than voltages that need to be converted.
Station has been removed. NetworkTables/SmartDashboard can be used to display text.
programs.
http://first.wpi.edu/FRC/roborio/development/docs/
Reference of software changes: https://wpilib.screenstepslive.com/s/4485/m/13809/l/144988-2015-text- based-language-software-notes