Recent Updates
-
Updated on: Oct 12, 2012
Changing the display properties of a value
Each value displayed with SmartDashboard has a a set of properties that effect the way it's displayed.
Manual SmartDashboard -
Updated on: Oct 09, 2012
Testing commands
Commands represent robot behaviors such as moving an elevator to a position, collecting balls, shooting, or other tasks. It is desirable to test commands on the robot as they are written before combining them into more complex commands or incorporating them into other parts of the robot program. With a single line of code you can display commands on the SmartDashboard that appear as buttons that run the commands when pressed. This makes robot debugging a much simpler process than before.
Manual SmartDashboard -
Updated on: Oct 06, 2012
Setting the project to automatically build in Wind River Workbench
WindRiver Workbench can automatically rebuild projects as files are edited and saved. This is often convenient to get more immediate feedback as the project is changed.
Manual Getting started with C++ -
Updated on: Oct 03, 2012
Writing the code for a PIDSubsystem in C++
PIDSubsystems use feedback to control the actuator and drive it to a particular position. In this example we use an elevator with a 10-turn potentiometer connected to it to give feedback on the height. The skeleton of the PIDSubsystem is generated by the RobotBuilder and we have to fill in the rest of the code to provide the potentiometer value and drive the motor with the output of the imbedded PIDController.
Manual RobotBuilder -
Updated on: Oct 03, 2012
Writing the code for a PIDSubystem in Java
PIDSubsystems use feedback to control the actuator and drive it to a particular position. In this example we use an elevator with a 10-turn potentiometer connected to it to give feedback on the height. The skeleton of the PIDSubsystem is generated by the RobotBuilder and we have to fill in the rest of the code to provide the potentiometer value and drive the motor with the output of the imbedded PIDController.
Manual RobotBuilder -
Updated on: Oct 02, 2012
Writing the code for a command in C++
Manual RobotBuilder -
Updated on: Oct 02, 2012
Writing the C++ code for a subsystem
Manual RobotBuilder -
Updated on: Sep 25, 2012
Configuring the NetBeans installation
Netbeans needs to be configured to be able to download and run programs on your robot. Once configured, it can be used to run any program with the same team number.
Manual Getting started with Java -
Updated on: Sep 25, 2012
Operating a PIDSubsystem from a command in Java
A PIDSubsystem will automatically control the operation of an actuator with sensor feedback. To actually set the setpoints for the subsystem use a command since commands can be controlled over time and put together to make more complex commands. In this example we move the Elevator subsystem to the pickup (BOTTOM) position. To create the PIDSubsystem for the elevator see: Making a subsystem with feedback from sensors and Writing the code for a PIDSubystem in Java
Manual RobotBuilder -
Updated on: Sep 25, 2012
Producing a wiring diagram for your robot
Once all the subsystems are defined and filled with sensors and actuators you can produce a wiring diagram that will help the team wiring the robot to make sure that the electrical connections between the components and the cRIO robot controller are correct.
Manual RobotBuilder