|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: LabVIEW POV Help?
Ok, we figured out my problem and got the code to work, although it goes back to the starting position when we let go of the hat switch, any ideas on how to make it stay in the same spot? thanks
|
|
#2
|
|||
|
|||
|
Re: LabVIEW POV Help?
Quote:
Presumably you set some value to the servo when the hat switch is depressed. i would look in the code for any other place where that servo is set and see how your code can reach that location (presumably by way of teleop.vi) |
|
#3
|
|||||
|
|||||
|
Re: LabVIEW POV Help?
Quote:
Just how you do that depends on what your code looks like. |
|
#4
|
||||
|
||||
|
Re: LabVIEW POV Help?
Another option is to put the servo.set command in a conditional statement and then only set it if the POV value is not -1. Then when the POV value is -1 the servo won't get set to a new value and it will keep its last value.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|