Go to Post I believe everyone should give a modicum of repsect to each person they meet for the first time. After that it is up to them as to whether to give you a reason to increase that respect or detract from it. - Al Skierkiewicz [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 03-07-2015, 02:03 PM
Sparkyshires Sparkyshires is offline
Registered User
AKA: Michael Shires
FRC #0384 (Sparky)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2006
Location: Virginia
Posts: 226
Sparkyshires is an unknown quantity at this point
Re: PLEASE HELP!!!

What drivetrain do you use?
Have you checked the screensteps?
How much software do you know?
Just asking for code is a fairly broad topic, if you can supply more information, more people will be able to help you.
__________________
"Measure with a micrometer, mark with chalk, cut with an axe."
Reply With Quote
  #2   Spotlight this post!  
Unread 03-07-2015, 06:10 PM
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,539
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: PLEASE HELP!!!

Also, which robot template do you use (sample, iterative, command)?

At a minimum, you should have at least two autonomous routines this year:
  1. drive forward at a speed and for a duration which moves you forward about 3 meters, to participate in a robot set
  2. do nothing, to be used if at least one of your alliance partners cannot participate in a robot set and another has a complex autonomous for which you should just stay out of the way.

You can select which to use either through the driver station or a switch on the robot connected to a DIO port. As Sparkyshires noted, the screensteps are a good place to start.

Even if you have any higher autonomous ambitions, you should still start with these two to figure out how it works with something simple.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
Reply With Quote
  #3   Spotlight this post!  
Unread 03-07-2015, 07:16 PM
nandeeka's Avatar
nandeeka nandeeka is offline
Registered User
FRC #1868
Team Role: Programmer
 
Join Date: May 2014
Rookie Year: 2013
Location: United States
Posts: 53
nandeeka is on a distinguished road
Re: PLEASE HELP!!!

Quote:
Originally Posted by Sparkyshires View Post
What drivetrain do you use?
Have you checked the screensteps?
How much software do you know?
Which sensors do you have/can you put on your robot?
Reply With Quote
  #4   Spotlight this post!  
Unread 03-10-2015, 03:17 AM
chloe's Avatar
chloe chloe is offline
human
FRC #1868 (Space Cookies)
Team Role: Programmer
 
Join Date: Aug 2013
Rookie Year: 2013
Location: United States
Posts: 17
chloe is an unknown quantity at this point
Re: PLEASE HELP!!!

Have you read WPILib's screensteps live? http://wpilib.screenstepslive.com/s/...g-a-base-class

If your base class is IterativeRobot, you will write your autonomous in

public void autonomousInit() {
// called when you enter autonomous
}

public void autonomousPeriodic() {
// called every loop through your code
}

If you know how to write teleop code, it is a simple matter to transfer that to autonomous.


For command-based robot, read the guide here: http://wpilib.screenstepslive.com/s/...onomous-period
Reply With Quote
Reply


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


All times are GMT -5. The time now is 10:46 AM.

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