Go to Post I can't believe I let build season distract me from the fact that iHop had unlimited pancakes for a few weeks. - IronicDeadBird [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

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 30-01-2005, 16:20
pantherico pantherico is offline
Registered User
#1577
 
Join Date: Jan 2005
Location: Israel
Posts: 1
pantherico is an unknown quantity at this point
Issues with Generate_Pwms() function

Hi there, guys and girls!

While we were trying to make our robot move autonomously, we discovered we can't do anything without the (hidden) Generate_Pwms function.
When we use this function and give the neutral (127) value to the motors they don't move but start to spontaneously tick for a ms every couple of seconds.
If you came across a similar problem, please let us know - preferablly with your solution. If not, feel free to send us any thoughts or ideas that might help.

Thanks a lot,
Team Steampunk, #1577 (Raanana, Israel)
  #2   Spotlight this post!  
Unread 30-01-2005, 16:24
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: Issues with Generate_Pwms() function

Quote:
Originally Posted by pantherico
While we were trying to make our robot move autonomously, we discovered we can't do anything without the (hidden) Generate_Pwms function.
When we use this function and give the neutral (127) value to the motors they don't move but start to spontaneously tick for a ms every couple of seconds.
If you came across a similar problem, please let us know - preferablly with your solution. If not, feel free to send us any thoughts or ideas that might help.
While I personally have not seen the problem yet, I've about it.
Basically, PWMs 13-16 aren't true PWMs, they're faked. If you have interupts enabled, then these are probably screwed up.

As for the solution, the best one is probably to not use PWMs 13-16. It has been mentioned in other threads.
Closed Thread


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
Example gyro code released. Kevin Watson Programming 60 17-03-2005 18:32
RoboEmu2(code simulator)--now with C! rbayer Programming 23 17-02-2005 09:17
PHP to ASP function Raven_Writer Website Design/Showcase 2 12-04-2004 10:04
heres the code. y this not working omega Programming 16 31-03-2004 15:18
issues with if then else Andrew Rudolph Programming 1 15-01-2003 09:15


All times are GMT -5. The time now is 11:59.

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