PreSeason Create Test Project: Difference between revisions
From 1511Wookiee
Jump to navigationJump to search
Programming (talk | contribs) (Created page with "<div class="mw-parser-output"><span style="font-size: large;">'''Create a Test Project in FRC IDE'''</span><br/> <br/> 1. Start 'FRC VS Code 2019' (shortcut is on Desktop)<br/...") |
No edit summary |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
# Start 'FRC VS Code' (shortcut is on Desktop) | |||
# Open Command Palette: Ctrl+Shift+P, "W" menu in top-right corner, or select from 'View' menu | |||
# Select 'WPILib: Create a new project' in the list | |||
## Click button 'Select a project type' | |||
## Select 'template' | |||
## For 'Select a language', select 'cpp' | |||
## For 'Select a project base', select 'Timed Skeleton (Advanced)' | |||
# Now click 'Select a new project folder' | |||
# Navigate to Desktop | |||
# Click 'Select Folder' to choose the desktop as the project destination folder | |||
# For "Project Name", enter ''preseason-yourname'' (replace ''yourname'' with your name) | |||
# Make sure the "Create a new folder?" checkbox '''is checked''' | |||
# For team number enter: 1511 | |||
# Make sure the "Enable Desktop Support" checkbox '''is NOT checked''' | |||
# Click 'Generate Project' | |||
# You will now be asked if you would like to open the folder - select 'Yes (Current Window)' | |||
# At this point your project template should have been created and in the TERMINAL window it will be doing an initial compile (let it finish). | |||
# Now you will add support for CAN bus based CTRE motor controllers to your project | |||
## In the left side tree, right click on the file 'build.gradle' | |||
## Choose '''Manage Vendor Libraries''' from the pop-up list | |||
## At the top of the screen in the new menu that opens, choose "Install new libraries (offline)" | |||
## Check the box next to '''CTRE-Phoenix''' then click OK | |||
## You will be asked if you want to rebuild - you can choose yes | |||
# Your pre-season project template is now ready to start one of the lessons. |
Latest revision as of 20:39, 28 November 2021
- Start 'FRC VS Code' (shortcut is on Desktop)
- Open Command Palette: Ctrl+Shift+P, "W" menu in top-right corner, or select from 'View' menu
- Select 'WPILib: Create a new project' in the list
- Click button 'Select a project type'
- Select 'template'
- For 'Select a language', select 'cpp'
- For 'Select a project base', select 'Timed Skeleton (Advanced)'
- Now click 'Select a new project folder'
- Navigate to Desktop
- Click 'Select Folder' to choose the desktop as the project destination folder
- For "Project Name", enter preseason-yourname (replace yourname with your name)
- Make sure the "Create a new folder?" checkbox is checked
- For team number enter: 1511
- Make sure the "Enable Desktop Support" checkbox is NOT checked
- Click 'Generate Project'
- You will now be asked if you would like to open the folder - select 'Yes (Current Window)'
- At this point your project template should have been created and in the TERMINAL window it will be doing an initial compile (let it finish).
- Now you will add support for CAN bus based CTRE motor controllers to your project
- In the left side tree, right click on the file 'build.gradle'
- Choose Manage Vendor Libraries from the pop-up list
- At the top of the screen in the new menu that opens, choose "Install new libraries (offline)"
- Check the box next to CTRE-Phoenix then click OK
- You will be asked if you want to rebuild - you can choose yes
- Your pre-season project template is now ready to start one of the lessons.