Go to Post Gears will win matches. Climbing will win events. Fuel will win championships. - Taylor [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 29-01-2011, 18:22
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: wireless communication sparatic/dangerous

On the other issues.

Sorry for using the acronym -- DS. That stands for driver station. People also use it to refer to the computer and HW elements that the driver station application runs on.

The default NI code had game autonomous added to it at the last minute, and the digital inputs for the IR sensors are used in autonomous independent VI, but are not opened and stored in Begin. If the errors refer to that, you can correct it by opening and storing using the same names. An update will be released shortly to fix some issues not found in WPILib and in in the framework template code.

As for how to check the CPU usage on VXWorks if not running LV -- you can use the netConsole or serial connection via null-modem cable and look at the commands at this URL http://touro.ligo-la.caltech.edu/~cp..._commands.html. I don't have the WindRiver tools with me, but it may be that "i" gives you the info I was thinking of. If not, ask on the WindRiver forum or google a bit.

Greg McKaskle

Greg McKaskle
Reply With Quote
  #17   Spotlight this post!  
Unread 30-01-2011, 18:46
Coach#3536 Coach#3536 is offline
2015 Carver 2nd Alliance Captain
AKA: The Hemi
FRC #3536 (Electro Eagles)
Team Role: Coach
 
Join Date: Jan 2011
Rookie Year: 2007
Location: Michigan
Posts: 37
Coach#3536 is an unknown quantity at this point
Re: wireless communication sparatic/dangerous

My one issue with switching to 5 MHz is that the classmate does not communicate with any above 2.5 MHz so that in itself is an issue.

The 1 light flickers constantly while the power light is on a strong. The AP light is a steady 1 second flash.

I completely removed the Labview from my laptop today and installed it again in hopes to have clean code. I also reformmated the the cRio as well as the D-link.

Not to be a downer but this is getting a little tough on a rookie team. Every coach I have talked to locally appears not to be writting code or deep in this. And the kids are busy writting thier robot code right now. This is not what I expected.
Reply With Quote
  #18   Spotlight this post!  
Unread 31-01-2011, 07:06
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: wireless communication sparatic/dangerous

Have the symptoms changed in any way? If you turn on the robot and DS and leave the robot disabled, what happens? Be sure to pay attention to the LEDs on the router and cRIO as sometimes a reboot or power outage can appear to be a comms issue.

Post back with the latest observations and consider phoning the NI support number.

Greg McKaskle
Reply With Quote
  #19   Spotlight this post!  
Unread 31-01-2011, 10:01
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,835
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: wireless communication sparatic/dangerous

The sporadic response may be a symptom of longer transmit times.
The D-Link status lights sound correct.

Rather than being broken, the wireless might just be adding more delay to the communication between the Driver Station and the cRIO and tripping the Safety for longer periods than the wired operation.
The wired operation may be surer and quicker.

So you might be suffering more from those error 44061's that you're also seeing, than from flakey wireless.

To explore that possibility, lets disable that error as a debug step.
In LabVIEW:
  • Go to the Begin.vi block diagram (picture 1 below)
  • Double-click on the Drive Open 2 Motor icon and then open the block digram for that
  • In the middle you'll see "enabled" feeding a Sfety vi icon
  • Change that to "disabled" (picture 2 below)
  • Build and Run as startup (if you haven't done this we can walk you through it)
  • See how the robot behaves both wired and wireless
As you test the wireless, with sporadic dropouts, watch the Driver Station Diagnostic tab, in addition to what Greg told you to watch. Tell us about any red lights.
Attached Thumbnails
Click image for larger version

Name:	Wireless-1.jpg
Views:	22
Size:	39.6 KB
ID:	9899  Click image for larger version

Name:	Wireless-2.jpg
Views:	27
Size:	79.5 KB
ID:	9900  
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 31-01-2011 at 10:14.
Reply With Quote
  #20   Spotlight this post!  
Unread 01-02-2011, 00:13
mbone206 mbone206 is offline
Registered User
FRC #0223
 
Join Date: Jan 2009
Location: New Jersey
Posts: 59
mbone206 is an unknown quantity at this point
Re: wireless communication sparatic/dangerous

Did you get this working, I have same problem... Connected from driver station to bridge, bridge to crio -- then OK..

Set lap top ip to 10.2.23.5, sub net same as bridge, 255.0.0.0

Does Gateway need to be set? set it to 10.2.23.4....???

One thing, setting up bride, asked for Pre-shae key, put what was in instructions, change team name: 0223WPAKEY -- not sure if leading '0' needed

we are still not communicating wireless, appreciate support
Reply With Quote
  #21   Spotlight this post!  
Unread 01-02-2011, 00:53
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: wireless communication sparatic/dangerous

Quote:
Originally Posted by mbone206 View Post
Does Gateway need to be set? set it to 10.2.23.4....???
The Default Gateway for your PC should be the address of the D-Link Access Point (10.2.23.1). Since the subnet mask puts the cRIO (10.2.23.2) on the same subnet, however, the Default Gateway will not matter.

Quote:
One thing, setting up bride, asked for Pre-shae key, put what was in instructions, change team name: 0223WPAKEY -- not sure if leading '0' needed
Your SSID should be set to "223" with no leading zero. If you are using wireless security, the key can be whatever you want it to be, as long as you enter that key on every device that needs to connect to the DAP.

And just to make sure everyone is on the same page, I'm referring to pages 6-9 of the How to Configure Your Radio guide. The DAP-1522 will be put in Access Point mode, not in Bridge mode.
Reply With Quote
  #22   Spotlight this post!  
Unread 01-02-2011, 11:49
mbone206 mbone206 is offline
Registered User
FRC #0223
 
Join Date: Jan 2009
Location: New Jersey
Posts: 59
mbone206 is an unknown quantity at this point
Re: wireless communication sparatic/dangerous

tahnk you Alan, will try taking out leading '0' tonight
Reply With Quote
  #23   Spotlight this post!  
Unread 02-02-2011, 14:06
Coach#3536 Coach#3536 is offline
2015 Carver 2nd Alliance Captain
AKA: The Hemi
FRC #3536 (Electro Eagles)
Team Role: Coach
 
Join Date: Jan 2011
Rookie Year: 2007
Location: Michigan
Posts: 37
Coach#3536 is an unknown quantity at this point
Re: wireless communication sparatic/dangerous

UPDATE!!

Just found out the issue is in our classmate!

The wireless in our teams classmate has a huge latency in the communication with the router from the wireless card. I spent a total of about 30 hours fighting this thing and here is what I got. Our new classmate....Rookies only....PINGS from 100ms to 1623ms....Opened it up and the wire on the antenna is connected well. Per request of CTL tech, I loaded the new driver in it from CTLcorp FTP and the issue still occurs.

I loaded the driver station into my VIAO and I had a 1ms to 2ms PING return.

So here is the bad news. If you PING the router and have this kind of response the issue may be in the classmate itself. Mine will be going back to CTL for review/repair.

I suggest if you are having this issue Ping the router and check your return rates. If you have the slow speeds you need to load the driver station onto a separate laptop and check if you have the same condition. Hope this helps before pulling anymore hair out.

Last edited by Coach#3536 : 03-02-2011 at 12:19. Reason: better clarification now that I had more time to re-read
Reply With Quote
Reply


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 08:23.

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