How do I add a servo to the Flowbotics 2WD program? I have a scoop attached to front but with no way to control its respective servo.
How can I add the other servo?
If you want to add a servo to the 2WD project, you will to add a new input to the Array primitive found inside the “LM SC-32 + Comport” module which does all serial communication for the SSC-32 board. This module can be found if you got into edit mode, open the main “Rover” module, and open the main module in it. To the right of the pattern sequencer, you will see the “LM SC-32 + Comport” module. Inside it, the Array primitive is what combines the servo PWM values to feed into the core “LM SC-32 Engine” module.
We’ve attached a modified version of the 2WD project with these changes already done. We in fact made this third servo signal an input for the “LM SC-32 + Comport” module so that we can add a Slider and Label in the parent module so that we can make it part of its Front Panel so it will be available when the project is running in Focus mode.
Note however that we have not hooked this additional servo into the pattern sequencer. Doing so would require much more work because you would need to edit the robot’s definition class and add extra servo links in many other places. If you want to the third servo to be part of your pattern sequences, we would recommend to instead use the SSC-32 Servo Sequencer Project.
2WD_Rover_with_Spare_Servo.fsp (891 KB)