Go to Post I would suggest spending a few more hours digesting the manual before you finalize your designs. You seem to have missed a few key rules. - GaryVoshol [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

 
View Poll Results: Do you ever lose control of your robot?
Never- our controls are always 100% with no sluggishness nor dropouts 26 37.14%
we started paying careful attention to radio placement and never had another problem 17 24.29%
Yes we sometimes have sluggishness and dropouts: We always just blame it on our software. 26 37.14%
We thought sluggishness was a requirement listed in the rule book 9 12.86%
Multiple Choice Poll. Voters: 70. You may not vote on this poll

Closed Thread
Thread Tools Rate Thread Display Modes
  #31   Spotlight this post!  
Unread 16-03-2011, 09:04
boomergeek's Avatar
boomergeek boomergeek is offline
Registered User
AKA: Mr. D (Dick DiPasquale)
FRC #0241 (Pinkerton Robotics)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Derry, NH
Posts: 191
boomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant future
Re: Robots not under driver control- does it happen- do you determine why?

Quote:
Originally Posted by ChrisH View Post
If you are at an event get with the FTAA before your match and ask him to pay attention to your robot. He has a display and logs of the communication status between the field, the robot, and the driver station. He can also spot a big drop in battery voltage, which indicates other problems. The logs can be checked but it is easier to just catch stuff as it happens most of the time.
I could not find this information in any FIRST user guide I'm aware of.
I would guess that the best/most experienced teams already know to do this. Unofficial information flow can sometimes unintentionally give an advantage to those in the know versus those trying to rely on official channels and not be a burden by asking for types of help.

A typical relatively new team sees the FTA as extremely busy with general responsibilities and focused on getting connections from all 6 DS to all 6 robots at the beginning of a match. The FTAs have to choose where to put their focus and if every team that had occasional control problems asked the FTAs to monitor their robot in every match, I think the FTAs would be overwhelmed: (this non-statistically accurate polling points in that direction).

For example, at GSR, when CAN timeouts seemed to percolate up as an issue: teams known to have CAN were informally polled by teams or by the FTAs: not all teams that had CANs were advised of the seemingly common issue in a timely manner- some played through Saturday with CAN while many teams (especially the better informed teams) had switched over to PWM by Friday
Obviously there is a balance of discretion about conclusions, but statistical observations by FTAs should probably be shared with all the teams at the same time, not just all those that ask or are in the know. It's also very clear to me that the FTAs are always trying to be as fair and generous as possible. Now the CAN timeout issue was probably a special case that does not happen very often. Working with the FTAs, the experienced teams form their own informal networks of FMS field issue information.
If several teams make a decision not to use a feature based on that collected information, it would be nice if the FTA broadcasts it in a timely manner.


Can someone post a picture of the real time log an FTA has available to them ?

Does FMS take requests for enhancements? How about logging all the detailed data per unit time and storing by team and match number?
Then each team could request only their data at any point during the competition. Also, with all this data logged, enterprising FTAs could look for issues and publish general results on problems teams are having.

Does the FMS logging have signatures for each of these problems that can be shared with everyone?

1) Radio placement
2) Radio proper cord and strain relief
3) Charged battery
4) shorting motors
5) software errors that cause UserProgram to run too slow (all the time)
6) software errors that cause UserProgram to run too slow (occasionally)

Can the same logging that FMS provides be made available in the driver station or the FMS light code?

Many teams work hard all season for only about 25 minutes of total actual playing time. (Some even less if their robot doesn't make the practice matches on Thursday).

I'm on a mission to reduce control problems for everyone especially the nubies.

A more rigorous (and scientifically accurate) poll at competitions to size the problem is probably the first step.

Last edited by boomergeek : 16-03-2011 at 09:06.
  #32   Spotlight this post!  
Unread 16-03-2011, 10:41
willishf willishf is offline
Registered User
FRC #3622 (Robocats)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2000
Location: United States
Posts: 12
willishf is an unknown quantity at this point
Re: Robots not under driver control- does it happen- do you determine why?

Having pneumatics in the on state and getting a momentary glich that turns it off causes a very dramatic movement that is visible. If a motor is spinning and you get a momentary toggling of output you won't see it.

Since more than one group seem to have this problem we can probably eliminate or zero in on common elements to find the source.

The problem appears to occur in both C++ and Java so not a language issue.

Camera and bandwidth issues

Wireless communication

Optical encoders generating interrupts that have a higher priority that need to be serviced and the watchdog timer doesn't get serviced. With two encoders and two inputs each 4 x 720/780 = 3000 interrupts a second. I am using 1X on the encoders which I think is serviced by the processor vs 4X which gets serviced by the FPGA and based on other forum discussion doesn't work with more than one encoder. I am under the assumption that the encoders are serviced as interrupts by software in 1X. The encoders give 720 points of resolution but when I rotate our wheel 10 times by hand I get very close to 7800. I have performed this test multiple times on two different wheels and aways get 7800+/-small error. If the resolution per turn was 720 then I would expect 7200+/-small error. I can work with the 780 but just indicates something isn't working as expected.

In looking through the JavaDoc more than one method to set watchdog and safety related attributes. Does anyone have any details regarding the need to set these parameters or does the default template work assuming you feed the watchdog?
  #33   Spotlight this post!  
Unread 16-03-2011, 10:49
dbeckwith's Avatar
dbeckwith dbeckwith is offline
Lead Programmer
AKA: Daniel Beckwith
FRC #3205 (The Patriots)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: USA
Posts: 84
dbeckwith is an unknown quantity at this point
Re: Robots not under driver control- does it happen- do you determine why?

I noticed last year when we were using LabView that running the program from LabView and not as a start-up program significantly slowed down response and even caused some dropouts. I think this was just because the program was running on the ClassMate, so any time it slowed down (frequently!), the code slowed down. Also in LabView, the camera seemed to both be very slow and slow down the rest of the code, to the point of dropouts and even errors sometimes. This year we switched to Java and all those issues went away (mainly because the code is always a "start-up" program, it is run on the cRIO independent from the computer).
__________________
q = (2*b) | ~(2*b);

if (life.getLemons() != null) this.lemonade = new Drink(life.getLemons());
else throw new NoLemonsException("What now?");


  #34   Spotlight this post!  
Unread 16-03-2011, 11:55
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: Robots not under driver control- does it happen- do you determine why?

Quote:
Originally Posted by willishf View Post
Optical encoders generating interrupts...
Encoders do not interrupt the cRIO. They are always handled by the FPGA. 4x encoders use dedicated quadrature circuitry, while 1x and 2x use dedicated counter circuitry.

Quote:
Originally Posted by willishf View Post
The encoders give 720 points of resolution but when I rotate our wheel 10 times by hand I get very close to 7800. I have performed this test multiple times on two different wheels and aways get 7800+/-small error. If the resolution per turn was 720 then I would expect 7200+/-small error. I can work with the 780 but just indicates something isn't working as expected.
Where did you get encoders with 720 counts per revolution? The ones in the Kit of Parts this year are 360 cpr, and 250 cpr encoders are common. Is the wheel on the same shaft the encoder is on, or is there a chain and sprocket? Has the "distance per count" for the encoder been set in software, or is it left at its default value?
  #35   Spotlight this post!  
Unread 16-03-2011, 12:10
willishf willishf is offline
Registered User
FRC #3622 (Robocats)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2000
Location: United States
Posts: 12
willishf is an unknown quantity at this point
Re: Robots not under driver control- does it happen- do you determine why?

Thanks for clarifying the interrupt issue as currently focused on figuring out the non-responsive robot problem. I haven't had a chance to look through the cRIO docs to see what is under the hood.

The encoder is on the shaft of the gear box provided in the KOP. So a single wheel turn is probably giving a 2X increase on count. I initially went with 360 as one revolution of encoder and 720 for one revolution of the wheel. I have two encoders one for each wheel. I set the distance per pulse and in distance traveled simply didn't match distance measured. Put the robot up on blocks and turned wheel 10 times and get raw pulse count. Both wheels in the test indicate 780 pulses per wheel revolution.

We ended up building a second identical robot and ordered two additional optical encoders from andymark. Same exact results in that it appears to be 780 pulses per wheel revolution.

In theory the gearing ratio could be 2.166667 from the wheel to the rotation of the optical encoder shaft and the reason for the non integer multiplier. Always feel better when you have nice integer multipliers.
  #36   Spotlight this post!  
Unread 16-03-2011, 12:15
pfreivald's Avatar
pfreivald pfreivald is offline
Registered User
AKA: Patrick Freivald
FRC #1551 (The Grapes of Wrath)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2001
Location: Naples, NY
Posts: 2,305
pfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond repute
Re: Robots not under driver control- does it happen- do you determine why?

We're still trying to figure out why we're getting COM drops.

Our wiring is sound (and connections both strain gauged and either hot glued or taped).
Our power appears to be constant.
Our bridge was replaced with another bridge.
Our bridge is up high and visible everywhere but the bottom (it is upside-down) from 360 degrees with very little obstruction from the aluminum frame.
We are not getting errors as we run in autonomous or teleop.

...and yet, a few times at FLR, and a few times during practice, our bridge likes to reboot, killing our robot for about a minute.

Suggestions, anyone?
__________________
Patrick Freivald -- Mentor
Team 1551
"The Grapes of Wrath"
Bausch & Lomb, PTC Corporation, and Naples High School

I write books, too!
  #37   Spotlight this post!  
Unread 16-03-2011, 12:33
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,919
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Robots not under driver control- does it happen- do you determine why?

Quote:
Originally Posted by boomergeek View Post
Can someone post a picture of the real time log an FTA has available to them ?
This is a simple live display that the FTAs/FTAAs/CSAs use.
It's actually pointed at the field and can be video taped if you want, as long as no referee happens to be blocking it.

The logged data is much more intense and the FTA generally just checks it for obvious issues, such as low battery voltage and communications delays and drops. It is by team/match/etc. as you'd expect. Sorting through the multiple potential causes is more what the CSAs back in the pits with the teams do to relieve the strain on the FTA.
Generally, if an FTA sees a team having a problem on the field, he/she will ask a CSA to follow the team back to the pits to help troubleshoot.
Ultimately, it's vastly easier to learn to troubleshoot the problem from a volunteer who's already seen similar problems on 60 different robots.

The time to review the recorded match data is limited, however, because of the ongoing matches. It's much easier to ask the field crew to monitor it for you as your match is happening.
It doesn't have to be the FTA that watches it for you. Regionals have a help desk of some sort. I worked the NJ Regional, for instance, and we had about seven people available (counting FTAs), any one of whom could monitor the feedback for obvious issues.

You can also log your own data on either the cRIO or Driver Station.
Battery voltage, packet timing, etc. are easily collected.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 16-03-2011 at 13:24.
  #38   Spotlight this post!  
Unread 16-03-2011, 13:13
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,919
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Robots not under driver control- does it happen- do you determine why?

Quote:
Originally Posted by pfreivald View Post
We're still trying to figure out why we're getting COM drops.

Our wiring is sound (and connections both strain gauged and either hot glued or taped).
Our power appears to be constant.
Our bridge was replaced with another bridge.
Our bridge is up high and visible everywhere but the bottom (it is upside-down) from 360 degrees with very little obstruction from the aluminum frame.
We are not getting errors as we run in autonomous or teleop.

...and yet, a few times at FLR, and a few times during practice, our bridge likes to reboot, killing our robot for about a minute.

Suggestions, anyone?
Just the obvious.

If your radio drops out for more than a minute, before it comes back, then it's not a position problem, it's a power supply problem.
  • Watch the low point of battery voltage drops while the robot is under strain. Consider adding an error message to the Driver Station whenever the battery voltage drops below 6v or so.
  • Verify the radio is on the special power protected PD output, of course. Found way too many on the camera 5v feed or regulat red/black wago connectors.
  • Wiggle the barrel connector while under power in the pits to see if you can force a power outage. That's how we identify poorly fitting connectors (Radio Shack :-) ).
  • Inadvertent contact with the button on the side of the radio.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 16-03-2011 at 13:22.
  #39   Spotlight this post!  
Unread 16-03-2011, 13:22
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: Robots not under driver control- does it happen- do you determine why?

Quote:
Originally Posted by pfreivald View Post
We're still trying to figure out why we're getting COM drops.

Our wiring is sound (and connections both strain gauged and either hot glued or taped).
Our power appears to be constant...
...and yet, a few times at FLR, and a few times during practice, our bridge likes to reboot, killing our robot for about a minute.

Suggestions, anyone?
What power connector are you using? There seems to be a hint that the DAP's power pin might be a tad smaller than an apparently correct connector is designed for. If you aren't using the connector that came with the DAP, it might be losing contact due to vibration of the board inside the case.
  #40   Spotlight this post!  
Unread 16-03-2011, 13:44
boomergeek's Avatar
boomergeek boomergeek is offline
Registered User
AKA: Mr. D (Dick DiPasquale)
FRC #0241 (Pinkerton Robotics)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Derry, NH
Posts: 191
boomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant future
Re: Robots not under driver control- does it happen- do you determine why?

Quote:
Originally Posted by pfreivald View Post
We're still trying to figure out why we're getting COM drops.

Our wiring is sound (and connections both strain gauged and either hot glued or taped).
Our power appears to be constant.
Our bridge was replaced with another bridge.
Our bridge is up high and visible everywhere but the bottom (it is upside-down) from 360 degrees with very little obstruction from the aluminum frame.
We are not getting errors as we run in autonomous or teleop.

...and yet, a few times at FLR, and a few times during practice, our bridge likes to reboot, killing our robot for about a minute.

Suggestions, anyone?
Mike Betts posted something very interesting that might be related to your problems: Is it the right plug?

http://www.chiefdelphi.com/forums/sh...ad.php?t=93657

Quote:
...I was a robot inspector at the Florida Regional last weekend. There were numerous complaints of momentary loss of communications but no single clearing house to vet all problems… I helped quite a few teams and came to the conclusion that no robot which used the power supply cable which came with the DAP-1522 radio had this issue. In fact, while working with one team, we succeeded in getting the DAP to be completely unpowered even though it appeared securely plugged in. We were able to restore power to the DAP by touching the power connector ever so slightly (virtually a feather’s touch). ...
  #41   Spotlight this post!  
Unread 16-03-2011, 14:27
Hugh Meyer's Avatar
Hugh Meyer Hugh Meyer is offline
Registered User
FRC #1741 (Red Alert Robotics)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Greenwood Indiana
Posts: 158
Hugh Meyer has much to be proud ofHugh Meyer has much to be proud ofHugh Meyer has much to be proud ofHugh Meyer has much to be proud ofHugh Meyer has much to be proud ofHugh Meyer has much to be proud ofHugh Meyer has much to be proud ofHugh Meyer has much to be proud of
Re: Robots not under driver control- does it happen- do you determine why?

Quote:
Originally Posted by Mark McLeod View Post

You can also log your own data on either the cRIO or Driver Station.
Battery voltage, packet timing, etc. are easily collected.
Mark,

How do we get the packet timing? We are using C++.

-Hugh
  #42   Spotlight this post!  
Unread 16-03-2011, 15:36
pfreivald's Avatar
pfreivald pfreivald is offline
Registered User
AKA: Patrick Freivald
FRC #1551 (The Grapes of Wrath)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2001
Location: Naples, NY
Posts: 2,305
pfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond repute
Re: Robots not under driver control- does it happen- do you determine why?

Thanks for the suggestions. Here's what I've got so far:

1. Our voltage certainly is not dropping below 6V. We've monitored it closely just to make sure.
2. We are using a WAGO connector to plug the 5V inverter into the dedicated, protected PD 12V output. The right-angle power connector that came with the radio is connected to the radio and taped in with electrical tape wrapped around the entire radio to keep it snug.
3. Attempts to force a power outage by wiggling any of the connections have not worked.
4. Our radio is set up such that the switch will not be hit by anything, and we are 99.9999% certain that it was not hit by anything at any point where we lost communication.

We're going to re-wire everything anyway and test it on our practice bot before Championship. Hopefully whatever the issue is, that solves it.

Thanks for the help, folks!
__________________
Patrick Freivald -- Mentor
Team 1551
"The Grapes of Wrath"
Bausch & Lomb, PTC Corporation, and Naples High School

I write books, too!
  #43   Spotlight this post!  
Unread 16-03-2011, 16:03
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: Robots not under driver control- does it happen- do you determine why?

Quote:
Originally Posted by pfreivald View Post
2. We are using a WAGO connector to plug the 5V inverter into the dedicated, protected PD 12V output. The right-angle power connector that came with the radio is connected to the radio and taped in with electrical tape wrapped around the entire radio to keep it snug.
Perhaps your 360 CPR 5v converter is flaky. Try banging on it and see if you can prompt a power outage that way.
  #44   Spotlight this post!  
Unread 16-03-2011, 17:16
pfreivald's Avatar
pfreivald pfreivald is offline
Registered User
AKA: Patrick Freivald
FRC #1551 (The Grapes of Wrath)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2001
Location: Naples, NY
Posts: 2,305
pfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond repute
Re: Robots not under driver control- does it happen- do you determine why?

Quote:
Originally Posted by Alan Anderson View Post
Perhaps your 360 CPR 5v converter is flaky. Try banging on it and see if you can prompt a power outage that way.
Good call. I'll try that!
__________________
Patrick Freivald -- Mentor
Team 1551
"The Grapes of Wrath"
Bausch & Lomb, PTC Corporation, and Naples High School

I write books, too!
  #45   Spotlight this post!  
Unread 17-03-2011, 14:46
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,919
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Robots not under driver control- does it happen- do you determine why?

Quote:
Originally Posted by Hugh Meyer View Post
How do we get the packet timing? We are using C++.
The easiest most efficent way is to just take the summary from the DLink statistics page. At least that's what I prefer to use since the DLink is made to collect that kind of data. It's nice because it's also the point that divides the transmission statistics into wireless (DLink<->field router<->DS) and Ethernet (DLink<->cRIO). We actually get additional results that the FMS logger doesn't have. In the past I've been able to identify a specific bad pin on the cable between the bridge and the cRIO this way.

Either captured by a query script (maybe while disabled after Teleop is over), or just examined via a web browser after a match. To examine it after a match be sure to leave the robot powered to preserve the match data until you can hookup your laptop.
Of course, if your DLink is rebooting then the data does get lost, but at least you'll have proof that it's rebooting.

I'd hesitate to log too much data too quickly on the cRIO, because of the potential for overload
If you're running a more powerful laptop as the driver station, logging the majority of the data back there might have less system impact, as well as being more easily accessable.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 17-03-2011 at 14:56.
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 14:36.

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