Go to Post 10:56 p.m. EDT, July 20, 1969. - dlavery [more]
Home
Go Back   Chief Delphi > Competition > OCCRA > OCCRA Programming
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 11-10-2009, 23:56
marccenter's Avatar
marccenter marccenter is offline
Registered User
FRC #3548 (RoboRavens2)
Team Role: Coach
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Royal Oak
Posts: 406
marccenter has a spectacular aura aboutmarccenter has a spectacular aura about
[OCCRA]: OCCRA OCT-NE 10/14/09 Basic VEX Workshop PDF

OCCRA,
Here's a preliminary Adobe PDF copy of the powerpoint presentation that
I will be delivering on 10/14/09 at Oakland Schools Technical Campus - NorthEast.
__________________
Marc Center
FIRST FRC Mentor/Coach - Team 3548 Royal Oak RoboRavens#2 - on Sabbatical 2017 season
marc.center@gmail.com
Mobile: 248-255-7377

Last edited by marccenter : 09-05-2016 at 22:12.
Reply With Quote
  #2   Spotlight this post!  
Unread 12-10-2009, 15:41
marccenter's Avatar
marccenter marccenter is offline
Registered User
FRC #3548 (RoboRavens2)
Team Role: Coach
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Royal Oak
Posts: 406
marccenter has a spectacular aura aboutmarccenter has a spectacular aura about
Re: [OCCRA]: OCCRA 2009 Vex Inspection Sheet - preliminary

Heres a copy of the preliminary OCCRA 2009 Vex Inspection Sheet to help students keep focused.
__________________
Marc Center
FIRST FRC Mentor/Coach - Team 3548 Royal Oak RoboRavens#2 - on Sabbatical 2017 season
marc.center@gmail.com
Mobile: 248-255-7377

Last edited by marccenter : 19-11-2012 at 17:14.
Reply With Quote
  #3   Spotlight this post!  
Unread 12-10-2009, 21:22
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: [OCCRA]: OCCRA OCT-NE 10/14/09 Basic VEX Workshop PDF

Great. It's nice to know the inspection rules while building

A few questions though:

VGR11 says that EasyC is the recommended programming language, not the required programming language. So are the the EasyC requirements only for teams using EasyC?

What if we must use DI 5 & 6 for analog ins? MPLAB requires that all Analog Ins be sequential starting from 1, and we need a bunch of analog ins. Dosen't the VEXnet field controller handle entering/exiting auton mode?

ALSO - it is confusing why we use crystals at home. VEXnet seems to be working fine so far.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack

Last edited by apalrd : 12-10-2009 at 21:28. Reason: Added Crystal Confusion
Reply With Quote
  #4   Spotlight this post!  
Unread 13-10-2009, 08:42
marccenter's Avatar
marccenter marccenter is offline
Registered User
FRC #3548 (RoboRavens2)
Team Role: Coach
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Royal Oak
Posts: 406
marccenter has a spectacular aura aboutmarccenter has a spectacular aura about
Re: [OCCRA]: OCCRA OCT-NE 10/14/09 Basic VEX Workshop PDF

Andrew,
So, are you able to operate with the VEXnet programming template at your respective high school with the VEX robot? VEXnet is new to me this year as well and I have not experimented with it as much as some students -- like yourself.

The VEX Inspection template was created with EasyC software in mind, hence, digital inputs 5 & 6 for start and stop input,
button switches. I have created a programming example in the basic workshop on how to implement. Can you propose a modification to the MPLAB template for using a digital input for a start and stop switch? That info is not in front of me right now.

Vexnet software does switch between auton and remote control. Using start switch kind of promotes a semi-auton mode,
auton activates, then hit start switch to activate robot. (robot should not activate automatically with this feature ).
__________________
Marc Center
FIRST FRC Mentor/Coach - Team 3548 Royal Oak RoboRavens#2 - on Sabbatical 2017 season
marc.center@gmail.com
Mobile: 248-255-7377

Last edited by marccenter : 13-10-2009 at 08:54. Reason: More info
Reply With Quote
  #5   Spotlight this post!  
Unread 13-10-2009, 09:01
marccenter's Avatar
marccenter marccenter is offline
Registered User
FRC #3548 (RoboRavens2)
Team Role: Coach
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Royal Oak
Posts: 406
marccenter has a spectacular aura aboutmarccenter has a spectacular aura about
Re: [OCCRA]: OCCRA OCT-NE 10/14/09 Basic VEX Workshop PDF

OCCRA Teams,
Here's the VEX program used in the Basic Workshop that shows how to used a Start Switch with Digital Input 5 and a Stop Switch with Digital Input 6 for your 2009 OCCRA EasyC program.
__________________
Marc Center
FIRST FRC Mentor/Coach - Team 3548 Royal Oak RoboRavens#2 - on Sabbatical 2017 season
marc.center@gmail.com
Mobile: 248-255-7377

Last edited by marccenter : 09-05-2016 at 22:12.
Reply With Quote
  #6   Spotlight this post!  
Unread 18-10-2009, 17:28
brickmaster2's Avatar
brickmaster2 brickmaster2 is offline
I am CADMAN!
AKA: Eduardo
FRC #0245 (Adambots)
Team Role: CAD
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Rochester Hills, MI
Posts: 19
brickmaster2 will become famous soon enough
Re: [OCCRA]: OCCRA OCT-NE 10/14/09 Basic VEX Workshop PDF

I am a little confused about the start switch. If we use a program like the one you posted, how are we supposed to start the robot in the actual competition?

When we use the switch program, as soon as auton ends, we have to hit the switch to do anything. If we need the start switch in the competition, the robot will be in the middle the field. How are we supposed to start it in that case?

Would we be allowed to program the robot so that as soon as auton ends, the driver has control, but the robot can be turned off by the stop button and then restarted with the start button?
__________________

WHAT COULD POSSIBLY GO WRONG?
Reply With Quote
  #7   Spotlight this post!  
Unread 19-10-2009, 09:10
marccenter's Avatar
marccenter marccenter is offline
Registered User
FRC #3548 (RoboRavens2)
Team Role: Coach
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Royal Oak
Posts: 406
marccenter has a spectacular aura aboutmarccenter has a spectacular aura about
Smile Re: Start/Stop in Auton, Stop only in Operator Control

Good question, simple answer,
In the autonomous EasyC function, create the start/stop switch program.In Operator Control EasyC function, create the start/stop switch program, but
comment out the start switch function. This will allow the autonomous to operator control transition to eliminate the use of the start switch but will still allow you to "kill" the robot with a stop switch.
__________________
Marc Center
FIRST FRC Mentor/Coach - Team 3548 Royal Oak RoboRavens#2 - on Sabbatical 2017 season
marc.center@gmail.com
Mobile: 248-255-7377

Last edited by marccenter : 19-10-2009 at 09:11. Reason: Improvements
Reply With Quote
  #8   Spotlight this post!  
Unread 19-10-2009, 16:23
brickmaster2's Avatar
brickmaster2 brickmaster2 is offline
I am CADMAN!
AKA: Eduardo
FRC #0245 (Adambots)
Team Role: CAD
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Rochester Hills, MI
Posts: 19
brickmaster2 will become famous soon enough
Re: Start/Stop in Auton, Stop only in Operator Control

Thanks for answering so quick. That makes things much clearer.
__________________

WHAT COULD POSSIBLY GO WRONG?
Reply With Quote
  #9   Spotlight this post!  
Unread 19-10-2009, 19:43
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: [OCCRA]: OCCRA OCT-NE 10/14/09 Basic VEX Workshop PDF

Why not have the VEXnet field controller do its job and switch into autonomous as opposed to having another useless button on a robot (also hogging bumper/limit switches, which we need) . And is this really necessary with such small robots with such low power motors? I can see a stop button on a big robot, where spontaneously entering autonomous can cause the robot to drive really fast and cause a large amount of damage, but for this, seriously? And a start button? Even for home testing, you can map one of the DIO pins to enable autonomous (autonomous_mode = rc_dig_in16;), or buy that thing that enables robots and switches them into autonomous at the transmitter end (by replicating the field controller, equivalent to a competition dongle on the FRC system). It seems to me that this whole start switch is serious overkill. Why semi-auton instead of plain autonomous?

Clarification on the MPLAB sequential analog thing:
MPLAB requires us to call the function "Set_Number_Of_Analog_Channels(SIX_ANALOG);" in user_initialization() of user_routines.c where we replace "SIX_ANALOG" with the number of analog channels we need, just like the FRC controller. The function starts from 1 and sets the sequential IO ports to analog. No changing that, unless we go into the library. We need 3 line sensors (1 follow, 2 line trigger), a pot on the (*classified device*) and a pot for the auton selection. Plus one just to be safe. That makes 6. If we aren't safe, that still makes 5 and is still too many for the start and stop switches. (Not like the field controller will switch us into autonomous or anything)
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack

Last edited by apalrd : 19-10-2009 at 20:02. Reason: Fixed Smilie
Reply With Quote
  #10   Spotlight this post!  
Unread 22-10-2009, 11:07
marccenter's Avatar
marccenter marccenter is offline
Registered User
FRC #3548 (RoboRavens2)
Team Role: Coach
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Royal Oak
Posts: 406
marccenter has a spectacular aura aboutmarccenter has a spectacular aura about
Smile Re: [OCCRA]: OCCRA OCT-NE 10/14/09 Basic VEX Workshop PDF

Andrew,
You've made some good points but are you able to view your position from the other side and articulate what advantages there may be to having a semi-autonomous switch initiated operation?

1) VEXnet system is new. What happens if many teams have major problems at this Saturday's OCCRA competition. What do we do? Penalize these teams? We can potentially fall back to crystal based templates and have students start the autonomous period simulataneously with Start Switch.

2) VEXnet system is new. I have never operated the system at an OCCRA competition. Don't you think the possibility of having hardware/software glitches may be present. We may be able to accomodate teams with both VEXnet operating and Crystal based templates using the Start Switch concept.

3) Last year we ran into problems with students trying to turn on the robot based on the VEX microcontroller power switch because it was buried in the robot. This year, VEX robots are even larger and it will be more difficult to start by turning on with the VEX power switch. From my perspective, the "Start Switch" is an effective surrogate from having a student turn on the VEX microcontroller based on a power switch that is buried in the robot.

4) Having a Stop or Kill Switch, I think makes sense no matter what size robot.

5) Using a Stop/Start Switch in the programming template is an effective way to demonstrate how to overcome a "typical" student problem associated with reading a switch and "latching" the event in a software variable for future use.

Your thoughts?
__________________
Marc Center
FIRST FRC Mentor/Coach - Team 3548 Royal Oak RoboRavens#2 - on Sabbatical 2017 season
marc.center@gmail.com
Mobile: 248-255-7377

Last edited by marccenter : 22-10-2009 at 11:08. Reason: Screen viewing
Reply With Quote
  #11   Spotlight this post!  
Unread 22-10-2009, 17:34
iwanttodunk iwanttodunk is offline
Registered User
None #1188
 
Join Date: Sep 2008
Location: Royal Oak
Posts: 26
iwanttodunk is on a distinguished road
Re: [OCCRA]: OCCRA OCT-NE 10/14/09 Basic VEX Workshop PDF

Ok. I agree with what you say. I Believe all Vexnet has caused for us is alot of stress. If we are unable to get vexnet operating saturday, playing the rounds with crystals would be almost required.

If VEXnet FAILS. (im sure it will)

It would be nice to know that we will be using crystals at the first competition.We all have clearly been under alot of stress, caused by vexnet.


I and my team are all for using crystals at saturdays compition. Its almost obvious we have a glitched vexnet because the lights go haywire whenever we do anything. and nothing has worked yet.

The only way we can come in and have a vex robot run is with the crystals.
Im sure most teams are only capable of running with crystals also.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
[OCCRA]: 2008 OCCRA VEX Carpet Playing Field - Home Depot marccenter OCCRA Programming 1 06-11-2008 09:57
[OCCRA]: OOCRA 2008 VEX Programming Workshop marccenter OCCRA Programming 0 14-09-2008 20:17
[OCCRA]: OCCRA 2006 League Rules PDF ScottWalls OCCRA 4 20-09-2006 11:27


All times are GMT -5. The time now is 21:44.

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