|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
RobotBuilder toggle option?
So I'm using RobotBuilder to generate code for a test robot and I want to toggle a command on and off with a joystick button. There is a method in the command-based code to do this (button->ToggleWhenPressed()) but no option in RobotBuilder. (See attached screenshot.)
Any idea why this is? Is there a way to enable this somehow? |
|
#2
|
|||
|
|||
|
Re: RobotBuilder toggle option?
I believe you can simply select "When Pressed" and build the toggle into the command.
|
|
#3
|
|||
|
|||
|
Re: RobotBuilder toggle option?
Quote:
|
|
#4
|
||||
|
||||
|
Re: RobotBuilder toggle option?
If you could work that into RobotBuilder I would be incredibly happy. In the meantime, that's exactly what I've done - moved it outside the comments and modified it. Thanks for your help!
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|