Go to Post Don't forget the robot, the most important hardware there is!:p - artK [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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 18-02-2016, 00:25
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,171
rich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond repute
Re: Please Answer My Question !!!!

> If I wanted to make my shooter shoot in autonomous how would I do that ?

In AutonomousPeriodic, turn on your shooter and shoot.

Now, if you want to score, and avoid fouls (like having to be in contact with the courtyard carpet before launching a boulder), that is much more difficult.

Starting from the Spy Box would be a much easier problem. When your team places the robot, line it up with the goal.

> Also how do I set up different autonomous programs to choose from in SmartDashBoard ?

Have some method to set a variable: dip switches on the robot (connected to analog or digital input), Digital switches on the Dashboard, or use a field on the smart dashboard.

In AutonomousInit, read the switches.
In AutonomousPeriod, do whatever you have to do, based upon the switch setting.

BTW: Can you drive your robot yet? That is a more fundamental problem. If you can't drive, you can't do much in Autonomous, or Teleop.
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:26.

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