kauaibots first robotics

9
Kauaibots FIRST Robotics Software Development System Setup

Upload: kay-foreman

Post on 02-Jan-2016

28 views

Category:

Documents


1 download

DESCRIPTION

Kauaibots FIRST Robotics. Software Development System Setup. All Developers. Copy Resources Directory Structure: C:\ Robotics\ Resources SVN Copy all files provided by the software mentor, who will let you know if this ever needs to be updated…. Install Tortoise SVN - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Kauaibots FIRST Robotics

Kauaibots FIRST Robotics

Software Development System Setup

Page 2: Kauaibots FIRST Robotics

All Developers• Copy Resources

– Directory Structure:• C:\

– Robotics\» Resources» SVN

– Copy all files provided by the software mentor, who will let you know if this ever needs to be updated….

• Install Tortoise SVN– C:\Robotics\Resources\Tools\TortoiseSVN-1.6.6.17493-win32-svn-1.6.6.msi

• Create Google Account– Required to access SVN Source Code Repository– This is not an email account, but a login to access data stored at Google.

• If you have a gmail account, you can use your email address as your login– https://www.google.com/accounts/NewAccount

• Checkout Source Repository– In Explorer, Right-click on C:\Robotics\SVN folder, choose SVN Checkout– URL of Repository:

• https://kauaibotsfirst2010.googlecode.com/svn/trunk– Enter your google account and password if prompted

Page 3: Kauaibots FIRST Robotics

C++ (Robot Software) DevelopersWorkbench and WPI Library

• Install WindRiver Workbench 3.0– From FIRST DVD

• Install updates to FRC Software– From C:\Robotics\Resources\Distributables\

Latest

• Homework:– Read C:\Robotics\SVN\Documentation\

Software\C_CPP_Programming_Guide.pdf

Page 4: Kauaibots FIRST Robotics

C++ (Robot Software) DevelopersSupport Tools

• Install Subclipse into WindRiver Workbench– Workbench Update URL:

• http://subclipse.tigris.org/update_1.6.x

• Install Doxygen and Eclox– C:\Robotics\Resources\Tools\doxygen-1.6.1-

setup.exe– Eclox Workbench Update URL:

• http://download.gna.org/eclox/update/

Page 5: Kauaibots FIRST Robotics

C++ (Robot) DevelopersSource Code Repository

• Setup Repository Access in Workbench– Window->Open Perspective->Other…->SVN RepositoryExploring– If Repository is not already visible…

• Right-click in “SVN Repositories” window, New->Repository Location…

• URL of Repository:– https://kauaibotsfirst2010.googlecode.com/svn

• Enter your google account and password if prompted– Window->Open Perspective->Other…->Application Development– Right-click in “Project Explorer”, Import…SVN->Checkout Projects

from SVN• trunk\Source\2009\CompetitionRobot• trunk\Source\2010\MecanumRobot

– NOTE: At the first checkin, you will be prompted for your googlecode password.

Page 6: Kauaibots FIRST Robotics

C++ (Robot) DevelopersSource Code Synchronization

• To update your system w/the latest repository code– In “Project Explorer”, right-click on project, Team-

>Update to HEAD– NOTE: Files you’ve changed locally are unchanged!

• To check in your changes to the repository– In “Project Explorer”, right-click on changed files,

Team->Commit…

• To undo (and lose!) your changes– In “Project Explorer”, right-click on changed files,

Team->Revert…

Page 7: Kauaibots FIRST Robotics

LabView (Dashboard) DevelopersLabView and FRC Libraries

• Install LabView 8.5– From FIRST DVD

• Install updates to FRC LabView Software– From C:\Robotics\Resources\Distributables\

Latest

• Homework:– Read C:\Robotics\SVN\Documentation\

Software\DashboardTutorial.pdf

Page 8: Kauaibots FIRST Robotics

LabView (Dashboard) DevelopersSource Code Synchronization

• Project Folders– C:\Robotics\SVN\2009\CompetitionDashboard– C:\Robotics\SVN\2010\MecanumDashboard

• To update your system w/the latest repository code– In Windows Explorer, right-click on project folder, SVN Update– NOTE: Files you’ve changed locally are unchanged!

• To check in your changes to the repository– In Windows Explorer, right-click on project folder, Tortoise SVN-

>Revert…

• To undo (and lose!) your changes– In Windows Explorer, right-click on project folder, Team-

>Revert…

Page 9: Kauaibots FIRST Robotics

Golden Rules

• When you are done, always commit your changes (or revert if you REALLY want to discard them)

• When committing changes, always leave a meaningful comment – to help you remember what you changed!