|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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
|
|||
|
|||
|
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 |
|
#3
|
|||
|
|||
|
Re: FRC Software Help
Quote:
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
}
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |