Required adjustments to the CarControl myBlock Pro Preview

We want you to know how things work, so that you should make some adjustments to the block.

To access the full video please subscribe to FLLCasts.com

Subscribe

  • #985
  • 01 Nov 2018

How that block works

Open the myBlock in the software and follow the text below. A picture is intentionally omitted here.

At the beginning of the block, there is control of the steering of the steering motor.

After a pause of 0.1 seconds, there is a complex calculation of the path that the inner and the outer driving motors must travel during the turn.

At the end, depending on whether an unlimited movement is required, there is a switch and two green motor blocks for the driving motors.

What needs to be adjusted

Our robot must read and control the steering motor at the beginning of the block. Both the yellow rotation sensor block and the green motor block must be set to one and the same port.

In the second math block, with the complex formula "(17*tg(90-a)-15.......", there is a missing data wire. The yellow data wire from the degrees input parameter must be connected to the port "a" of the math block. Just like in the math block before that one.

The ports of the driving motors must match the ports of the driving motors for your robot.

One or two motors

That myBlock is created to control two driving motors for a steering robot. If it so happens that you control only one motor, you should change the green move blocks in the switch at the end.