Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Technical Discussion (http://www.chiefdelphi.com/forums/forumdisplay.php?f=22)
-   -   four wheel drive (http://www.chiefdelphi.com/forums/showthread.php?t=59165)

Japper 16-10-2007 13:43

four wheel drive
 
Is there any MPLab C-18 sample code out there for a four wheel drive system which uses 4 wheels (each with their own seperate motor)?

Thanks in advance

Alan Anderson 16-10-2007 14:56

Re: four wheel drive
 
Unless you need to control the front and rear motor speed separately on each side, there's no difference in either programming or wiring between what you're doing and a standard tank drive system with two motors in tandem on each side.

If you do want individual control of each motor...why? And how do you plan to give the driver that control?

Billfred 16-10-2007 15:09

Re: four wheel drive
 
Quote:

Originally Posted by Alan Anderson (Post 646322)
If you do want individual control of each motor...why? And how do you plan to give the driver that control?

The only theory I can think of is that a team would want to attempt a mecanum drive with the ability to switch quickly to a traditional skid-steer arrangement for strategy reasons. The answer to your other question is a little hard for me to compute on the amount of sleep I had last night.

joeweber 16-10-2007 21:58

Re: four wheel drive
 
I am not good at programing but if you use a "y" cable you can use four PWM's from two out puts, Also their is not much Programing to add two out puts to your joystick control. Look over the the program and every thing is labled and you should be able copy and past what you need. Look at the manual for the out put labels for the inputs and outputs, If I can figure it out anybody can. Start at this web site http://www.ifirobotics.com/white-papers.shtml


All times are GMT -5. The time now is 16:57.

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