View unanswered posts | View active topics It is currently Thu Apr 17, 2014 8:18 pm






Reply to topic  [ 4 posts ] 
The VEX robot can't read that there is a RC Reciever 
Author Message
Novice

Joined: Tue Jan 13, 2009 5:22 pm
Posts: 72
Location: USA, Pennsylvania
Post The VEX robot can't read that there is a RC Reciever
I started out with a brand new VEX robot, I plugged in the RC Reciever and turned on the power for the VEX and the RC transmittion, the power in the battery was good and the Rx1 lamp blinking.
I download the master firmware and the firmware, the master firmware first.
Restarted the VEX robot and downloaded my program.
Code:
int fail; //the fail part is a thing I added to debug the RC
int fail2;
int fail3;

task main()
{

   while(vexRT[Ch5]==0)
   {

      motor[port2] = vexRT[Ch1];
      motor[port3] = vexRT[Ch3];
      fail= vexRT[Ch1];
      fail2= vexRT[Ch2];
      fail3= vexRT[Ch6];

   }

}

Now the Rx1 or 2 ports isn't working.
I'm using version 1.40 (well if you go to the help, about it says 1.08)

_________________
We need a Linux Version!


Wed Oct 21, 2009 6:50 pm
Profile WWW
Rookie

Joined: Fri Oct 09, 2009 9:21 am
Posts: 28
Post Re: The VEX robot can't read that there is a RC Reciever
Did you turn the power off and on to the robot after downloading?
Are you sure the motors are in ports 2 and 3?
Are you using crystals or a tether between the robot and the transmitter?

I'd recommend replacing the:

while(vexRT[Ch5]==0)

with while(1==1) to be sure your continuously reading the transmitter.

_________________
Jon Thompson
Coach - Twisted Bots
VRC 177


Thu Oct 22, 2009 8:23 am
Profile
Novice

Joined: Tue Jan 13, 2009 5:22 pm
Posts: 72
Location: USA, Pennsylvania
Post Re: The VEX robot can't read that there is a RC Reciever
We have restarted the VEX robot many times.
We are using crystals (they are the same(89 and 89))
We have also tried via wire to the RC controller.

_________________
We need a Linux Version!


Fri Oct 23, 2009 7:54 am
Profile WWW
Rookie

Joined: Fri Oct 09, 2009 9:21 am
Posts: 28
Post Re: The VEX robot can't read that there is a RC Reciever
You need this command:

bVexAutonomousMode = false; //Activates Remote Control Mode

before your loop.

There should be some examples in the sample programs to try. There definitely is in version 1.94. See sample programs/VEX/Radio Control Transmitter/Single Joystick Control.

_________________
Jon Thompson
Coach - Twisted Bots
VRC 177


Fri Oct 23, 2009 8:37 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.