Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 118 - 2629_Devagiri_C-8
P. 118

    Block                                          Description
                       turn to rotation block                            Rotates the robot to a specific rotation value
                                                                         based on internal tracking.
                         turn to rotation  90  degrees

                       stop driving block                                Immediately stops all drivetrain movement.

                        stop driving

                                                              Drivetrain -- Settings

                       set drive velocity to block                       Sets  the speed  (percent) for  forward  and
                                                                         reverse driving.
                        set drive velocity to 50  %

                       set turn velocity to block                        Sets rotational speed (percent) for turn actions.

                        set turn velocity to  50  %

                       set drive heading to degrees block                Manually sets the robot’s directional orientation
                                                                         in degrees.
                        set drive heading to  0  degrees

                       set drive rotation to degrees block               Manually sets the robot’s rotational  position
                                                                         in degrees.
                        set drive rotation to  0  degrees

                       set drive timeout to seconds block                Defines a time limit for drive/turn commands
                                                                         (drive_for,  turn_for,  etc.) to  avoid  getting
                        set drive timeout to  1  seconds
                                                                         stuck forever.

                                                              Drivetrain -- Values

                       drive is done?                                    This block  returns True if the  drivetrain  has
                                                                         finished  its  current  motion  otherwise  returns
                         drive is done?
                                                                         False.
                       drive is moving?                                  This block returns True when the drivetrain is

                                                                         currently in motion otherwise returns False.
                         drive is moving?
                       drive heading in degrees                          This block  shows the  drivetrain’s  current
                                                                         absolute heading (0–359.99°).
                        drive heading in degrees

                       drive rotation in degrees                         This block  shows  the  total rotation  since  the
                                                                         program started.
                        drive rotation in degrees

                       116
                            Premium Edition-VIII

| 113 114 115 116 117 118 119 120 121 122 123 |