Technical Writing for Robotic Coding!.  du/products/teaching_robotc_cort ex/fundamentals/introtoprogramm ing/thinking/videos/fundamentals.

Slides:



Advertisements
Similar presentations
Unit 4 - I Said Stop!. Introduction New Topics Timing Parallelism Sequence of Operations New Features NXT terminals New Functions Wait For.
Advertisements

EducateNXT The Corridor Challenge The Corridor Challenge requires programming of a robot to negotiate obstacles and the corridor walls in order to reach.
ROBOTC for CORTEX While Loops Part 1
Automation and Robotics
VEX and Robot C Chris Patterson Presented by Modified by J. Andazola.
Photos and Sensor Instructions
Robot Programming. Programming Behaviors Behaviors describe the actions and decisions of your robot.
EIGHTH GRADE ROBOTICS KITTATINNY REGIONAL HIGH SCHOOL MR. SHEA Introduction to Programming
From the NXT top menu Connect desired hardware as indicated Enter a command in the box indicated from the menu provided Repeat for all 5 boxes.
LEGO Mindstorms NXT Programming We will be using the Common Palette for our Robots This is how you download your program onto the brick Drag and drop a.
Testbed: Exercises.
Program ultrasonic range sensor in autonomous mode
Getting Started! Lego Mindstorms Program NXT 2.0.
Available at: Lesson 3.6 – Program Line Follower in Autonomous Mode Program Line Follower in Autonomous Mode.
Wait Program! WAIT please!. 1. Why is it often better to use conditional commands rather than program a robot to move exact distances? 2. What is the.
Programming a light sensor to follow a black line.
Programming Design ROBOTC Software Principles of Engineering
Available at: Lesson 3.5 – Program Light Sensor in Autonomous Mode Program Light Sensor in Autonomous Mode.
Human Vision Robot (Light Sensor) Vision White/Light: 100 Black/Dark: 0 Colors:
Wall Encounter By Made easy by Dwayne Abuel.
AUTOMATION WITH ROBOTC Starting to write and troubleshoot computer code.
Patina Becenti Mentor – Mansel Nelson. Introduction  The idea is to educate young students to explore the world of science and engineering.  Implement.
Lego MindStorm An Introduction to Blocks. Blocks Blocks are used to give instructions to your robot. There are many types of blocks You can use the blocks.
Castor Bot. Now, we will begin creating a robot Log onto your computer On your screen, click on the website labeled “castor bot” Your building instructions.
Photos and Sensor Instructions
NXT Drag Racer Deanna Margo, Darrah Margo, Melissa Kinsman.
Robot Programming. Programming Behaviors Behaviors describe the actions and decisions of your robot.
Program Flow LabVIEW Robotics Fundamentals. Unintuition You know what this program does… So what does this one do? Inserted code.
Vex Robotics Program four: reversing and turning.
The George Washington University Department of ECE ECE Intro: Electrical & Computer Engineering Dr. S. Ahmadi Class 4/Lab3.
ECE 002 Robots and Sensors Group 14. Objectives Research sensors and their usefulness to analyze data Research sensors and their usefulness to analyze.
By Droids Robotics INTERMEDIATE PROGRAMMING LESSON BRICK BUTTONS AS SENSORS.
VEX and Robot C Chris Patterson Frisco ISD CTE Center Presented by.
Automation and Robotics.  First you select the platform type so that you can use Natural Language PLTW.
Casne.ncl.ac.uk Taking care of the CrumbleBot Please do NOT stress the robot's motors 1.Do NOT push the robot 2.Do NOT hold the.
MEH108 - Intro. To Engineering Applications KOU Electronics and Communications Engineering.
Testbed Coding In this activity you will code different challenges for the Testbed. For each challenge a sample program is shown. Use what this sample.
LESSON 05 Using the Touch LED The Touch LED The purpose of this lesson is to introduce students to the Touch LED Sensor and how they can be used on a.
Forward Until Near Stop when near a wall.
Testbed Coding In this activity you will code different challenges for the Testbed. For each challenge a sample program is shown. Use what this sample.
Programming Design ROBOTC Software. Behavior-Based Programming A behavior is anything your robot does –Turning on a single motor or servo Three main types.
Basic Programming: Until Commands. The Problem with Wait States Motor Speed is affected by battery power. –If the battery is fully charged, the motors.
Robotics Programming Wall Follow Line tracking for a set amount of time Line tracking for a distance.
LESSON 05 Using the Touch LED. LESSON 05 Using the Touch LED.
ROBOTC for CORTEX Teacher Training © 2011 Project Lead The Way, Inc. Automation and Robotics VEX.
Programming Design ROBOTC Software Principles Of Engineering
The Corridor Challenge
Automation with RobotC
Introduction To Programming with LEGO NXT 2
Automation and Robotics
TESTBED ACADEMY Final Exam.
Programming Design ROBOTC Software Computer Integrated Manufacturing
Programming Part 2 Mod Kit
Learning Outcomes Understand While Loop
Automation and Robotics
Programming.
Forward Until Touch Robot goes forward until it hits a wall.
Line Following Behavior
Recap the basics Lesson 1.
Line Following Behavior
Programming Design ROBOTC Software Principles Of Engineering
INTERMEDIATE PROGRAMMING LESSON
Automation with RobotC
Photos and Sensor Instructions
An Introduction to VEX IQ Programming with Modkit
Recap the basics Lesson 1.
Automation with RobotC
Programming Design ROBOTC Software Principles of Engineering
Lego MINDSTORMS EV3.
Exploring Computer Science Lesson 6-11
Presentation transcript:

Technical Writing for Robotic Coding!

 du/products/teaching_robotc_cort ex/fundamentals/introtoprogramm ing/thinking/videos/fundamentals 1.html du/products/teaching_robotc_cort ex/fundamentals/introtoprogramm ing/thinking/videos/fundamentals 1.html

LEGO NXT 2.0 Code VEX Robot C Programing

What does this mean? Pseudocoding requires you to know how to read and write code so you can explain what a code is telling the robot to do. Purpose of Pseudocode The purpose is to create a reference that will allow you to quickly fix any issues or alter lines of code. These quick references are referred to as Commands.

 du/products/teaching_robotc_cort ex/fundamentals/introtoprogramm ing/thinking/videos/fundamentals 2.html du/products/teaching_robotc_cort ex/fundamentals/introtoprogramm ing/thinking/videos/fundamentals 2.html

Reading and Writing Code turnLEDOn(GreenLED); -Turn the Green LED light on. turnLEDOff(GreenLED); -Turn the Green LED light off. startMotor(MotorRight,63); -Start Right motor at Half Speed moving forward. *A wait command must follow this command* startMotor(MotorLeft,-63); -Start Left motor at Half Speed moving in reverse. *A wait command must follow this command* wait(2); -Run the previous code for 2 Seconds. stopMotor(MotorRight); -Stop the Right Motor. stopMotor(MotorLeft); -Stop the Left Motor. Commands

Reading and Writing Code Continued untilTouch(BumpSwitch); -Begin, run or end program when Bump Switch is activated. untilTouch(LimitSwitch); -Begin, run or end program until Limit Switch is activated. startMotor(Claw,50/-50); -Open or close the Claw. stopMotor(Claw); -Stop claw.*A wait command must follow this command* untilLight(2500, LineFollower); -Run program or auto-correct program when sensor reads specific light reading.

Your Turn! Write a Pseudocode for how you would make your favorite sandwich on the back of your paper!