Lesson Challenges

Reading can get pretty boring. If you like to just jump right in and learn by doing, we provide a series of learning games that will both let you learn and apply what you’re learning.

Start here: https://www.vrobotsim.online/homepage.html

Lesson/

Challenges

Goal

Show the task

Hint-

Code

Video Solution

#1

Learn the system, learn the sleep function

drive forward raise the flag

https://youtu.be/ES_7JnHNwG4

code #1-Drive to white line-raise the flag

https://docs.google.com/document/d/1n0Av37i0I5aNHqHwzTVPWy05ooRdkWAqIacDv8cupBI/edit?usp=sharing

Raise the flag

https://youtu.be/ES_7JnHNwG4

#2

Learn to use a color sensor

Task-Drive--motors-4

https://youtu.be/yceC09BMVcc

#2 Hint Color Sensor

https://youtu.be/Z68KBfAB7bQ

Start with code lesson #1 Narrated Using the regular field

https://youtu.be/_GP9szrK2X0

https://docs.google.com/document/d/1TPL3rnK6clfWplD8pDb-VASaGRaUTcode color sensor Blocks and or Javavkbp9BKAL3r02M/edit?usp=sharing

#2 Solution Color Sensor

https://youtu.be/5F0zqOYe7xw

Challenges

Goal

Show the task

Hint-

Code

Video Solutions

#3 shoot at minitubes or power shots and Strafe the robot

Shoot at the powershots next to the goal.

Strafe the robot

#3 Hint-Strafe Shoot

https://youtu.be/zjUAisjjJuU

Aim and shot the rings at high target

Then reload rings

SHoot at Minitubes

https://docs.google.com/document/d/1XF7AJ0xwl4mpEiLGTlIoNutLrsvt0kKfUKtmswOuH-Q/edit?usp=sharing

Strafe code

https://docs.google.com/document/d/12xHDOdgQ36BbnobDukudzfi9_MVOXttFfEZ70SzSesU/edit?usp=sharing

shoot then reload

https://docs.google.com/document/d/1D2UKZTcALTk0XBR81-zWCE01DREKJ55A2X1b-6qTihA/edit?usp=sharing

#3 Mini tubes Shoot Stzafe

https://youtu.be/lYQP0wRA9ms

#4 Another shooting action into a tower

Learn to strafe the robot, aka move the robot sideways

#4 Hint Shoot rings and reload

https://youtu.be/-hI0gvflMGw

Hint Shoot rings at the tower Shoot the first set of rings and then back up to the column of the stack of 4 and then back up- slowly. turn on the ring collector. Note reset game until you get 4 rings

https://youtu.be/fSr3tP4A1pQ

Code Shoot rings at the tower

https://docs.google.com/document/d/1dA124u2rv7Wd4mwDKWak-nYfMnGXxNW4S31k6yItLhM/edit?usp=sharing

Advance code Rings shoot reload

https://docs.google.com/document/d/1r5PRVz0j_rq8TfD-cdCHzM8opkKBfGOE7w7NnWUZbCI/edit?usp=sharing

Solution Shoot rings at the tower and reload

https://youtu.be/R87_qSiAzZ0

or Shoot Rings into Tower

https://www.youtube.com/watch?v=fSr3tP4A1pQ

Strafe-learn to

https://youtu.be/IbOVVdeQHiw

Challenge

Goal

Show the Task

Video hint

Sample Code

Video SOLUTION

#5

Get robot in right position, add in new motor types

Adv: learn to use encoders and variables

#5 turn left

https://youtu.be/S5aVUGr0EAg

#5 Turn left Hint

https://youtu.be/7XgBQKtzQHM

Reuse your code to drive forward. stop turn leftDrive forward- Drive forward Or learn how to strafe to go forward to raise a flag

turn left-multiple options

https://docs.google.com/document/d/1Qo1t1_3PlUutEeoomkaQLmKv40r328GCcxalC3FnVSE/edit?usp=sharing

#5 Challenge Turn Left

https://youtu.be/Ls3bQeMIq3Y

#6

try the robot forward make two lefts learn the strafe

#6 Challenge Video SOlution

https://youtu.be/_PTRBHThGnE

You can also reuse your code here- Drive forward, And make two left turns

2 left turns block code

https://docs.google.com/document/d/1HzBEcGafP9TMNZ55SENIunAHAxOXrljd3YY93B_c-Tc/edit?usp=sharing

2 left turns Java Code

https://docs.google.com/document/d/19wo71Thlbb4zgC2ziSFdZefqMGMet4ad5bSYqJsN1yI/edit?usp=sharing

#6 video solution-2 lefts

https://youtu.be/kemnSnND0es

Advance

Create a function or a variable

Learn to use a variable(S) to write efficient code

VRS how to make a Functions-video https://www.youtube.com/watch?v=szypL4j4yhQ

How to create the Variable Speed sample code https://bit.ly/40bx9M9 Or https://youtu.be/jdzaFx9EXK8 or distance sensor ws https://bit.ly/40k0zb4

#6-Create a function or a variable

Advance action

drive-turn-strafe using encoders

Learn to use encoders and then turn or strafe

https://youtu.be/7XgBQKtzQHM

Watch this short video on setting up encoders How to set up encoders https://www.youtube.com/watch?v=-3BCHVe1fbs see also Fun with encoders https://bit.ly/Fun-encoders

#5 Code With or w/o encoders https://tinyurl.com/yob9vlzn

Drive and rotate 90 degree

Learn to turn the robot

#3 Drive and rotate 90 degree

https://youtu.be/q1MO994Kd80

Use your 4 motor code, add another quad- turn right motor power to 0

#3 Hint Drive and rotate 90 degree

https://youtu.be/uvYWwO_V590

#3 Code Drive and rotate 90 degree

https://docs.google.com/document/d/1CMYAkFn2_n9VtqITHrfAWOwFYxvZNDVaWGz3fHo9Zzc/edit?usp=sharing

Last updated