![]() |
autonomous aiming????
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?
|
Re: autonomous aiming????
Quote:
|
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!!!
|
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
|
Re: autonomous aiming????
Quote:
|
Re: autonomous aiming????
Quote:
|
Re: autonomous aiming????
Quote:
|
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.
|
Re: autonomous aiming????
Quote:
|
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 |
Re: autonomous aiming????
Quote:
|
Re: autonomous aiming????
Quote:
|
Re: autonomous aiming????
Quote:
|
Re: autonomous aiming????
Quote:
|
Re: autonomous aiming????
Quote:
|
| All times are GMT -5. The time now is 01:02. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi