Go to Post I don't think it's that big of a deal if FIRST makes a few mistakes or cuts back every now and then. Personally, I'm just glad I have the opportunity to be in this program. - Crop-Circles [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 29-11-2008, 21:19
wilsonmw04's Avatar
wilsonmw04 wilsonmw04 is offline
Coach
FRC #1086 (Blue Cheese)
Team Role: Teacher
 
Join Date: Dec 2006
Rookie Year: 2007
Location: Midlothian, VA
Posts: 1,887
wilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond repute
[FTC]: 35's Drive problem

We've been working on our robot for the past several weeks and we are about done with construction and programming. We are having a slight problem with our controls. Everything we tell the robot to do in teleop is delayed by about 1/2 a second. The arm is toned down enough that it's not that big of a deal, but the delay is making driving the base VERY difficult. We are using labview and we have applied all updates. Is anyone else having similar issues?
__________________
Currently: Coach FRC 1086/FTC 93
2006-2011 Coach FRC 2106/FTC 35
If you come to a FRC event to see a robot competition, you are missing the point.
Reply With Quote
  #2   Spotlight this post!  
Unread 29-11-2008, 21:29
Lowfategg's Avatar
Lowfategg Lowfategg is offline
Building cars now....
AKA: Tyler Moser
FRC #2016 (Mighty Monkey Wrenches)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2005
Location: Bridgewater, NJ
Posts: 471
Lowfategg has a reputation beyond reputeLowfategg has a reputation beyond reputeLowfategg has a reputation beyond reputeLowfategg has a reputation beyond reputeLowfategg has a reputation beyond reputeLowfategg has a reputation beyond reputeLowfategg has a reputation beyond reputeLowfategg has a reputation beyond reputeLowfategg has a reputation beyond reputeLowfategg has a reputation beyond reputeLowfategg has a reputation beyond repute
Send a message via AIM to Lowfategg
Re: [FTC]: 35's Drive problem

Quote:
Originally Posted by wilsonmw04 View Post
We've been working on our robot for the past several weeks and we are about done with construction and programming. We are having a slight problem with our controls. Everything we tell the robot to do in teleop is delayed by about 1/2 a second. The arm is toned down enough that it's not that big of a deal, but the delay is making driving the base VERY difficult. We are using labview and we have applied all updates. Is anyone else having similar issues?
I remember this problem being discussed on FTC Lab, but the site is down now so I cant get the thread for you. I believe it had to do something with the way you get the data from the control. Anyone else have a clue?

(By the way, nice robot!)
__________________
Mechanical Engineering Student at WPI.

Mightly Monkey Wrenches FRC #2016 - 2010-12 (Mentor)

Past: FTC #74, FVC #3179, FVC #73, FRC #303, FRC #2753
Reply With Quote
  #3   Spotlight this post!  
Unread 29-11-2008, 21:59
KayyPii's Avatar
KayyPii KayyPii is offline
Registered User
FRC #1404 (SHOCKs)
Team Role: Programmer
 
Join Date: Oct 2008
Rookie Year: 2007
Location: Toronto
Posts: 45
KayyPii will become famous soon enough
Re: [FTC]: 35's Drive problem

My team is also having the same problem, I THINK it is because this controller uses blue tooth and I'm guessing the 1/2 second delay is because of the blue tooth lag. I should check that site myself regarding this issue.

I agree with Lowfategg, you do have a really nice robot xD
Reply With Quote
  #4   Spotlight this post!  
Unread 30-11-2008, 00:12
wilsonmw04's Avatar
wilsonmw04 wilsonmw04 is offline
Coach
FRC #1086 (Blue Cheese)
Team Role: Teacher
 
Join Date: Dec 2006
Rookie Year: 2007
Location: Midlothian, VA
Posts: 1,887
wilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond repute
Re: [FTC]: 35's Drive problem

My programmer was saying he thinks it's because we are running Windows on a Mac (something to do with how the software and the hardware interface). i just can't see how we are running into a hardware issue with what we are asking the computer to do. I believe it's software based. I trolled around FTC Lab and couldn't find anything useful. Is this something i should take straight to NI?
__________________
Currently: Coach FRC 1086/FTC 93
2006-2011 Coach FRC 2106/FTC 35
If you come to a FRC event to see a robot competition, you are missing the point.
Reply With Quote
  #5   Spotlight this post!  
Unread 30-11-2008, 09:57
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]: 35's Drive problem

There seems to always be a lag time in my experience.

just a question, are you using a "deadband" in your code like:
Quote:
if (-10 < joystick.joy1_y1 < 10)
{
motor[motorD] = 0;
motor[motorE] = 0;
}
((I know its a robotC code, but it just to show an example))

I found that it reduced our lag, though did not make it go away. To really slim down the lag, the smaller the routines the robot has to go through, the faster you will get the code to run on the NXT. The NXT isn't extremely powerful, if you overload the processing power with many routines preforming at once, the cycle rate might be reduced.

Something else we found was that RobotC had the smallest lag time in the NXT, followed by LabView, and trailed by NXT-G. I'm not sure why this is, but it is one reason we stuck to the RobotC.

Just try the deadband, it might atleast help with makign sure your robot comes to a stop (because often if you don't have the deadband, the robot won't come to a stop completely).
__________________



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

Got any question for me; AIM, MSN or PM me
Reply With Quote
  #6   Spotlight this post!  
Unread 30-11-2008, 10:14
KayyPii's Avatar
KayyPii KayyPii is offline
Registered User
FRC #1404 (SHOCKs)
Team Role: Programmer
 
Join Date: Oct 2008
Rookie Year: 2007
Location: Toronto
Posts: 45
KayyPii will become famous soon enough
Re: [FTC]: 35's Drive problem

I tried to program a deadband in labview but it didn't really work, and I have yet to get the chance to fix it. But yea, my team will definitely try that.
Reply With Quote
  #7   Spotlight this post!  
Unread 30-11-2008, 10:16
wilsonmw04's Avatar
wilsonmw04 wilsonmw04 is offline
Coach
FRC #1086 (Blue Cheese)
Team Role: Teacher
 
Join Date: Dec 2006
Rookie Year: 2007
Location: Midlothian, VA
Posts: 1,887
wilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond repute
Re: [FTC]: 35's Drive problem

Quote:
Originally Posted by gdo View Post
Just try the deadband, it might atleast help with makign sure your robot comes to a stop (because often if you don't have the deadband, the robot won't come to a stop completely).
That's where we were headed at tomorrow's practice. What concerns me is this: We didn't have this problem with the VEX system. Doesn't the NXT system have a faster CPU than the VEX? It seems strange that we would be taxing this new system with simple drive commands.
__________________
Currently: Coach FRC 1086/FTC 93
2006-2011 Coach FRC 2106/FTC 35
If you come to a FRC event to see a robot competition, you are missing the point.
Reply With Quote
  #8   Spotlight this post!  
Unread 30-11-2008, 11:02
ttldomination's Avatar
ttldomination ttldomination is offline
Sunny
no team
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2007
Location: Roanoke, TX
Posts: 2,066
ttldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond repute
Re: [FTC]: 35's Drive problem

I doubt the system is experiencing lag. I'm sure there's something with the code.

BTW, the curiosity is killing me, but can your robot score in the center triangle?
__________________
1261: 2007-2012
1648: 2013-2014
5283: 2015
Reply With Quote
  #9   Spotlight this post!  
Unread 30-11-2008, 11:08
gregsanCHEVY121's Avatar
gregsanCHEVY121 gregsanCHEVY121 is offline
Registered User
FTC #0121 (Rhode Rage and Air Strike)
Team Role: Operator
 
Join Date: Sep 2008
Rookie Year: 2007
Location: Tiverton RI
Posts: 21
gregsanCHEVY121 is a jewel in the roughgregsanCHEVY121 is a jewel in the roughgregsanCHEVY121 is a jewel in the roughgregsanCHEVY121 is a jewel in the rough
Send a message via AIM to gregsanCHEVY121
Re: [FTC]: 35's Drive problem

we have similar lag in our robot and we are pretty sure that it is the programming language. one of our mentors is pretty sure that in robotC there will not be as much lag. Also Wilsonmw04 nice robot. does it score into the triangle and how well does it pick up off the ground? we had similar design at the beginning but decided not to use it because we didnt think it would pick up well and we had other ideas.
Reply With Quote
  #10   Spotlight this post!  
Unread 30-11-2008, 12:55
Monty Python Monty Python is offline
Registered User
no team
 
Join Date: Oct 2008
Rookie Year: 2006
Location: Philadelphia
Posts: 83
Monty Python has a spectacular aura aboutMonty Python has a spectacular aura aboutMonty Python has a spectacular aura about
Re: [FTC]: 35's Drive problem

Make sure you've updated labview. They said there was an error with the move motors vi that would cause the lag.
Reply With Quote
  #11   Spotlight this post!  
Unread 30-11-2008, 13:03
KayyPii's Avatar
KayyPii KayyPii is offline
Registered User
FRC #1404 (SHOCKs)
Team Role: Programmer
 
Join Date: Oct 2008
Rookie Year: 2007
Location: Toronto
Posts: 45
KayyPii will become famous soon enough
Re: [FTC]: 35's Drive problem

I have all the updates but I'm still experiencing lag.
Reply With Quote
  #12   Spotlight this post!  
Unread 30-11-2008, 13:34
wilsonmw04's Avatar
wilsonmw04 wilsonmw04 is offline
Coach
FRC #1086 (Blue Cheese)
Team Role: Teacher
 
Join Date: Dec 2006
Rookie Year: 2007
Location: Midlothian, VA
Posts: 1,887
wilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond repute
Re: [FTC]: 35's Drive problem

Quote:
Originally Posted by Monty Python View Post
Make sure you've updated labview. They said there was an error with the move motors vi that would cause the lag.
We installed both updates from NI site. I double checked the installation process and everything was done correctly. Are there any other updates that I'm not aware of?
__________________
Currently: Coach FRC 1086/FTC 93
2006-2011 Coach FRC 2106/FTC 35
If you come to a FRC event to see a robot competition, you are missing the point.
Reply With Quote
  #13   Spotlight this post!  
Unread 30-11-2008, 14:53
ttldomination's Avatar
ttldomination ttldomination is offline
Sunny
no team
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2007
Location: Roanoke, TX
Posts: 2,066
ttldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond repute
Re: [FTC]: 35's Drive problem

Your best chance now would be to try and hook with someone at NI to get some help and try and figure it out.
__________________
1261: 2007-2012
1648: 2013-2014
5283: 2015
Reply With Quote
  #14   Spotlight this post!  
Unread 30-11-2008, 15:28
wilsonmw04's Avatar
wilsonmw04 wilsonmw04 is offline
Coach
FRC #1086 (Blue Cheese)
Team Role: Teacher
 
Join Date: Dec 2006
Rookie Year: 2007
Location: Midlothian, VA
Posts: 1,887
wilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond repute
Re: [FTC]: 35's Drive problem

Quote:
Originally Posted by ttldomination View Post
Your best chance now would be to try and hook with someone at NI to get some help and try and figure it out.
posted:
http://decibel.ni.com/content/thread/1772?tstart=0

let's see what happens.
__________________
Currently: Coach FRC 1086/FTC 93
2006-2011 Coach FRC 2106/FTC 35
If you come to a FRC event to see a robot competition, you are missing the point.
Reply With Quote
  #15   Spotlight this post!  
Unread 30-11-2008, 17:14
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]: 35's Drive problem

Quote:
Originally Posted by wilsonmw04 View Post
That's where we were headed at tomorrow's practice. What concerns me is this: We didn't have this problem with the VEX system. Doesn't the NXT system have a faster CPU than the VEX? It seems strange that we would be taxing this new system with simple drive commands.

The NXT is faster, I think the lag has as much more to do with the bluetooth. I found that it was better to incorporate FEWER interface commands, where the code looks for the joystick commands, which definately has a slowing affect.

There are more factors, but the bluetooth speed is the biggest problem I think.

I have had very few problems with the bluetooth interface in RobotC, but I haven't been using the FTC Control station, but the included software in RobotC. It will be interesting to see what the robots will do at scrimages with the competition setup. (the only scrimage I went to, people used personal laptops and all used RobotC)
__________________



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

Got any question for me; AIM, MSN or PM me
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 two controller setup in Labview wilsonmw04 FIRST Tech Challenge 2 11-11-2008 19:58
[FTC]: First problem with FTC and LabView.....? PhilBot FIRST Tech Challenge 5 07-11-2008 10:36
[FTC]: Team 35's Servo Test wilsonmw04 FIRST Tech Challenge 11 03-11-2008 21:47
[FTC]: FTC Servo-Motor Problem with Labview dnhansen FIRST Tech Challenge 1 26-10-2008 00:43
pic: FTC 35's prototype for 2007 wilsonmw04 Extra Discussion 2 08-11-2007 18:38


All times are GMT -5. The time now is 12:29.

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