![]() |
C++ motor assignments
1 Attachment(s)
I am new to c++ and I'm trying to figure out how to use two different types of motor controllers on a 4 wheel base. I know how to do it in LabVIEW and am curious if i can do it in C++. Thanks for the help!!
Below is what I'm talking about in LabVIEW so hopefully its easier to understand what I'm asking. |
Re: C++ motor assignments
You definitely can, but posting code of why you can't do it it always helpful. From an electrical perspective, this is a TERRIBLE idea. I can't tell what configuration you have them in here, but it's most likely one of two situations:
If you are REALLY content on this, it's fairly simple. Just declare your various types of motor controllers, then put those four (or two) motor controllers into the RobotDrive constructor class. See more here: https://wpilib.screenstepslive.com/s...botdrive-class |
Re: C++ motor assignments
Quote:
|
Re: C++ motor assignments
Quote:
|
Re: C++ motor assignments
Quote:
(Yes I said drop 6 and we are only using one cim for each gear box on those. I understand they will drift and I planed to use that to my advantage because it would throw in a curveball that the new programmers would have to figure out how to get around in the fastest and easiest time possible. A good prep. for build season :) :D :p ) |
| All times are GMT -5. The time now is 09:58. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi