|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools |
Rating:
|
Display Modes |
|
#1
|
|||
|
|||
|
Extender trouble
Hello, i have made code to program a button to and extender, can any of you help me
|
|
#2
|
|||||
|
|||||
|
Re: Extender trouble
The SubVI inside the while loop will be called repeatedly with whatever values the buttons had when the loop began. The loop will never end, so it will never provide a value to the Arcade Drive function. Whatever vi this code is in will hang. If it's in Teleop, your robot will be disabled almost immediately by the communication watchdog.
Tell us what you intend it to do and we can probably tell you a good way to make it happen. |
|
#3
|
|||
|
|||
|
Extender trouble
I wanted a motor to push a metal bar out of the robot to block other robots
|
|
#4
|
|||||
|
|||||
|
Re: Extender trouble
Quote:
There ya go, an incredibly simple mechanism to code and set up. -Danny |
|
#5
|
|||||
|
|||||
|
Re: Extender trouble
Quote:
The answers to these questions might point to a solution you aren't thinking of: use a pneumatic cylinder instead of a motor. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|