{"id":2257,"date":"2013-08-21T16:00:08","date_gmt":"2013-08-21T06:00:08","guid":{"rendered":"http:\/\/legoeng.local\/?p=2257"},"modified":"2022-07-18T16:15:40","modified_gmt":"2022-07-18T06:15:40","slug":"robolab-quick-guide","status":"publish","type":"post","link":"http:\/\/legoeng.local\/robolab-quick-guide\/","title":{"rendered":"ROBOLAB quick guide"},"content":{"rendered":"

Here is a selection code examples and some simple challenges for the various modes of ROBOLAB, i.e. Pilot, Inventor, and Investigator.<\/p>\n

In each case, the idea is to copy the sample code and then see if you can work out how to modify it as suggested.<\/p>\n

Pilot 1<\/strong><\/h2>\n

\"pilot1\"<\/a><\/p>\n

Requirements: A robot car with two motors. Attach both motors to Port A.<\/p>\n

    \n
  1. Write a program exactly like the one above.<\/li>\n
  2. Change the amount of time that your car travels.<\/li>\n
  3. Change the direction in which Motor A moves.<\/li>\n<\/ol>\n

    Pilot 2<\/strong><\/h2>\n

    \"pilot2\"<\/a><\/p>\n

    Requirements: A robot car with two motors. Attach both motors to Port A.<\/p>\n

      \n
    1. Write a program exactly like the one above.<\/li>\n
    2. Program Motor A to its highest power and make your car drive for 4.5 seconds.<\/li>\n
    3. Change one motor to Port C and program the car to drive forward for 4 seconds.<\/li>\n<\/ol>\n

      Extra challenge<\/strong><\/p>\n