Go to Post "Uh-oh, it's in crazy mode again. Hit the button!" - StephLee [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 21-07-2006, 00:22
TheOtherGuy's Avatar
TheOtherGuy TheOtherGuy is offline
Unregistered User
AKA: Kevin Forbes
FRC #4183 (Bit Buckets)
Team Role: Engineer
 
Join Date: Jul 2006
Rookie Year: 2006
Location: Tucson, AZ
Posts: 408
TheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond repute
Vex Transmitter problem

I have got one heck of a strange problem with my Vex transmitter. I programmed a holonomic drive vex robot to use one joystick (channels 1 and 2) to drive it, and for some reason, it switches channel 2 with channel 3 and vice versa. In other words, you have to use the left joystick for moving forward when you should be using channel 2.
I have another transmitter at my house that came with another kit, and when I switched the crystals and used the other transmitter, channel 2 worked just as it should. I went through the first transmitter and set all the configurations to match those on the second, but it still doesn't seem to work. Any help?
__________________
Reply With Quote
  #2   Spotlight this post!  
Unread 21-07-2006, 01:52
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,349
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Vex Transmitter problem

Quote:
Originally Posted by TheOtherGuy
I have got one heck of a strange problem with my Vex transmitter. I programmed a holonomic drive vex robot to use one joystick (channels 1 and 2) to drive it, and for some reason, it switches channel 2 with channel 3 and vice versa. In other words, you have to use the left joystick for moving forward when you should be using channel 2.
I have another transmitter at my house that came with another kit, and when I switched the crystals and used the other transmitter, channel 2 worked just as it should. I went through the first transmitter and set all the configurations to match those on the second, but it still doesn't seem to work. Any help?
Without seeing your code I'll have to take a SWAG. It sounds like the transmitter is in 23 mode. Try switching it to 12 mode.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
Reply With Quote
  #3   Spotlight this post!  
Unread 21-07-2006, 02:33
Matt Krass's Avatar
Matt Krass Matt Krass is offline
"Old" and Cranky. Get off my lawn!
AKA: Dark Ages
FRC #0263 (Sachem Aftershock)
Team Role: Mentor
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Long Island, NY
Posts: 1,187
Matt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond repute
Send a message via AIM to Matt Krass
Re: Vex Transmitter problem

Quote:
Originally Posted by billbo911
Without seeing your code I'll have to take a SWAG. It sounds like the transmitter is in 23 mode. Try switching it to 12 mode.

Did you plot that on a PDOOMA graph?
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!

I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)
Reply With Quote
  #4   Spotlight this post!  
Unread 21-07-2006, 17:01
TheOtherGuy's Avatar
TheOtherGuy TheOtherGuy is offline
Unregistered User
AKA: Kevin Forbes
FRC #4183 (Bit Buckets)
Team Role: Engineer
 
Join Date: Jul 2006
Rookie Year: 2006
Location: Tucson, AZ
Posts: 408
TheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond repute
Re: Vex Transmitter problem

Quote:
Originally Posted by billbo911
Without seeing your code I'll have to take a SWAG. It sounds like the transmitter is in 23 mode. Try switching it to 12 mode.
I tested that just now and instead of replacing 2 for 3, it caused channel 1 to move all 4 motors.
Here is the code:
Code:
#include "UserAPI.h"

int motor1;
int motor2;
int motor3;
int motor4;
int ch1;
int ch2;

void main ( void )
{
    while ( 1 )
    {    
        ch1 = GetRxInput ( 1 , 1 ); //get input from channel 1
        ch2 = GetRxInput ( 1 , 2 ); //get input from channel 2
        motor1 = 255-ch2; //set motor1 opposite from motor2
        motor2 = ch2;
        motor3 = 255-ch1; //set motor3 opposite from motor4
        motor4 = ch1;
        SetPWM ( 1 , motor1 ); 
        SetPWM ( 2 , motor2 );
        SetPWM ( 3 , motor3 );
        SetPWM ( 4 , motor4 );
    }
}
It works just fine with the second transmitter and the configurations are the same on both transmitters.
__________________
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
Vex Announcement: FIRST Vex Challenge Extended for 2006-2007 KathieK FIRST Tech Challenge 14 30-07-2006 23:42
transmitter question??? mechanicalbrain Control System 1 23-04-2005 16:55
EDU Demo Code: Serial Data Transmitter Using a State-Machine Kevin Watson Programming 3 28-12-2003 22:56
FM radio transmitter Alexander McGee Electrical 11 29-10-2003 19:41
Need info on how to build temp. receiver and transmitter archiver 1999 5 23-06-2002 22:01


All times are GMT -5. The time now is 06:41.

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