Go to Post Robotics is fun, but it isn't the most important thing in life. - Wayne TenBrink [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
View Poll Results: Are you shooting on the run?
Yes, we are very confident in our ability to score while moving 16 20.78%
We are attempting it but it is not as reliable as we would like 23 29.87%
No, we shoot only while stationary 29 37.66%
We are not shooting at all 9 11.69%
Voters: 77. You may not vote on this poll

Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 14-02-2006, 07:48
gnirts gnirts is offline
Suspicious pointer conversion
AKA: Robinson Levin
FRC #1648 (The Gearbox Gangstaz)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: ATL
Posts: 116
gnirts will become famous soon enough
Shooting on the run

I know that our team is definitely going to try to make goals while the robot is moving in any given direction.

How many other teams think this is viable?
__________________
'... who are you, then?'
'I am part of that power which eternally
wills evil and eternally works good.'
Goethe, Faust
  #2   Spotlight this post!  
Unread 14-02-2006, 09:04
X-Istence X-Istence is offline
Melt the RC controller!
AKA: Bert JW Regeer
no team
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Montville
Posts: 151
X-Istence will become famous soon enoughX-Istence will become famous soon enough
Send a message via AIM to X-Istence Send a message via MSN to X-Istence
Re: Shooting on the run

Quote:
Originally Posted by gnirts
I know that our team is definitely going to try to make goals while the robot is moving in any given direction.

How many other teams think this is viable?
Depends on how the shooter is mounted and or how the robot is built. I think it is viable to shoot on the run, however, not for the design my team and I have come up with.
__________________
My Blog!
  #3   Spotlight this post!  
Unread 14-02-2006, 13:07
gnirts gnirts is offline
Suspicious pointer conversion
AKA: Robinson Levin
FRC #1648 (The Gearbox Gangstaz)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: ATL
Posts: 116
gnirts will become famous soon enough
Re: Shooting on the run

I find it hard to believe that all teams can shoot at the center goal (at least at our regional I expect many teams, especially rookies, to go for the two lower goals).
... this is an anonymous poll!
__________________
'... who are you, then?'
'I am part of that power which eternally
wills evil and eternally works good.'
Goethe, Faust
  #4   Spotlight this post!  
Unread 14-02-2006, 13:16
aaeamdar's Avatar
aaeamdar aaeamdar is offline
Post-A-Holic
AKA: Paul Dennis
FRC #1719 (The Umbrella Corp)
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Baltimore, MD
Posts: 231
aaeamdar has a brilliant futureaaeamdar has a brilliant futureaaeamdar has a brilliant futureaaeamdar has a brilliant futureaaeamdar has a brilliant futureaaeamdar has a brilliant futureaaeamdar has a brilliant futureaaeamdar has a brilliant futureaaeamdar has a brilliant futureaaeamdar has a brilliant futureaaeamdar has a brilliant future
Re: Shooting on the run

Quote:
Originally Posted by gnirts
I find it hard to believe that all teams can shoot at the center goal (at least at our regional I expect many teams, especially rookies, to go for the two lower goals).
... this is an anonymous poll!
There are only 22 results so far (a small sample size) and I think your results are getting biased by the fact that you made your title suggest that it was only a thread for shooting teams. Our team, for the record, can't shoot in the center.

Also, I'm curious why this went in the programming forum, or did I misread that?

Paul Dennis
  #5   Spotlight this post!  
Unread 14-02-2006, 13:32
gnirts gnirts is offline
Suspicious pointer conversion
AKA: Robinson Levin
FRC #1648 (The Gearbox Gangstaz)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: ATL
Posts: 116
gnirts will become famous soon enough
Re: Shooting on the run

Quote:
Originally Posted by aaeamdar
... I think your results are getting biased by the fact that you made your title suggest that it was only a thread for shooting teams.
Oops, my bad. I am not sure how to change the title.

Quote:
Also, I'm curious why this went in the programming forum, or did I misread that?
Well, I figured two things would make that a logical choice:
  1. If anyone on the team knows how reliably they will be shooting on the run, its the programmers.
  2. And of all the people that visit Chief Delphi, programmers are probably on it the most. (just a guess, though)
__________________
'... who are you, then?'
'I am part of that power which eternally
wills evil and eternally works good.'
Goethe, Faust
  #6   Spotlight this post!  
Unread 14-02-2006, 16:15
paulcd2000's Avatar
paulcd2000 paulcd2000 is offline
Accidentally speaks in C
AKA: Paul Dagnelie
FRC #1719 (The Umbrella Corp.)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Baltimore
Posts: 368
paulcd2000 is a jewel in the roughpaulcd2000 is a jewel in the roughpaulcd2000 is a jewel in the rough
Send a message via AIM to paulcd2000
Re: Shooting on the run

Quote:
Originally Posted by gnirts
And of all the people that visit Chief Delphi, programmers are probably on it the most. (just a guess, though)
definetly true
__________________
"People don't say 'It's just a game' when their team is winning!" -- Scott Adams

5.5 students (on average)* $7/h *210 hours/student= $8085 of labor, all volunteered (not counting mentors', who are each that much)

We have blades on our robot?! ***sweeeeeet***

There are 11 types of people in the world. Those who can read binary, those who can't, and those who say this joke is supposed to be, "There are 10 types of people in the world. Those who can read binary and those who have a life."
  #7   Spotlight this post!  
Unread 14-02-2006, 18:15
greencactus3 greencactus3 is offline
occra 23.
AKA: ryo
None #1481
Team Role: Alumni
 
Join Date: Feb 2004
Rookie Year: 2006
Location: North Farmington, MI
Posts: 1,523
greencactus3 is a name known to allgreencactus3 is a name known to allgreencactus3 is a name known to allgreencactus3 is a name known to allgreencactus3 is a name known to allgreencactus3 is a name known to all
Send a message via AIM to greencactus3 Send a message via MSN to greencactus3
Re: Shooting on the run

we defintly will be able to. but accuracy wise... i dunno if we'll actually do it in a match.
  #8   Spotlight this post!  
Unread 14-02-2006, 23:07
Donut Donut is online now
The Arizona Mentor
AKA: Andrew
FRC #2662 (RoboKrew)
Team Role: Engineer
 
Join Date: Mar 2005
Rookie Year: 2004
Location: Goodyear, AZ
Posts: 1,292
Donut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond repute
Re: Shooting on the run

I doubt we'll do this (at least using camera control, our drivers can try it if they REALLY want to, but I wouldn't advise it). We don't have an accelermotor, and if we don't use the encoders either, trying something like this would be near impossible.
  #9   Spotlight this post!  
Unread 15-02-2006, 00:55
gnirts gnirts is offline
Suspicious pointer conversion
AKA: Robinson Levin
FRC #1648 (The Gearbox Gangstaz)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: ATL
Posts: 116
gnirts will become famous soon enough
Re: Shooting on the run

Quote:
Originally Posted by Donut
We don't have an accelermotor, and if we don't use the encoders either, trying something like this would be near impossible.
If you are talking about firing while moving, all you need to know is your speed, which way your turret is aimed in relation to the direction of the robot, which way the robot is pointed, and have tracking data on the green light. Maybe not even that much.
__________________
'... who are you, then?'
'I am part of that power which eternally
wills evil and eternally works good.'
Goethe, Faust
  #10   Spotlight this post!  
Unread 15-02-2006, 01:00
Rick TYler Rick TYler is offline
A VEX GUy WIth A STicky SHift KEy
VRC #0010 (Exothermic Robotics)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Redmond, Washington
Posts: 2,000
Rick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond repute
Re: Shooting on the run

Quote:
Originally Posted by gnirts
If you are talking about firing while moving, all you need to know is your speed, which way your turret is aimed in relation to the direction of the robot, which way the robot is pointed, and have tracking data on the green light. Maybe not even that much.
To build an effective anti-ballistic missile system, all you need to know is the starting point of the incoming missile, its boost, its average speed, its parabolic trajectory and its evasive capabilities. It's a simple problem...
__________________
Exothermic Robotics Club, Venturing Crew 2036
VRC 10A, 10B, 10D, 10Q, 10V, 10X, 10Z, and 575
  #11   Spotlight this post!  
Unread 15-02-2006, 01:27
gnirts gnirts is offline
Suspicious pointer conversion
AKA: Robinson Levin
FRC #1648 (The Gearbox Gangstaz)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: ATL
Posts: 116
gnirts will become famous soon enough
Re: Shooting on the run

Quote:
Originally Posted by Rick TYler
To build an effective anti-ballistic missile system, all you need to know is the starting point of the incoming missile, its boost, its average speed, its parabolic trajectory and its evasive capabilities. It's a simple problem...
Reminds of in the beginning of the season when the strategy team wanted me to use a combination of this year's camera, last year's camera, and an ultrasonic range finder to knock other teams balls out of the air

But on a more serious note, would you not also need to know where you are in relation to said projectile? And in FIRST, is knowing your exact position on the field less than trivial (esp. with non Kevin-ized accelerometer code)?

Good luck to all,
Robinson
__________________
'... who are you, then?'
'I am part of that power which eternally
wills evil and eternally works good.'
Goethe, Faust

Last edited by gnirts : 15-02-2006 at 01:28. Reason: minor grammar (they don't teach it like they used to...)
  #12   Spotlight this post!  
Unread 15-02-2006, 08:31
Donut Donut is online now
The Arizona Mentor
AKA: Andrew
FRC #2662 (RoboKrew)
Team Role: Engineer
 
Join Date: Mar 2005
Rookie Year: 2004
Location: Goodyear, AZ
Posts: 1,292
Donut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond repute
Re: Shooting on the run

Quote:
Originally Posted by gnirts
If you are talking about firing while moving, all you need to know is your speed, which way your turret is aimed in relation to the direction of the robot, which way the robot is pointed, and have tracking data on the green light. Maybe not even that much.
To know speed, you must have an accleremotor or an encoder, as I said. Robot turning requires gyro, angle of rotator in relation to the robot requires a POT, and the tracking stuff requires the camera. I hope all teams will have the camera at least semi-working, but using all the other data is alot to ask for.

You must know your speed in your current direction, relate this to how fast you are moving to/from the goal, and change your shooter speed/rotation to account for it. Is your shooter or rotator going to be able to move/change speed fast enough to keep up? By the time it gets in position, your robot might be well past the point that required those parameters. Also, what happens if your robot is not moving at a constant speed? You must now make a part of your code to account for acceleration in addition to velocity, even more of a pain. As an added bonus, a strong hit from another robot always has the possibility of throwing off your data (you may think parallel to the goal is 5 degrees past the original angle you thought of), compromising the whole system.

All of these calculations and compensations are possible. I don't think there is enough time in 6 weeks to do them all and test them properly though. I say less than 5 teams are able to do this well, and at least 4 of them will be from teams that used the camera very effectively in autonomous last year.
  #13   Spotlight this post!  
Unread 15-02-2006, 13:15
gnirts gnirts is offline
Suspicious pointer conversion
AKA: Robinson Levin
FRC #1648 (The Gearbox Gangstaz)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: ATL
Posts: 116
gnirts will become famous soon enough
Re: Shooting on the run

Quote:
Originally Posted by Donut
To know speed, you must have an accleremotor or an encoder, as I said. Robot turning requires gyro, angle of rotator in relation to the robot requires a POT, and the tracking stuff requires the camera. I hope all teams will have the camera at least semi-working, but using all the other data is alot to ask for.

You must know your speed in your current direction, relate this to how fast you are moving to/from the goal, and change your shooter speed/rotation to account for it. Is your shooter or rotator going to be able to move/change speed fast enough to keep up? By the time it gets in position, your robot might be well past the point that required those parameters. Also, what happens if your robot is not moving at a constant speed? You must now make a part of your code to account for acceleration in addition to velocity, even more of a pain. As an added bonus, a strong hit from another robot always has the possibility of throwing off your data (you may think parallel to the goal is 5 degrees past the original angle you thought of), compromising the whole system.

All of these calculations and compensations are possible. I don't think there is enough time in 6 weeks to do them all and test them properly though. I say less than 5 teams are able to do this well, and at least 4 of them will be from teams that used the camera very effectively in autonomous last year.
Knowing your current vector is important, but setting up encoders or the GTS is not hard. You could also consider having a lookup table of PWM values to approx.. speed (of course, this would not be very accurate, but it might work with some tweaking). You could also see how many pixels the target moves each frame and use this in combination with your distance from the target to deduce an approx. speed. A tachometer could be used as an analog input to get speed as well.

You need to also know the current direction, but the gyro is so easy to setup this couldn't be a problem. Acceleration is, in my mind, irrelevant, because the ball does not retain the acceleration of the robot once it has left the turret, just the velocity of the robot at the point it left. And being bumped by a robot won't occur continuously, nevertheless it will be a factor that is impossible to account for.

[If you need help with either encoders, gyro, or the GTS there are plenty of help posts and Kevin's code is well documented and clear]

However, your point about never being able to move the turret accurately and fast enough to have it in the position to fire after doing the calculations is my worst fire. I can't test any of this stuff because our robot is ages away from being ready. In my mind, its the the most difficult problem to overcome. Of course, any one who has mode can feel free to give us some hints.

Good Luck,
Robinson
__________________
'... who are you, then?'
'I am part of that power which eternally
wills evil and eternally works good.'
Goethe, Faust
  #14   Spotlight this post!  
Unread 15-02-2006, 10:57
aaeamdar's Avatar
aaeamdar aaeamdar is offline
Post-A-Holic
AKA: Paul Dennis
FRC #1719 (The Umbrella Corp)
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Baltimore, MD
Posts: 231
aaeamdar has a brilliant futureaaeamdar has a brilliant futureaaeamdar has a brilliant futureaaeamdar has a brilliant futureaaeamdar has a brilliant futureaaeamdar has a brilliant futureaaeamdar has a brilliant futureaaeamdar has a brilliant futureaaeamdar has a brilliant futureaaeamdar has a brilliant futureaaeamdar has a brilliant future
Re: Shooting on the run

Quote:
Originally Posted by gnirts
  1. If anyone on the team knows how reliably they will be shooting on the run, its the programmers.
  2. And of all the people that visit Chief Delphi, programmers are probably on it the most. (just a guess, though)
It's not that I mind that you posted it here, and it seems like you had a fine rationale. I was just curious as to the reason, thanks for the reply =).
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Precision of Shooting Nitroxextreme Robot Showcase 0 10-02-2006 07:39
Why do teams voluntarily do FIRST without adult technical mentors? Andy Baker General Forum 127 05-12-2005 08:08
Assisance with Win98 mgreenley IT / Communications 19 08-10-2004 22:37
Basic Run Error BBFIRSTCHICK Programming 10 02-04-2003 22:43


All times are GMT -5. The time now is 01:33.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi