|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Hi, this is my first year programming a robot, and I was wondering if it was possible to switch to the autonomous mode so we can aim automatically?
|
|
#2
|
||||
|
||||
|
Re: autonomous aiming????
Quote:
|
|
#3
|
||||
|
||||
|
Re: autonomous aiming????
so you can push a button and it will aim and fire? that's something if i can get it to work. Thanks!!!
|
|
#4
|
|||||
|
|||||
|
Re: autonomous aiming????
what you do is you write a method that will aim and fire for you then you call it from autonomous when you want or you call it when a button is pressed on the OI
|
|
#5
|
|||||
|
|||||
|
Re: autonomous aiming????
Quote:
![]() |
|
#6
|
||||
|
||||
|
Re: autonomous aiming????
Quote:
|
|
#7
|
||||
|
||||
|
Re: autonomous aiming????
I plan to have an aiming function called from the main loop and autonomous mode. It shouldnt be overly difficult, just take the vector returned by the cam (confidence is the magnitude) and aim the cannon. That is, assuming the cannon has feedback.
|
|
#8
|
|||||
|
|||||
|
Re: autonomous aiming????
Quote:
|
|
#9
|
|||||
|
|||||
|
Re: autonomous aiming????
Quote:
|
|
#10
|
||||
|
||||
|
Re: autonomous aiming????
Quote:
|
|
#11
|
||||
|
||||
|
Re: autonomous aiming????
Quote:
The information you refer to is here but I'm not sure that this answers the question... Mike Pclements, Please realize that the competition port is not available during the competition. However... You could have an aiming function which is called from both autonomous and normal modes. Is this more in line with what you are asking? Mike |
|
#12
|
||||
|
||||
|
Re: autonomous aiming????
Quote:
|
|
#13
|
||||
|
||||
|
Re: autonomous aiming????
Quote:
![]() |
|
#14
|
||||
|
||||
|
Quote:
|
|
#15
|
||||
|
||||
|
Re: autonomous aiming????
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| A Warning to Human Players During Autonomous | The Lucas | General Forum | 21 | 07-04-2005 02:29 |
| Setting Autonomous Settings from OI | Tom Saxton | Programming | 15 | 27-03-2005 11:45 |
| autonomous mode problem on field | Chris_C | Programming | 17 | 26-03-2003 19:11 |