What is the command to slave motors together? We have four motors that need to move the same. I know robotc had a command for this, so I’m hoping that Vexcode does, too. Thanks!
1 Like
You can make a motor group. Here is a great explanation from JPearman.
There have been quite a few requests for instructions on how to use motor groups and creating a drivetrain with more than 2 motors in VEXcode. I’m going to discuss these classes a little and provide a simple example.
What is a motor group ?
A motor group collects two or more motors together and allows control as if they were a single entity. Just about all motor class member functions (by that I mean spin, spinTo, setVelocity etc.) are available on the motor group class. We introduced motor…
3 Likes
Four motors? What subsystem this year may need four motors moving together?
Motor groups should work:
There have been quite a few requests for instructions on how to use motor groups and creating a drivetrain with more than 2 motors in VEXcode. I’m going to discuss these classes a little and provide a simple example.
What is a motor group ?
A motor group collects two or more motors together and allows control as if they were a single entity. Just about all motor class member functions (by that I mean spin, spinTo, setVelocity etc.) are available on the motor group class. We introduced motor…
Clearly @trontech569 is a faster at typing than me
2 Likes
Thanks. It’s a lift. The team managed to devote 4 motors to it.
1 Like