Go to Post I survived the Great CD Spamming of 2006. - Michelle Celio [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
  #3   Spotlight this post!  
Unread 11-10-2006, 14:54
Roger Roger is offline
Registered User
FRC #1153
 
Join Date: Jan 2006
Rookie Year: 1900
Location: Walpole MA
Posts: 688
Roger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond repute
Re: EasyC-FRC - Arcade driving help

Thanks EHaskins -- to think it's as simple as:

LeftDrive = JoyX - JoyY + 127;
RightDrive = JoyX + JoyY - 127;

LeftDrive = Limit(LeftDrive,0,255);
RightDrive = Limit(RightDrive,0,255);

to mix the x and y axis numbers and get a motor speed.

Can't wait to get to that robot now!

Roger.
 


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
EasyC-Vex Rx/motor frustrations- please help! Steve0100 Programming 10 08-07-2006 02:18
help on easyC Loki1989 Programming 5 19-03-2006 08:42
Update for EasyC for FRC Available Kingofl337 Programming 0 07-03-2006 14:42
HELP!!!! EasyC Compiling Issues Wbrown0389 Programming 8 29-01-2006 09:18
Kickoff easyC workshop integrated into EasyC help file Dan Larochelle Programming 0 11-01-2006 06:12


All times are GMT -5. The time now is 21:20.

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