Go to Post "Dear Santa, all I want for Christmas is a game hint." - Gregor [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 06-05-2009, 02:20
henrylu33 henrylu33 is offline
Registered User
no team
 
Join Date: May 2009
Location: California
Posts: 1
henrylu33 is an unknown quantity at this point
FRC Software Help

Hi I have never competed in the First Robotics competition but as a project in my Technical Writing class in college I involved in creating a manual for a local high school robotics team. I am responsible for the software portion and on the checklist there is a section that lists three parts I do not understand. Any help would be appreciated. Here are the three things:
- Describe the operation of the default program code
- Load the default program onto the robot controller
- Load the default code onto a previous year’s robot and modify it to drive in a predetermined route
Please advise on how I would best put this information in a manual to help students better understand the task at hand. Thank you.
  #2   Spotlight this post!  
Unread 06-05-2009, 06:52
LVMastery LVMastery is offline
LabVIEW Educator and Mentor
AKA: Ben Zimmer
FRC #0843 (Wildcats)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Toronto
Posts: 47
LVMastery has much to be proud ofLVMastery has much to be proud ofLVMastery has much to be proud ofLVMastery has much to be proud ofLVMastery has much to be proud ofLVMastery has much to be proud ofLVMastery has much to be proud ofLVMastery has much to be proud of
Re: FRC Software Help

Henry,

This is a wonderfully challenging task you have been given.

The first decision you will have to make is which programming language you will be using: C++ or LabVIEW.

If you use LabVIEW, I've created a video blog which will take you through many of the required steps. Check out our blog at www.LVMastery.com/FRCTipJar

All the best,
Ben Zimmer
__________________
Ben Zimmer
Enable Education
www.EnableEducation.com
www.FRCMastery.com
email: ben@enabletc.com
Phone/Fax: (905) 864-1858
Toll Free: (877) 872-4619
  #3   Spotlight this post!  
Unread 06-05-2009, 21:16
pyr0b0y pyr0b0y is offline
Programmer/Electrical
AKA: Josh
FRC #0253 (Mills Robotics Team)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2004
Location: Millbrae
Posts: 78
pyr0b0y is an unknown quantity at this point
Send a message via AIM to pyr0b0y
Re: FRC Software Help

Quote:
Originally Posted by henrylu33 View Post
Hi I have never competed in the First Robotics competition but as a project in my Technical Writing class in college I involved in creating a manual for a local high school robotics team. I am responsible for the software portion and on the checklist there is a section that lists three parts I do not understand. Any help would be appreciated. Here are the three things:
- Describe the operation of the default program code
- Load the default program onto the robot controller
- Load the default code onto a previous year’s robot and modify it to drive in a predetermined route
Please advise on how I would best put this information in a manual to help students better understand the task at hand. Thank you.
If you are going to be using Windriver, the default program code, SimpleRobot, uses arcade drive and a very basic autonomous mode, the teleop mode just allows tank drive with leftStick/rightStick.

Loading the code onto the robot is done by setting the cRio as the remote system then downloading onto the robot.

To accomplish the last part, you will use autonomous mode. a simple example of setting a predetermined is

Code:
void Autonomous(void)
	{
		GetWatchdog().SetEnabled(false);
		myRobot.Drive(0.5, 0.5); 						// drive forwards half speed 
		Wait(1.0); 											// for 1 second
		myRobot.Drive(0.75, 0.75); 						// drive forwards three-quarter speed
		Wait(4.0);											// for 4 seconds
		myRobot.Drive(-0.5, 0.75);						// turn left
		Wait(2.0);											// for 2 seconds
		myRobot.Drive(0.75, -0.5);						// turn right
		Wait(2.0);											// for 2 seconds
		myRobot.Drive(0.5, 0.5);						// drive straight at half speed
		Wait(1.0);											// for 1 second
		myRobot.Drive(0.75, 0.75);						// drive forwards at 3/4 speed
		Wait(5.0);											// for 5 seconds
	}
Hope that helps!
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Software for progaming in FRC frcchile Programming 14 29-12-2008 20:18
FRC Workshop (Atlanta) - Using Collaboration Software to Jumpstart Your FRC Team PTC_FRC CAD 0 16-04-2008 10:37
Event Match Software Help Kims Robot Technical Discussion 1 27-10-2006 02:04
Spoiler: Could this be the new software for the FRC 2006? Chris_Elston Rumor Mill 20 21-11-2005 14:14
Software Help AzNDynasty FIRST Lego League 1 25-10-2005 17:19


All times are GMT -5. The time now is 02:00.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi