|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
Autonomous: CMUCam or dead reckoning?
As far as I can see, the CMUCam doesn't have any real depth perception, so programming it seems like a waste when you still have to put in you're forward commands. Since the tetras are always in a couple positions, wouldn't it make more sense to have a few variable autonomous modes on switches, using the Hall-Effect sensors to guide? It seems you would need to limit the CMUCam anyway in order to avoid collisions with teammates going for the same tetra.
|
|
#2
|
|||||
|
|||||
|
Re: Autonomous: CMUCam or dead reckoning?
I tend to disagree. We have successfully gotten the robot to seek the tetra with teh CMU cam, at different locations on the field, pick it up, find a goal, and stack.
Not that hard to do.. In theory anyways, then again.. I'm not on the programming team, so it looked simple from a bystanders perspective. Then again again, It may change at the actual venue, as opposed to the conditions during testing. But it did work, and I hope it does during competition as well.. Cause that would be sweet. |
|
#3
|
|||||
|
|||||
|
Re: Autonomous: CMUCam or dead reckoning?
Quote:
![]() |
|
#4
|
|||||
|
|||||
|
Re: Autonomous: CMUCam or dead reckoning?
Quote:
|
|
#5
|
|||||
|
|||||
|
Re: Autonomous: CMUCam or dead reckoning?
We weren't thinking about grabbing more than 1 tetra during an autonomous period. We're pretty strapped as far as programmers go, having none of them, and myself and another team member have taken it upon ourselves to do. I was considering the value of programming and using the CMUCam cam vs. simply using dead reckoning, not considering the possibility of an occasional bump. I'm pretty sure, except if an alliance partner goes haywire, that a calculated strike like the one you metioned would be penalized by the officials. I'm not sure about in autonomous, but the offensive high speed ramming is in the rules for the human controlled period.
|
|
#6
|
|||||
|
|||||
|
Re: Autonomous: CMUCam or dead reckoning?
Okay, excuse my friend and my ignorance, we have no idea what we're doing with programming the CMUCam, so he was trying to find a way to do basically the same thing whithout using it
. I would like to point out, Andrew, that it would not have to be a "calculated strike" to have the described effect.Also, could you describe to us what we would have to put in our programming to get the CMUCam to judge depth? Last edited by Cody Carey : 25-02-2005 at 19:48. |
|
#7
|
|||||
|
|||||
|
Re: Autonomous: CMUCam or dead reckoning?
and does anyone know how it judges depth without two lenses?
|
|
#8
|
||||
|
||||
|
Re: Autonomous: CMUCam or dead reckoning?
Quote:
|
|
#9
|
||||
|
||||
|
Re: Autonomous: CMUCam or dead reckoning?
From what the programmers have explained to me I think that the best way to have the CMUcam judge distance is to calculate the area of green that it sees by what % of teh field os vision it occupies and compare that to the actual area of the pannel. Hope this makes sense :S
|
|
#10
|
|||||
|
|||||
|
Re: Autonomous: CMUCam or dead reckoning?
Thanks much guys! We are completly devoid of programming knowledge and anything helps! I was wondering about the object getting bigger thing. I had asked a mentor about it, but they had thought that we couldn't do it.
Obviously it's possible! |
|
#11
|
|||||
|
|||||
|
Re: Autonomous: CMUCam or dead reckoning?
Quote:
|
|
#12
|
|||||
|
|||||
|
Re: Autonomous: CMUCam or dead reckoning?
From what I know (admittedly not much as I am not on the camera/accelerometer/gyro crew), our camera guys managed to use the camera as a rangefinder. The theory as I heard it is something like "the camera is at z angle at x height, the vision panels are at y height, so we can use the camera to find distance"- apparently using trig. As for accelerometers, we have two at right angles to each other, but I don't know what the status is on the program. It also helps that we have an onboard processor for incoming data from the camera, gyro, and accelerometer department that sends the data to the RC. I don't know how well it will work- or if it will work- yet because I haven't been around when the program was tested.
|
|
#13
|
|||||
|
|||||
|
Re: Autonomous: CMUCam or dead reckoning?
Wow, did you guys really manage to judge distance based on the size of what the camera is seeing? I'm impressed.
We did it by mounting the camera about three feet up and using trig to calculate the distance to the tetra based on the angle of depression to it. |
|
#14
|
|||||
|
|||||
|
Re: Autonomous: CMUCam or dead reckoning?
Quote:
|
|
#15
|
|||||
|
|||||
|
Re: Autonomous: CMUCam or dead reckoning?
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| White Paper Discuss: 2003 Automated Dead Reckoning Test Code | CD47-Bot | Extra Discussion | 10 | 07-09-2005 11:25 |
| CMUcam autonomous programming | kshot | Programming | 1 | 17-01-2005 19:18 |
| Dead Reckoning | Ryan Cumings | Programming | 3 | 24-02-2004 10:57 |
| Answers for Dead Reckoning... FOR BEGINNERS | actorindp | Programming | 6 | 20-02-2004 23:56 |