From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

FIRST Tech Challenge Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

HELP. We are a first year FTC team and we are using LabView. Our robot has two servo motors and we cannot get them to work independently of each other.

We have our servo motor controller daisy chained to one of our DC Motor Controllers.

We have two servo motors on our robot and both of them are defined independently on our Schematic editor.   We have assigned separate buttons to each servo motor BUT when we press button 6, both servo motors move.

What are we missing?

0 Kudos
Message 1 of 2
(3,190 Views)

Chances are you are doing everything right...

You will see this behavior most often in the Schematic Editor. Here is a thread that may interest you that talks about what we refer to as 'servo bleed over'. https://decibel.ni.com/content/message/64512#64512

It is a bit of a bother when using the Schematic Editor to resolve servo postions (unplug ones you don't want moving if it is a critical issue).

Are you seeing the same behavior when you are in the middle of your driver controlled (teleop) operation, or just at the very beginning?

Is this a critical issue for your autonomy? If so, then make sure to initialize all the servos (we put the Move Servo call in a while loop that runs exaclty ONE time as soon as the program begins - this is allowed.) [how to do this is addressed in the thread linked to above]

You should find that even without a lot of effort the actual operation of servos during teleop and autonomy will resolve itself after that initial twitch.

0 Kudos
Message 2 of 2
(2,718 Views)