Go to Post I like how we're trying to save weight when we came in at 95 pounds. - Chris is me [more]
Home
Go Back   Chief Delphi > Old Forum Archives > 2001
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
  #3   Spotlight this post!  
Unread 24-06-2002, 00:21
archiver archiver is offline
Forum Archival System
#0047 (ChiefDelphi)
 
Join Date: May 2001
Location: Pontiac, MI
Posts: 21,214
archiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond repute
use the wheel as a throttle

Posted by Joe Johnson at 2/6/2001 1:37 PM EST


Engineer on team #47, Chief Delphi, from Pontiac Central High School and Delphi Automotive Systems.


In Reply to: Re: software software software
Posted by Matt Leese on 2/6/2001 9:27 AM EST:



We often use the wheel on the joystick as a variable throttle for the driver joystick(s).

This allows us to have a "training" speed and a competition speed.

The code is not difficult, something along the lines of:
if y1>127 then aaa
pwm1 = 127 - ((127-y1) / NCD (wheel1 + 1) Max 127)
goto bbb
aaa:
pwm1 = 127 + ((y1-127) / NCD (wheel1 + 1)) Max 254
bbb:

As a side benefit, we can dial down the throttle when we go for a show where a bunch of 3rd graders are going to be driving our robot.

Joe J.

P.S. I just wrote that code from memory on the spot, it may not be exactly correct though I believe the concept is substantially correct. JJ


__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.
 


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 Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Interesting "4D" planning software. Madison General Forum 2 22-10-2003 09:26
SCRRF Design Classes Redhead Jokes Southern California Regional Robotics Forum 0 10-07-2003 17:29
which software Ryan Foley 3D Animation and Competition 5 01-03-2003 23:39
any one get the software yet?! activemx 3D Animation and Competition 17 28-11-2002 19:06
Reactor software? Adrian Wong 3D Animation and Competition 4 15-01-2002 16:45


All times are GMT -5. The time now is 02:14.

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