These blocks are ONLY available for the Propeller Activity Board WX board type.
This block launches a processor automatically. Use only on instance of this block per project.
The Robot initialize block is used to set up the robot to drive. If you forget to use this block at the beginning of your navigation programs, a triangle warning will appear on Robot drive... blocks as a reminder.
Choose a robot option from the drop-down:
**See top of the page for Propeller board specifics.
The Robot set acceleration block is used to set how quickly the motors change their speeds.
With the ActivityBot, when using Robot drive speed the default acceleration is 600 ticks/s2 unless changed with this block. Likewise, with the ActivityBot using Robot drive distance the default acceleration is 400 ticks/s2 unless changed with this block.
The Robot drive speed block sends control pulses to the robot's servos that tells the servos what speed in which direction to drive. Negative speeds drive the wheels backward, and positive speeds drive the wheels forward. Turns can be accomplished by setting the wheels at different speeds. A speed of 0 (zero) stops the wheel*.
Robot drive speed and Robot drive distance don't mix! Use a Robot drive stop block in between them first, if you if you want your ActivityBot to switch from using one type of navigation to the other.
*If your Parallax CR Servo rotates slowly or buzzes when set to zero, you may need to center it. Very gently, insert a Philips tip screwdriver into the access hole in the servo's case and slightly twist the potentiometer until the servo holds still.
The Robot drive distance block makes the wheels of a robot drive a specific distance. This block only works with robots that have encoders: ActivityBot and Arlo. It does not work with Servo Differential Drive.
For the ActivityBot Robot:
Robot drive speed and Robot drive distance don't mix! Use a Robot drive stop block in between them first, if you if you want your ActivityBot to switch from using one type of navigation to the other.
The Robot set maximum speed block affects the drive speeds of two types of blocks, depending on the drop-down selection.
The Robot drive stop block makes both right and left wheels stop turning.
The Robot encoder counts block stores the current encoder count values in ticks, in the specified variables.
Choose the supported robot from the drop-down menu:
This block must be run as its own program with no other blocks.
The ActivityBot calibrate block is ONLY for use with the ActivityBot robot (#32500), the ActivityBot 360° robot (#32600) [3], and the Parallaxy Telepresence Robot (#32800) [6]
The ActivityBot display calibration block displays information about the calibration values stored in the Activity Board's onboard EEPROM. This block must be run as its own program, and it will display information to the terminal window when run.
Currently, the Load firmware block is ONLY for use with the Parallaxy Telepresence Robot (#32800) [6] . The code MUST be loaded to EEPROM. The block loads the Parallaxy firmware for interacting with a Raspberry Pi, which itself is programmed to work with LetsRobot.TV. For more information on Parallaxy software setup, see its letsrobot.readme.io pages here [8].
Links
[1] http://learn.parallax.com/tutorials/robot/activitybot/blocklyprop-robotics-activitybot
[2] http://learn.parallax.com/support/reference/scribbler-3-robot-block-reference
[3] http://www.parallax.com/product/32600
[4] http://www.parallax.com/product/32500
[5] http://www.parallax.com/product/28966
[6] http://www.parallax.com/product/32800
[7] https://letsrobot.readme.io/docs/build-parallaxy
[8] https://letsrobot.readme.io/docs/parallaxy-software