Recent Updates

  • You can change the type of widget that displays values with the SmartDashboard. The allowable widgets depend on the type of the value being displayed.

  • Each value displayed with SmartDashboard has a a set of properties that effect the way it's displayed.

  • 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.

  • 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.

  • 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
  • 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.

  • 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