Go to Post I think the "F" in FIRST really stands for "friendly." - Rick TYler [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 10-06-2010, 00:31
Carter12s's Avatar
Carter12s Carter12s is offline
Team Cap
FRC #3374 (Robo-Broncs)
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Jackson Hole
Posts: 92
Carter12s is just really niceCarter12s is just really niceCarter12s is just really niceCarter12s is just really nice
ROBOTC and the VEXnet Joystick

Hi, i am teaching a class this summer to a group of junior high school students about robotics. For the class we purchased 6 new Vex robot starter kits with the cortex microcomputer and the vex-net joystick. I am brand new to vex robots and robotc but i am having a great experience with it. The problem i have now is that i cannot find the proper notation for accessing button presses in ROBOTC. This is the code i am using right now

task usercontrol()
{
// User control code here, inside the loop

while (true)
{
motor[Left1] = vexRT[Ch3];
motor[Right1] = vexRT[Ch2];
motor[Arm1] = vexRT[ ???];

}
}

what i would like to do is define the motor[Arm1] to run off of button presses. I cannot find a chart showing the correct vexRT channels for the new vexNet joystick. does anyone have these?
  #2   Spotlight this post!  
Unread 10-06-2010, 02:57
Rick TYler Rick TYler is offline
A VEX GUy WIth A STicky SHift KEy
VRC #0010 (Exothermic Robotics)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Redmond, Washington
Posts: 2,000
Rick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond repute
Re: ROBOTC and the VEXnet Joystick

You'll get a much better response at www.vexforum.com.
__________________
Exothermic Robotics Club, Venturing Crew 2036
VRC 10A, 10B, 10D, 10Q, 10V, 10X, 10Z, and 575
  #3   Spotlight this post!  
Unread 10-06-2010, 12:04
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: ROBOTC and the VEXnet Joystick

This is very interesting as I have not seen any documentation for this. Usually the little inventor's guide inserts for the controllers are the most helpful, but I have asked your question here.

Furthermore, I did a little digging, and it seems that the document to calibrate the controller the buttons are being referred to as 6U, 7U, and 8U.

- Sunny
__________________
1261: 2007-2012
1648: 2013-2014
5283: 2015
Closed Thread


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
Using the same Jaguar/Controller for Joystick and buttons.... mck567 NI LabVIEW 2 09-02-2010 16:34
Joystick Read VI and Passing Variables to the Control Stealth NI LabVIEW 3 24-01-2010 12:59
[FTC]: RobotC and NXT-G (The two programming languages) craig_yates FIRST Tech Challenge 1 30-01-2009 21:47
RobotC and Quad Encoders KevinReid Programming 6 03-04-2008 22:00
Congrats to the Robotc Knights! MattB703 Thanks and/or Congrats 0 18-03-2002 15:07


All times are GMT -5. The time now is 10:38.

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