Page 59 - Clawbot with Controller
P. 59

The velocity can be set to either percent or rpm:















                     The spin block—spins a motor until stopped. The motor would be stopped by stopping
                     the program.








                     The position of controller block—reports the position of the Joystick on the
                     controller along an axis. The Joystick begins at 0 when centered on the axis.







                     o  This block will enable the Controller to determine a motor’s velocity. To do so, drag this
                        block from the Toolbox over the velocity in the set motor velocity block; this will
                        replace the default velocity with the Controller position of your choosing.

                  To find out more information about any of these blocks, open Help, and select the block(s)
                  about which you have questions.

                  The Builder in each group should get the hardware required. The Recorder should get the
                  group’s engineering notebook. The Programmer should open VEXcode IQ Blocks.



                  Hardware/Software Required:


                              Quantity                                Hardware/Other Items

                                  1                                          Clawbot


                                  1                               Charged VEX IQ Robot Battery


                                  1                                       VEX IQ Radio
   54   55   56   57   58   59   60   61   62   63   64