Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Autonomous Two wheel problem??? (http://www.chiefdelphi.com/forums/showthread.php?t=53838)

fallen751 10-02-2007 13:59

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.... :mad:

Thanks for your help...

Eclipse 10-02-2007 14:08

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.

Jared Russell 10-02-2007 16:54

Re: Autonomous Two wheel problem???
 
Check your speed controller calibration.

kaszeta 11-02-2007 14:35

Re: Autonomous Two wheel problem???
 
Quote:

Originally Posted by fallen751 (Post 575482)
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.... :mad:

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.

mluckham 11-02-2007 23:07

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 ...


All times are GMT -5. The time now is 04:52.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi