Go to Post The magic is ALL in the mentors. - AdamHeard [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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 26-01-2008, 22:11
Vasily Zaitsev's Avatar
Vasily Zaitsev Vasily Zaitsev is offline
Registered User
FRC #1111 (Power Hawks)
Team Role: Electrical
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Maryland
Posts: 3
Vasily Zaitsev is an unknown quantity at this point
Send a message via AIM to Vasily Zaitsev
Re: 2008 Omni Drive Code Help

yea that was our first idea too.
we made everything signed ints in order to avoid this issue. but somehow when we tried to limit mix them into the 0-254 range, the limit mix failed or something.
but no matter what happened it still didnt work.
could it be that we never casted them back into unsigned chars before assigning them to the pwm? because when i tried that we got pure 254 for all four outputs.

thanks for the help by the way. much appreciated.
 


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
Need help in Kevin's 2008 default code robotrobot2 Programming 5 20-01-2008 14:36
Lego Omni Drive Synergy1848 Robot Showcase 19 03-01-2007 11:51
pic: vex omni drive 1902_Battery_SGT FIRST Tech Challenge 6 28-05-2006 17:55
omni drive vs tank |20807 61|2|_ Technical Discussion 49 17-01-2006 13:54
Omni-drive autonomous questions Andrew Schuetze Programming 6 17-01-2006 12:15


All times are GMT -5. The time now is 01:19.

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