![]() |
Weapon Accuracy?
It's getting close to ship date and I'm sure that some very lucky programmers out there have already had some time to test out automated firing systems. I won't get to test until at least Wednesday and at the moment I have not even written a line of code for shooting(its a long story), yes I am getting a little nervous. I've been wondering what level of accuracy teams have been able to achieve? Also, what major problems have my fellow programmers been running into when approaching this interesting physics exercise?
|
Re: Weapon Accuracy?
Well, the old revision of the shooter was quite accurate, but we've made a serious revision, and I have no idea now...
|
Re: Weapon Accuracy?
Ours the camera sits seperate form the cannon so I have to triangulate!!
This is a programming nightmare!!Nope I don't even have nightmares this bad. On paper everything works well but on the real thing all he$$ breaks loose. Edit: And its not even done yet!!!!!!!!!!!!!!!I have no clue if the crap I am going to write now is going to work! |
Re: Weapon Accuracy?
I am in the same boat as you fella's. No robot is done yet, or not far enough along for me to test the code. In theory it should all work, but theory is not good enough.
Our shooter is very accurate though, we just need to find a way to get it up to speed faster so we can shoot ten balls in 7 seconds during autonomous (accounting 3 for speeding up the shooter). |
Re: Weapon Accuracy?
Flywheel + flywheel speed feedback loop + backspin + camera = near perfection
|
Re: Weapon Accuracy?
0/10, seeing how my team doesn't have a shooter.
|
Re: Weapon Accuracy?
Code is very close to done, but the robot to test it on is not done. Logically everything works... how well it works depends on the time I'll actually get to test it...
|
Re: Weapon Accuracy?
Quote:
The biggest hurdle to overcome is the simple fact that the robot isn't finished yet, so programming it is largely an exercise in faith that it's being wired the way we expect it to be. |
Re: Weapon Accuracy?
Right now I have some code written and a few ideas. But its hard to know how well it will work without anything to test it on.
|
Re: Weapon Accuracy?
I'm in the same boats as most of you, our robot isn't finished either. I hoping by mid this week. But I wanted to mount the camera on the shooter so in auto mode it actually moves the shooter instead of that little pan/tilt thingy it came with. But I know that servos and motors act differently so can anyone point me to something that could help, I have looked a little but I haven't had time to concentrate on that to much as of yet, and the little I have looked at didn't help me to much. I'm still doing some research on it though.
Thanks. |
Re: Weapon Accuracy?
you will need a sensor(preferably a pot) to monitor the position of the cannon and then you have to set it up to be basicly controlled like a servo but with smoother motion because you don't want to damage the mechanisms. Basicly lower the power to the motor as the error gets smaller
error = where you want to be - where you are |
Re: Weapon Accuracy?
Quote:
|
Re: Weapon Accuracy?
Quote:
And ofcourse you can do more complex things... |
Re: Weapon Accuracy?
Quote:
Now I'm go to respond to your last message in a way that isn't quite literally there, but seems to be implied: it seems like you imply that other methods must be more complex. There are actually simpler ways that you could potentially control the aim. For example, my team's manual aim mode works with only left, right, and off for the turning, and up, down, and off for the tilting. You could have your camera do the same thing. And yes, proportional is the P in PID. The other are integral and differential, see a number of other threads for more information about them. |
Re: Weapon Accuracy?
Quote:
Well your setup should work fine, but once you start having great error that constantly changes direction and your turret has to go back and fourth, it could create very jerky movements. Depending on how robust your system is, this could damage the motors and gears. You might be smooth on the controls but the camera won't be(depends on the programming). You are right they don't have to be complex. |
| All times are GMT -5. The time now is 01:36. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi