Go to Post I think Dean has surpassed my 12 minute prediction.... - Koko Ed [more]
Home
Go Back   Chief Delphi > Other > FIRST Tech Challenge
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 09-02-2009, 19:47
Nick 568 Nick 568 is offline
Registered User
FRC #0568 (The Nerds of The North)
Team Role: Mentor
 
Join Date: Nov 2006
Rookie Year: 2006
Location: Anchorage, Alaska
Posts: 20
Nick 568 is on a distinguished road
Send a message via AIM to Nick 568 Send a message via MSN to Nick 568 Send a message via Yahoo to Nick 568
[FTC]: Bluetooth lag?

We've been experiencing some serious lag on bluetooth with our NXT. Know, I know some lag is to be expected with bluetooth, but it's to the point where it makes controlling the robot almost a joke. We were first using the laptop's integrated BT, then switched to the provided USB dongle with better results, but still considerable lag.
Is this just normal, or does anyone know of a way to fix it?

I've had BT lag issues in the past on my Windows Mobile phone, and the fix for that was to go into the registry and change the values on the stack which determined the transmit rate. But with the supplied bluetooth adapter, I cannot find the stack anywhere in the registry.

Any help or insight is much appreciated.
__________________
1885- 2006 VCU Rookie All-Star, 2006 Palmetto All-Star, 2006 Championship Rookie All-Star
568- 2005 Woodie Flower's Award, 2006 Davis-Sacramento Judge's Award, 2007 SVR Judge's Award
Reply With Quote
  #2   Spotlight this post!  
Unread 09-02-2009, 20:21
gdo's Avatar
gdo gdo is offline
Never too much duct-tape ;)
AKA: Patrick
FTC #0001 (Team Unlimited)
Team Role: Engineer
 
Join Date: Dec 2005
Rookie Year: 2001
Location: MA
Posts: 131
gdo is a splendid one to beholdgdo is a splendid one to beholdgdo is a splendid one to beholdgdo is a splendid one to beholdgdo is a splendid one to beholdgdo is a splendid one to beholdgdo is a splendid one to beholdgdo is a splendid one to behold
Send a message via AIM to gdo Send a message via MSN to gdo
Re: [FTC]: Bluetooth lag?

What language are you using, because each one has a different amount of lag. From my personal experience RobotC has the least lag, followed by Labview and trailed by NXT-G.

Depending on your language there are ways to optimize how fast it all runs. I am personally best at optimizing RobotC codes so that they run quick, and I don't have the greatest experience in Labview or NXT-G for operator modes.
__________________



FTC #1: http://unlimited.syraweb.org

Got any question for me; AIM, MSN or PM me
Reply With Quote
  #3   Spotlight this post!  
Unread 09-02-2009, 21:17
Michael Coleman's Avatar
Michael Coleman Michael Coleman is offline
Registered User
no team
 
Join Date: Nov 2006
Rookie Year: 2001
Location: Orlando, Florida
Posts: 82
Michael Coleman is a glorious beacon of lightMichael Coleman is a glorious beacon of lightMichael Coleman is a glorious beacon of lightMichael Coleman is a glorious beacon of lightMichael Coleman is a glorious beacon of light
Re: [FTC]: Bluetooth lag?

1. Are you using the Abe Bluetooth dongle from the FTC kit-of-parts?

2. Use the Windows Device Manager to confirm that the Bluetooth Radio is using the Generic Bluetooth Adapter and Microsoft Bluetooth Enumerator.

3. Is the lag the same if you use the Field Management System or the software provided with the programming environment (ROBOTC, NXT-G or LabVIEW) to control the robot?

NXT-G & LabVIEW use the National Instruments FTC Controller Station.
ROBOTC uses the ROBOTC Debug Joystick Control window.

4. Are you running the latest version of the NXT firmware?

5. Your HiTechnic motors are lagging. Do servos or NXT motors lag?

6. Turn off the internal Bluetooth and remove the Bluetooth Dongle. Does the robot lag if it is controlled with the USB connection?

7. Is the internal Bluetooth radio turned off when you are using the Bluetooth dongle?

Michael
Reply With Quote
  #4   Spotlight this post!  
Unread 09-02-2009, 23:18
BradMello's Avatar
BradMello BradMello is offline
Broken Arrow
FRC #0078 (Rhode Rage & AIR Strike)
Team Role: Driver
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Bristol, Rhode Island
Posts: 134
BradMello has a brilliant futureBradMello has a brilliant futureBradMello has a brilliant futureBradMello has a brilliant futureBradMello has a brilliant futureBradMello has a brilliant futureBradMello has a brilliant futureBradMello has a brilliant futureBradMello has a brilliant futureBradMello has a brilliant futureBradMello has a brilliant future
Send a message via AIM to BradMello
Re: [FTC]: Bluetooth lag?

The lag you are experiencing is most likely an unfortunate side effect of using the NXT programming language. Before we reprogrammed our robot in RobotC, controlling the robot through the code written in NXT seemed to be a joke. I know of another local team that solved the problem by using motor encoders, but there is still some noticeable lag. Your best bet is to use RobotC to program your robot.
Reply With Quote
  #5   Spotlight this post!  
Unread 11-02-2009, 22:20
dooey100 dooey100 is offline
Registered User
FTC #3037
 
Join Date: Feb 2009
Location: Fernie
Posts: 47
dooey100 is on a distinguished road
Re: [FTC]: Bluetooth lag?

If you are using a Toshiba computer, they have their own stack, which caused us problems. We needed to switch to the microsoft stack.
Reply With Quote
  #6   Spotlight this post!  
Unread 12-02-2009, 07:49
jbbjjbt jbbjjbt is offline
VRC Coach
AKA: Jon T
VRC #0177 (Twisted Botz)
Team Role: Coach
 
Join Date: Feb 2006
Rookie Year: 2004
Location: Gloucester, VA
Posts: 110
jbbjjbt is an unknown quantity at this point
Re: [FTC]: Bluetooth lag?

We program in LabView and in practice with the FTC Controller Station we had considerable lag. I thought we would have to go to RobotC. However at our first competition in Dec all was well. For some reason, we don't experience lag (or it's insignificant) with the fms. So try your code with the fms (field management system) if you haven't already.
__________________
Jon Thompson
Coach
VRC 177 Twisted Botz
Sponsored by FRC 122
NASA Knights
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
[FTC]: Problem with Code or Problem with Bluetooth? VeedotJaydot FIRST Tech Challenge 3 27-01-2009 18:22
[FTC]: Bluetooth issues saaby FIRST Tech Challenge 4 23-01-2009 08:17
[FTC]: FTC Controller Station Connectivity (Bluetooth and USB) Issue jbbjjbt FIRST Tech Challenge 6 05-11-2008 11:49
[FTC]: Bluetooth/NXT issues jbbjjbt FIRST Tech Challenge 5 23-10-2008 16:56
[FTC]: [FTC]: Ontario Provincial FTC Start/End Times cbhl FIRST Tech Challenge 8 16-12-2007 13:37


All times are GMT -5. The time now is 11:52.

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