diff --git a/docs/fll.md b/docs/fll.md index e8cc5e04..58658e50 100644 --- a/docs/fll.md +++ b/docs/fll.md @@ -2,7 +2,7 @@ ![FIRST LEGO League logo](/static/fll/fll-logo.png) -For teams participating in the Open Software Platform Pilot utilizing MakeCode, we’ve compiled a list of resources and information that we hope will be helpful for you. +**For teams participating in the Open Software Platform Pilot utilizing MakeCode**, we’ve compiled a list of resources and information that we hope will be helpful for you. * **Got a question? Post it on the forums** at https://forum.makecode.com/ diff --git a/docs/getting-started.md b/docs/getting-started.md index a7bae651..de72e633 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -25,6 +25,12 @@ "description": "Build a robot and drive into the world of robotics!", "url": "/getting-started/use", "cardType": "side" +}, +{ + "name": "First LEGO League", + "imageUrl": "/static/fll/fll-big.png", + "description": "Information about using MakeCode in FLL competitions", + "url": "/fll" } ] ``` \ No newline at end of file diff --git a/docs/static/fll/fll-big.png b/docs/static/fll/fll-big.png new file mode 100644 index 00000000..771ad198 Binary files /dev/null and b/docs/static/fll/fll-big.png differ diff --git a/docs/static/tutorials/pivot-turn.png b/docs/static/tutorials/pivot-turn.png new file mode 100644 index 00000000..91b474a2 Binary files /dev/null and b/docs/static/tutorials/pivot-turn.png differ diff --git a/docs/static/tutorials/smooth-turn.png b/docs/static/tutorials/smooth-turn.png new file mode 100644 index 00000000..8ea3c750 Binary files /dev/null and b/docs/static/tutorials/smooth-turn.png differ diff --git a/docs/static/tutorials/spin-turn.png b/docs/static/tutorials/spin-turn.png new file mode 100644 index 00000000..330476c7 Binary files /dev/null and b/docs/static/tutorials/spin-turn.png differ diff --git a/docs/tutorials/motors.md b/docs/tutorials/motors.md index 7607bb95..4b382eb5 100644 --- a/docs/tutorials/motors.md +++ b/docs/tutorials/motors.md @@ -9,6 +9,24 @@ "cardType": "tutorial", "url":"/tutorials/run-motors", "imageUrl":"/static/tutorials/run-motors.png" +}, { + "name": "Spin Turn", + "description": "Turn the driving base around its center.", + "cardType": "example", + "url":"/tutorials/spin-turn", + "imageUrl":"/static/tutorials/spin-turn.png" +}, { + "name": "Pivot Turn", + "description": "Turn the driving base around a wheel.", + "cardType": "example", + "url":"/tutorials/pivot-turn", + "imageUrl":"/static/tutorials/pivot-turn.png" +}, { + "name": "Smooth Turn", + "description": "Turn the driving base in a smooth motion.", + "cardType": "example", + "url":"/tutorials/smooth-turn", + "imageUrl":"/static/tutorials/smooth-turn.png" }, { "name": "Tank ZigZag", "description": "Use the tank block to keep motors in sync.", @@ -21,3 +39,7 @@ ## See Also [Run Motors](/tutorials/run-motors), +[Spin Turn](/tutorials/spin-turn), +[Pivot Turn](/tutorials/pivot-turn), +[Smooth Turn](/tutorials/smooth-turn), +[Tank ZigZag](/tutorials/tank-zigzag), diff --git a/docs/tutorials/pivot-turn.md b/docs/tutorials/pivot-turn.md new file mode 100644 index 00000000..f54018cf --- /dev/null +++ b/docs/tutorials/pivot-turn.md @@ -0,0 +1,12 @@ +# Pivot Turn + +A **pivot turn** happens when a [EV3 Driving Base](https://le-www-live-s.legocdn.com/sc/media/lessons/mindstorms-ev3/building-instructions/ev3-rem-driving-base-79bebfc16bd491186ea9c9069842155e.pdf) turns around a wheel by spinning a single wheel. + +You can achieve turn with a ``tank`` or a ``steer`` block. + +```blocks +forever(function() { + motors.largeBC.tank(50, 0, 2, MoveUnit.Rotations) + motors.largeBC.tank(0, 50, 2, MoveUnit.Rotations) +}) +``` \ No newline at end of file diff --git a/docs/tutorials/smooth-turn.md b/docs/tutorials/smooth-turn.md new file mode 100644 index 00000000..71805ac8 --- /dev/null +++ b/docs/tutorials/smooth-turn.md @@ -0,0 +1,12 @@ +# Smooth Turn + +A **smooth turn** happens when a [EV3 Driving Base](https://le-www-live-s.legocdn.com/sc/media/lessons/mindstorms-ev3/building-instructions/ev3-rem-driving-base-79bebfc16bd491186ea9c9069842155e.pdf) turns around both wheels at a different speed. + +You can achieve turn with a ``tank`` or a ``steer`` block. + +```blocks +forever(function() { + motors.largeBC.tank(50, 20, 2, MoveUnit.Rotations) + motors.largeBC.tank(20, 50, 2, MoveUnit.Rotations) +}) +``` \ No newline at end of file diff --git a/docs/tutorials/spin-turn.md b/docs/tutorials/spin-turn.md new file mode 100644 index 00000000..78b81de6 --- /dev/null +++ b/docs/tutorials/spin-turn.md @@ -0,0 +1,12 @@ +# Spin Turn + +A **spin turn** happens when a [EV3 Driving Base](https://le-www-live-s.legocdn.com/sc/media/lessons/mindstorms-ev3/building-instructions/ev3-rem-driving-base-79bebfc16bd491186ea9c9069842155e.pdf) turns on the spot, by spinning both wheels in opposite directions. + +You can achieve turn with a ``tank`` or a ``steer`` block. + +```blocks +forever(function() { + motors.largeBC.tank(50, -50, 2, MoveUnit.Rotations) + motors.largeBC.tank(-50, 50, 2, MoveUnit.Rotations) +}) +``` \ No newline at end of file diff --git a/pxtarget.json b/pxtarget.json index 397c8f5c..c91f2ca7 100644 --- a/pxtarget.json +++ b/pxtarget.json @@ -113,7 +113,7 @@ "docMenu": [ { "name": "Support", - "path": "https://www.lego.com/service/" + "path": "https://forum.makecode.com/" }, { "name": "Troubleshoot",