![]() |
Having Problems With Even The Simplest of Auxiliary Control
1 Attachment(s)
So I've been trying to figure out what is wrong with my state machine because it won't do anything that I've programmed it to do so I tried to take everything that I have done and try to simplify it as much as possible so that I can then start building on it and hopefully have a functional state machine for the auxiliary control. However with what I have in the image it still will not run and of the functions that I have it trying to do with it. I'm contemplating if it's in the wrong VI for this kind of thing since I have it in Teleop, but am I doing anything inherently wrong because this has finally stumped me.
|
Re: Having Problems With Even The Simplest of Auxiliary Control
You are definitely doing something that is "inherently wrong" with your motors. I see you controlling the same motors in many different places, and some of them are contradictory. I think you need to rethink what you want the motors to do, come up with an exact description, and figure out a way to get each motor to do it with only one Motor Set apiece.
|
Re: Having Problems With Even The Simplest of Auxiliary Control
Don't know what's in the opposite Case statements, but a basic logic issue is that you are setting the same motor/solenoid in separate places to different values.
A motor/solenoid should only be set in a single place. Use the Cases to determine/negotiate what value it should get. Example given, or ![]() |
Re: Having Problems With Even The Simplest of Auxiliary Control
Quote:
|
Re: Having Problems With Even The Simplest of Auxiliary Control
Good.
The limit switch implementation would have turned off all motor power, instead of only in one direction. |
| All times are GMT -5. The time now is 10:26. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi