Go to Post You are done with designing something, not when there's nothing more to add, but when there's nothing left to remove. - EricH [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 10-02-2007, 13:59
fallen751 fallen751 is offline
Registered User
FRC #2052
 
Join Date: Jan 2007
Location: Minnesota
Posts: 17
fallen751 is an unknown quantity at this point
Autonomous Two wheel problem???

So here's the problem:

We have 4-wheel / 4-CIM setup, each CIM running an independent speed controller. Normal drive code functions properly with the sticks, but when jump the ports on the OI to activate autonomous mode to track the light, only the back two wheels spin at all. Pulling up the dashboard viewer shows that all four CIMs are getting PWM values, yet the front two refuse to spin....

Thanks for your help...
  #2   Spotlight this post!  
Unread 10-02-2007, 14:08
Eclipse's Avatar
Eclipse Eclipse is offline
Registered User
AKA: Sensei Hanzo
FRC #1250 (Gatro-Bots)
Team Role: Programmer
 
Join Date: Feb 2006
Rookie Year: 2004
Location: Dearborn, MI
Posts: 18
Eclipse is an unknown quantity at this point
Re: Autonomous Two wheel problem???

If you look at the speed controllers during autonomous mode, do the lights for the inactive motors change the same as the active ones? If Dashboard shows that the PWM values are being sent, I'm inclined to think that it would be an electrical problem rather than programming.
__________________
xXx.S3nS31-h4nz0.xXx
  #3   Spotlight this post!  
Unread 10-02-2007, 16:54
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,073
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: Autonomous Two wheel problem???

Check your speed controller calibration.
  #4   Spotlight this post!  
Unread 11-02-2007, 14:35
kaszeta's Avatar
kaszeta kaszeta is offline
Registered User
FRC #0095 (Grasshoppers)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Lebanon, NH
Posts: 334
kaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of light
Re: Autonomous Two wheel problem???

Quote:
Originally Posted by fallen751 View Post
So here's the problem:

We have 4-wheel / 4-CIM setup, each CIM running an independent speed controller. Normal drive code functions properly with the sticks, but when jump the ports on the OI to activate autonomous mode to track the light, only the back two wheels spin at all. Pulling up the dashboard viewer shows that all four CIMs are getting PWM values, yet the front two refuse to spin....

Thanks for your help...
Which pwms are you using? If using PWMS 13-16, make sure you've got the call to Generate_Pwms() being called in autonomous (or use Kevin Watson's spiffy replacement PWM13 to 16 code), or they won't be generated.
  #5   Spotlight this post!  
Unread 11-02-2007, 23:07
mluckham's Avatar
mluckham mluckham is offline
Registered User
FRC #0758 (Sky Robotics)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2006
Location: Ontario, Canada
Posts: 116
mluckham will become famous soon enoughmluckham will become famous soon enough
Re: Autonomous Two wheel problem???

We just use a PWM y-connector (the red/black/yellow included in KOP) to connect ONE PWM OUT channel to the pair of speed controllers for the left side motors, and a second PWM OUT channel the pair of controllers for the right side motors.

Of course the speed controller pairs should be identically calibrated ...
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
Autonomous problem railerobotics Programming 7 07-02-2006 08:36
One or Two Wheel Shooter Nitroxextreme Technical Discussion 6 14-01-2006 01:10
Problem using two transmitters jamesgecko FIRST Tech Challenge 9 12-05-2005 09:30
Autonomous Problem... JoeFryman Programming 2 19-02-2005 14:56
Autonomous problem. Code\\Pilot Programming 8 10-02-2004 19:40


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

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