Go to Post It goes back to what Dave said last year--you can be legal and graciously professional, but still dumb. Play smart. - Billfred [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-10-2008, 15:01
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
[FTC]: FTC Labview questions

So I have seen the training videos online but I still have some questions (and I'm pretty sure for one of the questions I just missed). Where does the HiTech motor bay get plugged into? I thought it was port 1, but I just wanted to double check. Second, when using Labview, I set up something that said move ftc motor. It said that I needed to specify port before I downloaded the program. What does this mean and how do I do it? Also, if anyone has any advice with regards to how the game controller and bluetooth dongle get set up to control the robot in RC mode that would be great. Thanks.
Reply With Quote
  #2   Spotlight this post!  
Unread 10-10-2008, 14:55
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]: FTC Labview questions

We have also had similar problems kind of. We built ourselves a little square bot to mess around with and get some programming ideas and just get used to everything and when we went to program we couldnt get our dc motors to move. we can plug in the lego motors but going through the motor controller we couldnt get anything. Any ideas on what we need to do?
Reply With Quote
  #3   Spotlight this post!  
Unread 10-10-2008, 23:37
PhilBot's Avatar
PhilBot PhilBot is offline
Get a life? This IS my life!
AKA: Phil Malone
FRC #1629 (GaCo: The Garrett Coalition)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Maryland
Posts: 747
PhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond repute
Re: [FTC]: FTC Labview questions

The HiTech motor controller can get plugged into any of the NXT's INPUT ports (I know... seems BTF, but it's just a data port).

You can plug one controller into a NXT port, and then daisy chain more controllers from this to the next. This gives you a lot of expansion.

Whenever the LabVIEW code asks for a "Port" it wants to know which NXT port you plugged into.

I'd stick with Port 1 'cos it's the default in most cases.

The other thing that it asks is what "controller" it is. Here it wants to know which controller in the daisy chain did you connect the motor to. The one that's plugged directly into the NXT is controller '1' and then then next in the chain (if you have one) is controller '2' etc.



In most cases the port and controller will be '1'.
__________________
Phil Malone
Garrett Engineering And Robotics Society (GEARS) founder.
http://www.GEARSinc.org

FRC1629 Mentor, FTC2818 Coach, FTC4240 Mentor, FLL NeXTGEN Mentor
Reply With Quote
  #4   Spotlight this post!  
Unread 13-10-2008, 17:43
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]: FTC Labview questions

Thanks! I have yet another question though.

So my team set up our robot, we think we have everything wired correctly, we downloaded the joystick code, we charged the batteries, we (think) we set up the bluetooth device and our robot still won't move. Not so much as a twitch. Does anyone have any idea what we might be doing wrong/what to do next?
Reply With Quote
  #5   Spotlight this post!  
Unread 13-10-2008, 20:11
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]: FTC Labview questions

Yet Again my team is having the same problem as you Monty. We thought we had fixed our problem but never has our robot moved. We couldn't make an autonomous that would move our DC motors or a tele-operated that would move the DC motors. We have tried many things and i don't know if we overlooked a simple problem or not.
Reply With Quote
  #6   Spotlight this post!  
Unread 13-10-2008, 22:32
PhilBot's Avatar
PhilBot PhilBot is offline
Get a life? This IS my life!
AKA: Phil Malone
FRC #1629 (GaCo: The Garrett Coalition)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Maryland
Posts: 747
PhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond repute
Re: [FTC]: FTC Labview questions

When debugging the new environment, there are several things you can do to determine what's breaking down.

1) To debug the Bluetooth link and NXT code, you can do something OTHER than move the wheels... try displaying the motor drive value on the NXT display, or BEEP when a button is pressed. Make sure you have a link.

2) To debug the motor drive, you can hook up the motors and just pre program the NXT to turn the wheels. Forget about operator input. Make sure you can turn the wheels.

If you think the wheels should turn, but they don't... check the yellow fuse in the battery cable. Mine blew so there was no power going to the control module.

Another debugging tool is the LabVIEW debug mode. Instead of using the download and run button on the NXT Terminal, try the Debug button. After a few seconds the Labview front panel will become active. You can put some numbers or LED displays on it, hooked up to the internal NXT "wires". I like to display the incoming joystick values and the wheel drive values.

Bottom line, don't try to debug everything at once.... divide and conquor.

Phil.
__________________
Phil Malone
Garrett Engineering And Robotics Society (GEARS) founder.
http://www.GEARSinc.org

FRC1629 Mentor, FTC2818 Coach, FTC4240 Mentor, FLL NeXTGEN Mentor
Reply With Quote
  #7   Spotlight this post!  
Unread 13-10-2008, 22:46
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]: FTC Labview questions

Thanks so much for the advice, I'll give it a shot at my team's next meeting tomorrow.
Reply With Quote
  #8   Spotlight this post!  
Unread 14-10-2008, 18:40
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]: FTC Labview questions

So here's what I found out today while working with the rest of my team's programming people (all of this was done with labview). First, we created a labview program that simply moved one motor forward autonomously. Just put in the block that says move FTC motor. Set it up as port 1, controller 1. Set a value for motor power between 0 and 126 (either that or 127, I can't remember which, if you have content help open it will tell you). Set the motor to move both motor A and motor B (you only need one move FTC motor block to do this). Assuming I haven't forgotten anything, this should make the robot move forward. I have attached the code that we used to make our robot move forward. If this code works then you have everything connected right. Once you have accomplished this step, download the code from ftctraining.com that says 2 joystick control (or something like this). Once you have downloaded this code onto your computer and into your robot, open up the FTC controller station (there should be a video that shows how to do this, but the file is in the C drive under lego mindstorms). Once you have opened the FTC controller station, you need to mess around with it a little bit. Enter in your robot's name, turn the station so that it is set to enable, make sure it says tele-operated mode (there are probably some other things that we did that I forget as well). We did not get our bluetooth to work, so using just these steps you would probably need to leave the usb cable that connects the robot to the computer in. There was significant lag with labview, we will likely try robotC at our next practice. Also, the motors may be inverted (likely they will be inverted for the RobotMovesForward.vi or for the teleoperated program). Hope this helps!
Attached Files
File Type: vi RobotMovesFoward.vi (7.5 KB, 56 views)
Reply With Quote
  #9   Spotlight this post!  
Unread 14-10-2008, 20:03
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]: FTC Labview questions

My team is currently considering different programming options and what would benefit us the most in competitions. We are currently looking towards RobotC mainly because most of the people on the team are familiar with RobotC.

So, I was wondering if LabView hosts some sort of advantage over RobotC that we should consider?
__________________
1261: 2007-2012
1648: 2013-2014
5283: 2015
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]: First problem with FTC and LabView.....? PhilBot FIRST Tech Challenge 5 07-11-2008 10:36
[FTC]: Rookie Team Needs Help With Tetrix FTC Kit! rjustice4 FIRST Tech Challenge 8 05-10-2008 09:44
[FTC]: FTC]: FTC Champ Tournament - Ontario (Scoring Breakdown) Mr. Lim FIRST Tech Challenge 2 03-03-2008 11:54
[FTC]: [FTC]: Ontario Provincial FTC Start/End Times cbhl FIRST Tech Challenge 8 16-12-2007 13:37
[FTC]: Hey FTC teams, Vex and a chance to be on MTV? Rich Kressly FIRST Tech Challenge 1 12-09-2007 13:35


All times are GMT -5. The time now is 18:04.

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