FRC team 5584. Est. 2014

 

 

Follow Our Progress

Keep updated with the team by following our social media channels. For exciting highlights videos and robot reveals, be sure to subscribe to our YouTube channel!

Read more

 

Robocamps

Come and join us at one of our Robo Camp workshops! Held at three locations across the Eastern suburbs of Melbourne. Register on our website now!

Read more

 

Our Sponsors

The companies that support our team to run each season and are helping us promote a bright future for STEM in Australia. 

Read more

 

 

Q1: How do I fix a blank dashboard on the FRC Driver Station?

A1: Try making the windows task bar auto hide. The dashboard is designed to fit above the driver station and with the task bar in place there is not enough screen real estate remaining for the dashboard to fit into. This occurs with the default dashboard as well as custom dashboards and is a particular problem on the classmate.

Q2: How do I fix a skewed custom dashboard on the FRC Driver Station?

A2: We have created a custom dashboard but when it is running the right hand tabbed section of the display is disjointed relative to the camera image display on the left. This may just be annoying but in the worst case some of the controls (e.g. camera selection) are scrolled down so far that they are inaccessible rendering the dashboard largely unusable. This can ber fixed easily by ensuring that the control panel in labview has the left and right sections of the panel aligned and at the very top of the screen. Verify that this configuration is in the saved VI by saving the project and re-opening. If you now build your dashboard it will display correctly with the top edges aligned with the top edge of the display and all controls should now be accessible!

Q3: What is the IP Address Configuration for the cRIO?

A3: During the initial set up we used a team number of 93, we were then allocated the temporary number 8888. The instructions used for the CRIO imaging, router and camera are in the FIRST "Getting Started with the FRC Control System" document. (NOTE: used orange cable instead of yellow cable described in the instructions, this was for the camera ip setup and the crio imaging tasks)

(a) DURING CRIO CONFIGURATION THE PC ADDRESS WILL BE 10.0.93.5 [1.88.88.5]

(b) IN FINAL SETUP, THE ADDRESSES WILL BE:

PC WIRED IP ADDRESS = 10.0.93.9 [10.88.88.] (SUBNET = 255.0.0.0)

PC WIRELESS IP ADDRESS = 10.0.93.93 [10.88.88.88] (SUBNET = 255.0.0.0)

CRIO IP ADDRESS = 10.0.93.2 [10.88.88.2]

ROUTER IP ADDRESS = 10.0.93.1 [10.88.88.1]

CAMERA IP ADDRESS = 10.0.93.11 [10.88.88.11]

Q4: Which modules should be present in the cRIO slots?

A4: The following should be reported by the imaging tool ...

SLOT1 = NI9201

SLOT2 = NI9403

SLOT3 = NI9472

SLOT4 = EMPTY

Q5: How do I go about troubleshooting the FRC radio configuration? (this answer last reviewed Jan-2020)

A5: Things to try if the instructions don't quite go to plan:

* login as an admin user on your PC and run the FRC Radio Configuration Utility from an elevated command prompt

* normally you just follow the instructions bottom right of window to "Configure" radio (set team number to 5584, set WPA key to something memorable and insert unique name for the radio (robot name is a good idea or make something up if developing in an environment with multiple robots running concurrently)

* double check that ALL other network interfaces are disabled

* if prompted to "reset" then follow the instructions in the bottom right of the window to "Load Firmware"

* if you are observing timeout issues then try programming with a network switch between your PC and the radio - this solved our timeout issues when configuring and loading firmware!

Q6: How do I go about troubleshooting the IP Camera?

A6: If the camera not showing up in FRC Dashboard:

check that the "Enable Vision" button is switched on in the "Robot Main VI" - I don't think this is relevant.

check that "Enable Dashboard Video" is switched on in the "FRC Dashboard" - this is certainly relevant.

change the resolution in the "FRC Dashboard" (e.g. left mouse click on the "160x120 30fps 30%" button then select a different resolution, 320x240 and 640x480 both work, 160x120 does not work with our camera)

not sure why this works yet, presumably the initial resolution is one that is not supported :o

When setting up we used the "robot radio" option with team number 93 [8888]. The camera IP did need to be reset as described in the instructions displayed by the set up tool.

The username and password for the camera were set to values FRC/FRC - passwords can be set up as described in the "Manual configuration of the camera" section of the "Getting Started with the Control System" instructions.

Q7: How do I change the mode of the cursor?

A7: Press the <Shift> key and right-click to display a temporary version of the Tools palette at the location of the cursor, select the tool you require. Alternatively select "View" > "Tools Pallette".

Q8: How do I create decorations (frames, labels etc)?

A8: Via the Front Panel Controls pallette select "Modern" > "Decorations". Via the Block Diagram "Functions" pallette select "Structures" > "Decorations"

Q9: How do I create a label?

A9: Select the "Edit Text" tool from the Tools Palette (see "View" > "Tools Palette")

Q10: How do I control the display order for overlapping objects?

A10: See "reorder" button on front panel menu bar ... select "Move Forward" or "Move Backward" or "Move to front" or "Move to Back"

Q11: How do I create a "strict type def"?

A11: For example, when creating an enum constant drop down for feeding into "DIO in Open" VI On the Controls palette, click Select a Control, or in the icons view, click the Select a Control icon to add a control to the front panel that does not appear on the Controls palette. Select the appropriate .ctl file to add the control to the front panel."

The default install point is C:\Program Files (x86)\National Instruments\LabVIEW 2013\...

We found the CTL files that we needed at ...

$ dir /s /b "C:\Program Files (x86)\National Instruments\LabVIEW 2013\vi.lib\Rock Robotics\WPI" | findstr ctl | findstr Solenoid

C:\Program Files (x86)\National Instruments\LabVIEW 2013\vi.lib\Rock Robotics\WPI\Solenoid\WPI_SolenoidCacheOp.ctl

C:\Program Files (x86)\National Instruments\LabVIEW 2013\vi.lib\Rock Robotics\WPI\Solenoid\WPI_SolenoidChannel.ctl

C:\Program Files (x86)\National Instruments\LabVIEW 2013\vi.lib\Rock Robotics\WPI\Solenoid\WPI_SolenoidDevRef.ctl

C:\Program Files (x86)\National Instruments\LabVIEW 2013\vi.lib\Rock Robotics\WPI\Solenoid\WPI_SolenoidValue.ctl

... and don't forget to change to right-click and select "Change to Constant".

Q12: How do I make a control that is only visible in the block diagram and not visible on the front panel?

A12: Add the control via the front panel then select the control (in block diagram or front panel) and select "Hide Control", to reverse select "Show Control".

Q13: How do I change a control to "auto update from type def"?

A13: Select the control in the block diagram, right click and select "change to constant".

Q14: How do I change the value in constant?

A14: Bring uo the tools palette and select the "hand" button, this will allow you to click on and then edit the value.

Q15: How do I set the variables that are marked as "Set these inputs before running"?

A15: "Views" > "Tools Palette" (or Shift + right-click mouse) to display Tools Palette then select "Operate value" tool. You can then modify variables in the front panel :)

Q16: How do I integrate example code into the robot project?

A16: There is a very good explanation in the LabVIEW Online Help (see "View" > "Getting Started" > "Tutorials" > "Tutorial 7 - Integrating Examples into Robot Code").

Q17: How do I wire up the Allen Bradley safety light on the cRIO?

A17: "Connect La and Lb to RSL+, connect N to RSL-. The RSL+ and RSL- terminals are on the digital sidecars." (see http://www.chiefdelphi.com/forums/showthread.php?t=103103)

also refer to: http://www.usfirst.org/sites/default/files/uploadedFiles/Robotics_Programs/FRC/Game_and_Season__Info/2012_Assets/Robot%20Data%20Connectivity%20Diagram%20%28PWM%29.pdf

Q18: How do I add more elements to the "array of robot movements" in the autonomous independent VI?

A18: In the front panel view select the right side of the array and drag to the right :)

Q19: How do I add fields to each of the "robot movement" records in the "array of robot movements" in the autonomous independent VI?

A19: In the front panel view right click in one of the elements of the array and add the as you would any other field, once this is completed the field will be automatically replicated to the rest of the array elements.

Q20: How do I feed a variable / indicator from the robot to the dashboard?

A20: You need to create a new dashboard project (see "Projects" > "FRC Dashboard Project" on the Labview "Getting Started" Window). The dashboard project is fully modifiable but in most cases you just add objects to the "Operation" tab, make sure they are named the same as variables that are published from the Teleop or other VIs. They are published using the Smart Dashboard VIs (e.g. "SD Write Boolean.vi"). You also need to build the new dashboard - see below. More info available here: file:///C:/Program%20Files%20(x86)/National%20Instruments/LabVIEW%202013/manuals/FRC_Programming_Guide/index.html#dashboard

Q21: How do I build a dashboard project?

A21: Create a dashboard project as described above. Modify the dashboard, add new indicators and controls as required. Save and close all open project and VI windows. Build the project via the project explorer "Project:Mildred.Sydney.lvproj" > "Build Specifications" > "FRC PC Dashboard", right click and select "properties". Confirm the destination directory and select "build" to construct a new Dashboard.exe file. If you want to replace the default Dashboard.exe then rename "C:\Program Files (x86)\FRC Dashboard\Dashboard.exe" and copy your new version to this location. Alternatively just create a shortcut on your desktop to the build location.

Q22: How do I modify the checklist tab in the FRC Dashboard?

A22: Edit C:\Users\Public\Documents\FRC\checklist.txt, this same file is referenced by all dashboards, default or custom built.

Q23: How do I deploy code to the cRIO for competition use?

A23: In LabView Project Explorer, Navigate to "RT CompactRIO Target" > "Build Specifications" > "FRC Robot Boot-up Deployment", right click and select "Properties". In the Information section confirm the destination directory (e.g. C:\FRC\Builds\Murphy.Sydney) and select "Build". When complete select "Done". Now delpoy to CRIO by navigating to "RT CompactRIO Target" > "Build Specifications" > "FRC Robot Boot-up Deployment", right click and select "Run as startup" (if radio has been reprogrammed for match then then you will need to have established a WIRED connection to the router for this to work (use ip=10.88.88.5; subnet=255.0.0.0). We also had joystick connected and "FRC Driver Station" running on the laptop.

Q24: How do I switch a laptop to work with a different radio?

A24: For example, we have two robots, Murphy and Fluffy, each have their own radios configured for use with their on board controllers (cRIO and roboRIO respectively).

To switch a PC from use with Fluffy (roboRIO) to Murphy (cRIO) we need to:

(a) Change the network adapter properties to:

IP address = 10.88.88.88

Subnet mask = 255.0.0.0

Default gateway = 10.88.88.1

(b) Change Driver station team number to 8888

To switch a PC from use with Murphy (cRIO) to Fluffy (roboRIO) we need to:

(a) Change the network adapter properties to "Obtain IP address automatically"

(b) Change Driver station team number to 5584

At the time of writing the LabView projects in the icrobotics Git repository were Henry.Sydney for Murphy and Desmondy.Sydney for Fluffy.

Q25: How do I read a variable that has been set (written) elsewhere within a VI?

A25: Select the variable and right-click and select "Create" > "Local Variable". A new object will be attached to the cursor, locate the position that you need to read/use the variable and left-click to place it. Select the new variable reference and right-click then select "Change to Read". You can now wire this reference into the required objects. This is a convenient way to access a variable from multiple points throughout a VI without having long wires draped all over the shop. Note that local variables can only be used within the VI, to pass variables between VIs you need to utilise global variables.