Go to Post "And we will transform our schools and colleges and universities to meet the demands of a new age. All this we can do. And all this we will do." - OScubed [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Spotlight this post!  
Unread 12-11-2011, 20:32
Dkt01's Avatar
Dkt01 Dkt01 is offline
Programming Mentor
AKA: David
FRC #1756 (Argos)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Peoria, Il
Posts: 145
Dkt01 will become famous soon enough
Re: [FTC]: NXT control delay

Quote:
Originally Posted by PhilBot View Post
This is a hugely open-eneded question.

Yes... please provide more information.

eg:
Programming Language,
Connection method (usb/samantha/bluetooth),
Teleop code sample, (could be any number of bugs)
Sorry about that, I was hoping it was some common issue.
We're using LabView.
We're downloading code via bluetooth, but running everything via the Samantha and the FCS.

A correction on the error stuff: there is still a half-second delay, but I was able to fix the E-Stop delay (now the motors don't run for several seconds after the E-Stop command). I did this by making the teleop a loop that continues while the robot is in teleop and there hasn't been a communication error (used the block that checks time between packets). I then used a sequence to force all motors to brake when teleop is ended or a connection error occurs. This seems to fix the danger issue, but if there is a connection pause in competition, this code would effectively disable the robot for the remainder of the match. If you have any suggestions, they'd be appreciated.

Like I said, our teleop code is basically just a loop that checks for new packets, then we made a VI to output a cluster of named axes and buttons. We then unbundle the cluster and use different buttons and axes to control the two drive motors (we made our own tank drive vi for programming practice, should we use the supplied vi instead?), a conveyor motor, a scissor lift motor, and a few servos.

Again, if I left out some important information, please let me know.
Reply With Quote
 


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 13:25.

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