Skip to content

Instantly share code, notes, and snippets.

View andatoshiki's full-sized avatar
🥪
=🍞+🔪(🥩)+🔪(🧀)+🔪(🥒)+🔪(🍅)+✋(🥬)+🍞;

Anda Toshiki andatoshiki

🥪
=🍞+🔪(🥩)+🔪(🧀)+🔪(🥒)+🔪(🍅)+✋(🥬)+🍞;
View GitHub Profile
@andatoshiki
andatoshiki / auto.m
Last active April 22, 2025 14:02
FSE100: Lego EV3 Car with Claw Pick-up/Autonomous Directional Handling Project
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Title : FSE100 Project – SPYN Disability Pick-up Car
% Version : v1.1.4
% File Name : auto.m
%
% Description :
% Autonomous assistive vehicle developed for object pick-up support.
% It navigates using forward motion, detects colored tiles (red for stop,
% blue/green for manual override), and uses touch and ultrasonic sensors
% to detect and avoid obstacles.

Required Skills Inventory

  • Import features from the Java Standard Library
  • Declare and instantiate a Scanner
  • Get input from the user using a Scanner
  • Use a while loop to get the computer to repeat instructions
  • Use a for loop to get the computer to repeat instructions
  • Use a switch/case structure to get the computer to make a decision
  • Use nested loops and decisions to control the flow of a program
  • Accumulate a total in a variable