Go to Post To me, every robot is a moving mechanical art form, a sculpture made of aluminum, motors and gears, and I think that soon we will be seeing those art forms involved in some of the most fantastic robotic "dances" that any of us have ever seen - DougHogg [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 05-04-2013, 23:14
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Autonomous did not work at official field but ok at practice field

That autonomous code only tells about a third of the story. There's obviously more going on in another vi, most likely Periodic Tasks. The VI with the global variables would also be good to see, as would Begin.

If you zip up the entire robot project for us to look at, we can get a complete picture of what might be giving you trouble with autonomous mode.
  #17   Spotlight this post!  
Unread 06-04-2013, 07:31
ykarkason ykarkason is offline
21st Century Schizoid Man
FRC #3316 (D-Bug)
Team Role: CAD
 
Join Date: Dec 2012
Rookie Year: 2013
Location: Israel
Posts: 63
ykarkason will become famous soon enoughykarkason will become famous soon enough
Re: Autonomous did not work at official field but ok at practice field

Exactly the same thing happened to us in the Israel Regional, and after a lot of research we actually figured out why it happened to us:

We retrieved the speed for our shooter to spin from the driver station with NetworkTables, and it seems as if on the field it only starts to transmit NetworkTables data when they start the game(in a regular situation it starts sending the values as soon as the driver station connects to the robot) - this caused the robot to think he didn't have to spin the wheels, and because the encoders showed him he was within the tolerance - the acsenter in our robot started to push the Frisbee towards the wheels - but the wheel didn't spin, so the Frisbee got stuck, eventually the robot did receive the value, (but it seems as if the wheels in our shooter doesn't have much torque, and it wasn't enough to shoot the frisbee), but the front wheel did spin, as it got the speed it should spin in.
And so we lost that game - as our robot could not shoot, and we just had to give up autonomous.

I discovered that this is the reason because one of the teams from our regional played in the DC regional and the same miscommunication on the start of the match happened to them as well - the solved it by adding a two seconds delay in start of the autonomous.

To verify that the same thing happened to you, do you use NetworkTables to put crucial data to the robot?

Last edited by ykarkason : 06-04-2013 at 07:39.
  #18   Spotlight this post!  
Unread 15-04-2013, 06:07
ykarkason ykarkason is offline
21st Century Schizoid Man
FRC #3316 (D-Bug)
Team Role: CAD
 
Join Date: Dec 2012
Rookie Year: 2013
Location: Israel
Posts: 63
ykarkason will become famous soon enoughykarkason will become famous soon enough
Re: Autonomous did not work at official field but ok at practice field

Bump! I'm just really curious if it happened to anybody else.
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


All times are GMT -5. The time now is 00:22.

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