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
code #1-Drive to white line-raise the flag
https://docs.google.com/document/d/1n0Av37i0I5aNHqHwzTVPWy05ooRdkWAqIacDv8cupBI/edit?usp=sharing
#2
Learn to use a color sensor
https://youtu.be/Z68KBfAB7bQ
Start with code lesson #1 Narrated Using the regular field
https://docs.google.com/document/d/1TPL3rnK6clfWplD8pDb-VASaGRaUTcode color sensor Blocks and or Javavkbp9BKAL3r02M/edit?usp=sharing
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
https://youtu.be/zjUAisjjJuU
Aim and shot the rings at high target
Then reload rings
https://docs.google.com/document/d/1XF7AJ0xwl4mpEiLGTlIoNutLrsvt0kKfUKtmswOuH-Q/edit?usp=sharing
https://docs.google.com/document/d/12xHDOdgQ36BbnobDukudzfi9_MVOXttFfEZ70SzSesU/edit?usp=sharing
https://docs.google.com/document/d/1D2UKZTcALTk0XBR81-zWCE01DREKJ55A2X1b-6qTihA/edit?usp=sharing
#4 Another shooting action into a tower
Learn to strafe the robot, aka move the robot sideways
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
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
https://www.youtube.com/watch?v=fSr3tP4A1pQ
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
https://youtu.be/S5aVUGr0EAg
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
https://docs.google.com/document/d/1Qo1t1_3PlUutEeoomkaQLmKv40r328GCcxalC3FnVSE/edit?usp=sharing
#6
try the robot forward make two lefts learn the strafe
You can also reuse your code here- Drive forward, And make two left turns
https://docs.google.com/document/d/1HzBEcGafP9TMNZ55SENIunAHAxOXrljd3YY93B_c-Tc/edit?usp=sharing
https://docs.google.com/document/d/19wo71Thlbb4zgC2ziSFdZefqMGMet4ad5bSYqJsN1yI/edit?usp=sharing
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
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