Go to Post This web site is a service by our team to the FIRST Community to foster interest and growth in Engineering, the FIRST Competition and Education of youth for the careers of tomorrow. - Mike Martus [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 18-02-2004, 22:57
bstempi bstempi is offline
Captain
#0708 (Hardwired Hatters)
Team Role: Student
 
Join Date: Feb 2004
Location: Horsham, Pa
Posts: 23
bstempi is an unknown quantity at this point
Send a message via AIM to bstempi
Question Inconsistant Joystick

Here's my problem:
I have an arm that rotates, and inside of it, there is another arm that pokes out. What I wanted to do was use the second joystick to control it. I use p2_y to control the rotation of the arm on pwm04. I use the hat on p2 (p2_wheel) to retract/extend the arm by pressing up or down. In defaultroutine, pwm04 = p2_y. For some reason, the hat will work. It will tell the arm to do what I want it to. The kick in the but comes here: when using dashboard, it tells me that pwm04 is always 127. Sometimes it works, and sometimes it doesn't. It doens't matter what joystick I use, it just randomly decides to work. Anyone else experience this? Should I invest in a new controler? Many thanks.
~Brian Stempin
Captain, Team 708
 


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
Fried program slots? Jeff Waegelin Programming 18 19-03-2003 18:08
question about one joystick drive programing james700 Programming 13 29-01-2003 14:49
robot goes haywire with the one joystick default code Miles Programming 7 24-01-2003 14:58
joystick problem archiver 2000 12 23-06-2002 23:08
switching joystick axis????? team222badbrad Technical Discussion 9 16-01-2002 23:07


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

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