View Single Post
  #2   Spotlight this post!  
Unread 21-02-2004, 10:12
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
Re: Software Speed Fix

You have to create your own code. You either have to add some code to defaultroutine() (in userroutines.c) or from Processdatafrommasterup() (in the same file). Basically, you can do a few things. You can get creative with your code and kind of scale it so that it ignores the first 10 'ticks' of the joystick feedback, but you scale it so that you don't lose range of motion. If you're really in a crunch, you can just flat out ignore some of the feedback. [code]if (pwm15 < 145 && pwm15 > 100) {pwm15 = 127;}[code] Something like this would just ignore whatever values in the joystick output you want. There's a lot of room for creativity. That depends on how creative/timley your coders are. Best of luck to you.
~BStem