|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: 2012 Field Comm. Issue Logs
So, have we isolated issues to the driver station computer's CPU? Or have we deemed it to be a contributing factor? We were using my personal computer as our drivers station due to our dedicated computer biting the dust...
2011 MacBook Pro 13'' 2.4GHz Intel i5 8gb DDR3 Parallels x64 Windows 7 running on Mac OS X Snow Leopard. |
|
#2
|
|||
|
|||
|
Re: 2012 Field Comm. Issue Logs
I guess that I would say contributing factor. We had problems when running 1.4. The processor on our DS is an i7. We do vision processing in the DS, but the usage doesn't go much about 25% - as I remember.
|
|
#3
|
|||
|
|||
|
Re: 2012 Field Comm. Issue Logs
Team 781 competed at Waterloo this past weekend. We have two Axis 1101 cameras connected to a classmate e09 ds (no image processing). At two matches I watched the field display screen and saw round trip times of 100-plus and accumulated lost packets in the hundreds of thousands (versus below 10/100 for the other teams). The field tech indicated that the two cameras were the cause. We will be switching to a faster laptop for the driver station, and would like to know if there is any way we can test this (e.g. Display trip times and lost packets) on our practice bot/field before we head to Queen City. I'll continue to research this, but I figured you folks would be able to provide specific guidance.
- Team 781 - Which event? Waterloo - Wireless bridge radio HW revision? (A1, A2, or B1) A, can't verify A1 or A2 until I can get into it at Cincinnati. - Radio firmware rev? I'll check at Cincinnati - Programming language? C++ - Using a dashboard app? Regular Dashboard customized to display both camera images (could we have done this incorrectly such that we have initiated the communications issues ?) - Using vision with Axis Camera and cRIO processing? 2 x m1101, no vision processing - Using vision with driver station processing? No - Did you have the radio mounted near motors/large metal structure? Mounted on a lexan panel near the battery - Using classmate as driver station? Yes but hopefully not for much longer. - 4 or 8 slot cRIO? (FRC-CRIO2 or Old version) 4 slot - CAN Jaguars? What FW version? No CAN Thanks Pat |
|
#4
|
|||
|
|||
|
Re: 2012 Field Comm. Issue Logs
Quote:
|
|
#5
|
||||
|
||||
|
Re: 2012 Field Comm. Issue Logs
Quote:
Could you be maxing out one of the i7 cores, assuming it is a 4 core processor? I know we have a beefy driver station without image processing and without the smart dashboard and I did not hear our kids complaining about any lag issues. We were at St. Louis where other issues were reported above. |
|
#6
|
|||
|
|||
|
Re: 2012 Field Comm. Issue Logs
Quote:
|
|
#7
|
|||
|
|||
|
Re: 2012 Field Comm. Issue Logs
Team 1280 here and we had some major problems at the Davis competition. On Thursday we ran fine all day. Once we got into matches though, we had problems.
We made minor code changes throughout the weekend. As you can see, our problems got worse as the competition went on and there was no consistent pattern to it. The only consistent thing about the loss in communication was that our robot mode line disappears from the log charts when we lose communication, while the driver station mode line stays. We are not sure if this is a symptom or a cause. We are getting complete loss in communication, rather than temporary loss of communication. We are hopefully going to find out more on Thursday in San Jose, but for now any help would be great. - Team 1280 - Which event? Sacramento/Davis - Wireless bridge radio HW revision? (A1, A2, or B1) A1 - Radio firmware rev? 1.40 - Programming language? C++ - Using a dashboard app? Currently using SmartDashboard for display statements using log function. FRC Dashboard is on the side for the camera feed. - Using vision with Axis Camera and cRIO processing? 1 Camera with vision processing on 8 Slot cRIO. Resolution at 320x240 @ 7fps - Using vision with driver station processing? No, but we do have a camera feed (FRC Dashboard) - Did you have the radio mounted near motors/large metal structure? Mounted at top of robot near shooting motor. - Using classmate as driver station? No, using 6730b HP laptop (Win7) - 4 or 8 slot cRIO? (FRC-CRIO2 or Old version) 8 slot - CAN Jaguars? What FW version? No Jaguars |
|
#8
|
|||
|
|||
|
Re: 2012 Field Comm. Issue Logs
A couple things that may help with reading the logs.
1. A spike at the beginning of auto is an glitch in the measurement. The DS was modified to zero the lost packets when the match begins. As a result, the delta loss reported into the logs will sometimes show a high spike at the very beginning of auto. You cannot trust this point. 2. If the communication with the robot fails, the voltage will disappear, and other lines such as CPU should be flat and cached. Lost packets and trip time will often look high for a time when a drop occurs. 3. The lost packets numbers is typically "out of 25". So 10 lost packets over half second means 10 out of 25 were lost. If communications is lost entirely, the timeout is 1 second, so the number may go above 25 and be "out of 50". 4. When packets are lost, it is common for CPU to drop. The code for tele and disabled are typically waiting for new DS packet, so less to do when less packets comes in. 5. If the DS line suddenly shows a disabled line, but the robot line seems to ignore it, this indicates a watchdog due to communications drop. This means the robot outputs were disabled due to more than 5 consecutive packets not arriving. Note that it is possible for occasional packet arrival to keep the robot enabled, and this is typical. 6. If you see periodic spikes in the trip time and/or the lost packets, this may very well be due to the DS. If you observe these when cabled, that is supporting evidence that something on the DS is a likely cause. Opening the Task Manager may show a process bumping to the top in time with the blip. 7. Trip time doesn't necessarily mean latency. The trip time includes the trip to the robot and back again. If delayed to the robot, it impacts driving. If delayed on the robot or on the return trip, or often within the DS laptop, the trip delay does't imply that the robot is hard to drive due to lag. 8. Similarly, lost packets may make it to the robot and keep the watchdog alive and be lost on the return trip. Greg McKaskle |
|
#9
|
|||
|
|||
|
Re: 2012 Field Comm. Issue Logs
So have we arrived at the point where we need an RTOS capable system in the Driver's Station?
The piles of threads available in a Core i7 are not exactly conducive to deterministic response times. Shoot, let's push it out a little. Is 802.11 good enough? |
|
#10
|
|||
|
|||
|
Re: 2012 Field Comm. Issue Logs
If it can play video games, it is probably realtime enough to be a DS. The rate of both is defined by human perception and reaction time.
As image processing and other code written by teams migrates to the DS laptop, it will impact the comms. Throw in a Kinect or two, and ... But at this point, I think some teams have overloaded a component of their robot -- the DS laptop -- not unlike how they are capable of overloading a given circuit or mechanical component. The Task manager alone will give good enough feedback to learn about and avoid the issue. Greg McKaskle |
|
#11
|
||||
|
||||
|
Re: 2012 Field Comm. Issue Logs
Quote:
Quote:
Thanks for pointing that out. |
|
#12
|
||||
|
||||
|
Quote:
I am one of the mentors for Team 1280. Thank you for the guidance on reading the log files you provided. It is helpful to know what is normal. I've looked carefully at our log files for both our successful matches and our matches where we stopped running. Unfortunately there is no discernible pattern in CPU, dropped packets, or trip time that correlates to when we lose the ability to control our robot on the field. We do have voltage and CPU readings in all our log files for the duration of the run. It makes sense that if we are getting these readings, we do still have communication with our robot even if we cannot control the robot from the driver station. For the line on the log files that shows the Robot mode, what does this really tell us? When we run successful matches, the lines that make up the Robot mode clearly show the transition from disabled to autonomous to a short disabled to teleoperated then back to disabled. Occasionally we see a little blip of disabled in the middle of teleoperated but not often. While we see the expected CPU drop when this blip occurs, the robot picks up where it left off once robot mode returns to teleoperated mode. The driver station mode line is always complete. For our unsuccessful matches, the robot mode line ends abruptly in whatever mode it was in at the time of the failure. We had robot failures in the middle of autonomous, at the beginning of autonomous, in the middle of teleoperated and at the beginning of teleoperated. I'd love to know if you think this is just a symptom or reflects a problem with the processing. We saw very similar behavior in our robot during practice matches when we were communicating between the driver station wirelessly and when we had the radio configured to automatically select the channel on which it would communicate. The main cause seemed to be interference in the wireless network. When we analyzed the channels being used by the school network's access points, and then switched to a free channel that had no access points, we had no further problems in our practice matches. We also saw similar behavior when we were trying to write too many Log() commands to the SmartDashboard. Again when we reduced the number of SmartDashboard Log() commands, the problem cleared up. For competition, we are displaying very limited data on the SmartDashboard. For San Jose we are going to have a version of our code where we take out all SmartDashboard logic. For competition we also reset the radio to automatically select the channel again, since this is how the instructions indicate the radio should be configured. It feels to us that the more crowded the venue became with spectators, the more likely we were to have a problem with our robot operating properly. Thursday we ran in many practice matches with no failures. Friday we failed 3 of 7 matches. Saturday morning we failed 3 of 4 matches. We declined to participate in the elimination rounds because we were not performing consistently. I'm attaching a document that has screen print of the log viewer files for our failed matches, as well as the log files. For the screen prints, I expanded the display so you can more clearly see where the robot mode line ends in relation to any dropped packets and drop in CPU. We are planning to work on the field with Jakub Fiedorowicz tomorrow morning in San Jose before the practice matches begin to see what more we can discern about our failures. Last edited by dkearle : 29-03-2012 at 00:03. Reason: Typos |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|