|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Auto-aming with vision
We finally got the vision traking working. We are getting the distance and other info of the top rectangle. Now we want a motor to ajust the angle of the shooter from the distance that we are. I know the output of the motor is going to be link to pid and we never used one of those so what do we do. Do we need any sensor for an auto-aim system. Some would be nice for getting through the next step.
Last edited by Priyesh69 : 23-01-2013 at 19:06. |
|
#2
|
||||
|
||||
|
Re: Auto-aming with vision
You use the set output of the the camera data in terms of x and y. no sensor needed.
|
|
#3
|
|||
|
|||
|
Re: Auto-aming with vision
since the x and y data is changing it's not a constant so with what i link the output of the motor. A small exemple would help
|
|
#4
|
||||
|
||||
|
Re: Auto-aming with vision
Quote:
Though I would put the bang-bang controller in an explicitly timed loop in periodic tasks, and run globals (for the target RPM) to it from autonomous and teleop. If you do that ABSOLUTELY do not forget to send a 0 to it while in disabled mode or you'll wonder why your shooter wheel never stops. Hope this helps, and good luck! |
|
#5
|
|||
|
|||
|
Re: Auto-aming with vision
As far as making sure your turret is actually in the correct place, we will be using a Complementary filter with the ADXL345 accelerometer and gyro with encoders for the turret to actually handle the angle measurement. Hope this helps.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|