Go to Post Wait, that's exactly how it's supposed to work, isn't it. Well played GDC, well played. - alopex_rex [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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 12-03-2011, 04:04 PM
Greg Shaw's Avatar
Greg Shaw Greg Shaw is offline
Registered User
FRC #3601
 
Join Date: Mar 2011
Location: Webberville
Posts: 35
Greg Shaw is a jewel in the roughGreg Shaw is a jewel in the roughGreg Shaw is a jewel in the rough
FTC RobotC Programming Problems

I am a mentor of a rookie FTC team. We are using RobotC. We are having the following programming issues. To the best of my knowledge, the most recent drivers and firmware is downloaded and installed. We selected the sample program for basic joystick control.

We know the computer can communicate with the robot because we can run a basic forward movement autonomous program. We know the robot controller can communicate with the computer because when we follow the recommended instructions we get to a screen were there is a picture of our robot controller and whenever we push a button on the actual controller it that button is highlighted by the robot controller that is pictured on the screen.

According to the tutorial, what we see on the screen should be happening on the robot. This is not the case. We can communicate with the computer via the robot controller. We can communicate with the robot via the computer and the NXT. We cannot get the robot controller to control the robot. God bless anyone who can understand what I have just wrote and recommend a solution. I am sure you can tell I am very much a Novice.
__________________
Greg Shaw
Lead Mentor
Proud Founding Member FRC Team 3601
Reply With Quote
  #2   Spotlight this post!  
Unread 12-03-2011, 07:38 PM
linuxboy linuxboy is offline
Registered User
AKA: Oliver Graff
FRC #3780
Team Role: Alumni
 
Join Date: Nov 2010
Rookie Year: 2009
Location: MI, USA
Posts: 217
linuxboy is a splendid one to beholdlinuxboy is a splendid one to beholdlinuxboy is a splendid one to beholdlinuxboy is a splendid one to beholdlinuxboy is a splendid one to beholdlinuxboy is a splendid one to beholdlinuxboy is a splendid one to behold
Re: FTC RobotC Programming Problems

While running the program (little window with a start/stop button and a few others is showing) click on the menu item Robot->Debugger Windows->Joystick Control - FTC

In the new window click teleop: ready, then teleop: running, and you should be good to go!

Oliver
Reply With Quote
  #3   Spotlight this post!  
Unread 12-04-2011, 03:51 PM
Greg Shaw's Avatar
Greg Shaw Greg Shaw is offline
Registered User
FRC #3601
 
Join Date: Mar 2011
Location: Webberville
Posts: 35
Greg Shaw is a jewel in the roughGreg Shaw is a jewel in the roughGreg Shaw is a jewel in the rough
Re: FTC RobotC Programming Problems

Thanks for the return message. I followed the steps that you suggested. I still have the same problem--the robot will not move. Despite the fact that the sample program shows up on the NXT and the computer indicates that it is tracking my use of the controller.
__________________
Greg Shaw
Lead Mentor
Proud Founding Member FRC Team 3601
Reply With Quote
  #4   Spotlight this post!  
Unread 12-04-2011, 04:07 PM
JohnFogarty's Avatar
JohnFogarty JohnFogarty is offline
Buying all the 221 Sprockets
AKA: @doctorfogarty @GarnetSq
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Aug 2009
Rookie Year: 2006
Location: SC
Posts: 1,495
JohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond repute
Re: FTC RobotC Programming Problems

Make sure you have in the "Default Tele-Op File" Selector selected the program you are testing otherwise the NXT will not be able to select the correct file.

Also for debugging purposes try opening your NXT Devices window to see if the power being sent to the motors when you move the joysticks is changing.
__________________
John Fogarty
2010 FTC World Championship Winner & 2013-2014 FRC Orlando Regional Winner
"Head Bot Coach" FRC Team 4901 Garnet Squadron

Former Student & Mentor FLL 1102, FTC 1102 & FTC 3864, FRC 1102, FRC 1772, FRC 5632
2013 FTC World Championship Guest Speaker
Reply With Quote
  #5   Spotlight this post!  
Unread 12-04-2011, 04:13 PM
Matthew Blake's Avatar
Matthew Blake Matthew Blake is offline
Registered User
FRC #3481 (Bronc Botz)
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Helotes, Texas
Posts: 43
Matthew Blake is an unknown quantity at this point
Re: FTC RobotC Programming Problems

Quote:
Originally Posted by John_1102 View Post
Make sure you have in the "Default Tele-Op File" Selector selected the program you are testing otherwise the NXT will not be able to select the correct file.
This is most likely your problem. Just make sure in the window that you have the correct program selected, sometimes it will be blank and therefore your NXT Brick will not be running a selected program. (Also make sure you have compiled and downloaded the program you are trying to run to the NXT Brick)

Also, you might want to try a wired connection to the NXT - run a USB cable from the computer to the NXT Brick port. (the cable you would use to update the firmware)
__________________
FTC Team 4008: 2009-2012
FTC Team 4602: 2010-2012
FRC Team 3481: 2010-2012

Last edited by Matthew Blake : 12-04-2011 at 04:16 PM.
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 02:59 PM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi