![]() |
Constant Button Value
Hello programmers, Team 4296 here, I have a quick question (I think). I am programming some ball shifters on a robot and would like to wire them to a button on my controller, the problem is, when you press the button the value is true, and when you release it the value is false. This results in the ball shifter to go from low gear to high then back all very quickly rather than shifting from one to the other. I currently have it programmed to a switch in the Labview dashboard to save the value, but this is not the solution I would like. How would I go about storing the "true" or "false" value from one button press on a controller? Thanks in advance.
|
Re: Constant Button Value
Here is one example:
![]() |
Re: Constant Button Value
Thanks so much, we are testing now and I will definitely try this
|
Re: Constant Button Value
Do you really want to use a single button to toggle between high and low gear? It might be easier on the driver to give him or her two buttons, one to select high gear and the other to select low gear. That way there will never be any confusion over which gear the robot is being commanded to use.
|
Re: Constant Button Value
Quote:
|
| All times are GMT -5. The time now is 08:57. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi