Go to Post "You know, if we shoot the flame thrower out of the back of the car while driving down Main Street at 2:00am, we are probably going to get in a lot of trouble..." - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Control System
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-02-2007, 21:46
tdlrali tdlrali is offline
Registered User
FRC #0469 (Las Guerrillas)
Team Role: Programmer
 
Join Date: Sep 2006
Rookie Year: 2006
Location: MI
Posts: 377
tdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud of
Re: Inverting x-axis

I bet CTRE tried to design it so it matches analog joysticks. However, not all controllers have the same design (inverted x or y axis).

I would contact CTRE (http://crosstheroadelectronics.com/contact.html) and ask them whether there is anything you can do. I doubt there is, however.
Reply With Quote
  #2   Spotlight this post!  
Unread 22-02-2007, 02:24
Stvn's Avatar
Stvn Stvn is offline
FIRST Competition Competer
AKA: Steven Rhodes
FRC #0100 (WHS/CHS - WildHats)
Team Role: Leadership
 
Join Date: Feb 2007
Rookie Year: 2004
Location: Woodside, CA
Posts: 90
Stvn is an unknown quantity at this point
Send a message via AIM to Stvn
Re: Inverting x-axis

You can always just have something built into the code that you can quickly change. For example, you can have something like:
Code:
#ifdef USB
    pwm1 = p1_Y;
#endif
#ifdef JOYSTICK
    pwm1 = 255 - p1_Y;
#endif
and define as needed.
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
Inverting Joysticks? The yellowdart Programming 5 20-02-2006 20:05
Dual-Axis Accelerometer naor52 Programming 18 27-01-2006 22:06
Reversing the joystick axis JBotAlan Programming 3 09-02-2005 19:47
Inverting Y axis on joystick FormatteD_C Programming 7 24-02-2004 16:56
switching joystick axis????? team222badbrad Technical Discussion 9 16-01-2002 23:07


All times are GMT -5. The time now is 05: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