Minecart PlusΒΆ

In this project, derailment recovery has been added to the Minecart project to let the PiCar-X adapt and recover from a more severe curve.

../_images/minec.png

TIPS

../_images/sp210512_171727.png

Use another to do something block to allow the PiCar-X to back up and recover from a sharp curve. Note that the new to do something function does not return any values, but is used just for reorienting the PiCar-X.

EXAMPLE

Note

  • You can write the program according to the following picture, please refer to the tutorial: How to Create a New Project?.

  • Or find the code with the same name on the Examples page of the EzBlock Studio and click Run or Edit directly.

../_images/sp210512_171914.png ../_images/sp210512_171932.png ../_images/sp210512_171425.png ../_images/sp210512_171454.png