Redshift Project Depot

FRC 2017 (Steamworks) => Robot Software => Topic started by: Louis L on January 31, 2017, 02:11:41 PM

Title: Autonomous modes
Post by: Louis L on January 31, 2017, 02:11:41 PM
This discussion is meant to identify the various autonomous modes we'll support. The UI discussion will reflect how to set up the mode for the robot to perform.

There are 2 basic tasks during autonomous:
There are 3 basic ways to score in Steamworks:
Things we can do to prepare for tele-op include
We have 2 alliance partners who will be thinking about doing the same thing. Our challenges are:
Some issues to consider:
Other considerations include:


So with all that in mind, let's fill in plausible autonomous modes. The scenarios assume the key is to the left. Lift#1 is to the left, Lift#2 is nearest the alliance station and Lift#3 is to the right.
Title: Re: Autonomous modes
Post by: Matt S on February 17, 2017, 08:36:25 PM
Auto-modes:

Each auto-mode will also require the starting angle of the robot (0 degrees being the front facing away from the back wall).
Title: Re: Autonomous modes
Post by: Louis L on February 18, 2017, 08:30:59 PM
Let's clarify things. There will be two pull-down selections on the driver station. We'll call them
The value of Auto Position may or may not matter, depending on the value of Auto Mode. The list below provides a numerical value for AutoMode and the corresponding values for AutoPosition when applicable.
Assume the Red/Blue side of the field can be obtained from the FMS.
Title: Re: Autonomous modes
Post by: Louis L on February 18, 2017, 09:31:03 PM
The new dashboard code is in github under FRC2017_LabVIEW_Dashboard
The values for autonomous exported to the robot code are

"DB/AutoMode" (values 0 to 7)
"DB/AutoPosition" (values 0 to 2)
Title: Re: Autonomous modes
Post by: BatChen Z on February 21, 2017, 06:54:02 AM
Here are the numbers for moving in autonomous:







--power----time----distance without gyro----distance with gyro--
502114102.5, 101
5015045, 45
10019079, 83, 83
1002-208
502-91, 92(moving sideways)
Title: Re: Autonomous modes
Post by: Louis L on March 02, 2017, 06:59:51 PM
I'm adding a toggle switch to the Labview dashboard. The UP position is "red" and the DOWN position is "blue". We will use this switch to tell the robot which side of the field we are on. The software is supposed to be able to make a call to get the field information but since we can't test it until we get to the actual FMS, this feature is a plan-B in case the call doesn't work and we have to manually set red/blue for each match.

The value returned is a 32 bit integer.
Blue = 0
Red = 1