220 likes | 397 Views
ROBOTICS. In the World and at Signature. DEFINITION. A robot is an autonomous machine capable of taking input from its environment, making a choice according to its program, and completing a task in the physical world. Common Uses. our Club. Anyone is welcome
E N D
ROBOTICS • In the World and at Signature
DEFINITION • A robot is an autonomous machine capable of taking input from its environment, making a choice according to its program, and completing a task in the physical world.
our Club • Anyone is welcome • IF someone is here for a meeting, they are part of the club for that meeting • Respect is mandatory • All robots must follow the three laws
Three Laws of RoboticsAccording to ISaAc Asimov • A robot may not allow a human to come to harm • A robot must obey all commands given to it by a human, provided it doesn’t interfere with the first law • A robot must seek self-preservation, provided that doesn’t interfere with the first or second law
Club order • President: Connor X. Ford • Vice President: Daniel Rouleau • Treasurer: Lexi Wells • Secretary: Josh Rice • Programmers • Engineers
Divisions • Both groups will work on both parts of robotics; each group simply specializes a little more in one area • Programmers: programs the robots in NQC (starting exercises will be in TI Basic) • Engineers: designs the robot bodies (starting exercises will be with the VEX Kit)
design • the simpler the better • small gear on the motor, large gear on the wheel increases torque; vice versa increases speed • place sensors for maximum effectiveness • http://www.ikalogic.com/index.php
Simple designs • two wheels and caster • four wheels • treads • arm S e n s o r Power Motors
Simple designs • two wheels and caster • four wheels • treads • arm S e n s o r Motors Power
Simple designs • two wheels and caster • four wheels • treads • arm Motors, Power, Sensors
Simple designs • two wheels and caster • four wheels • treads • arm Motor1 Motor2 Power, Sensors
Programming • Programming determines the robot’s actions; without it, body is scrap metal/material • We’ll use two languages: NQC and TI Basic • Ask for PDFs
Ti Basic C L R Command Left Right
TI Basic (cont.) • :Send({CLR},Duration#):Get(R) • C-- 1: For Duration, 2: Until Touch, 3: Both • L -- 0: Backwards, 1: Nothing, 2: Forward • R-- 0: Backwards, 1: Nothing, 2: Forward • Example -- :Send({302},100):Get(R) sends robot turning left for 1 second or until touch • Example -- :Send({222}):Get(R) sends robot forward until touch
TI Basic (cont.) • Usable on any ti-83, 84 calculator • see me if you have an 89 • never use Command 2 on a turn (202, etc.) • Never use command 3 when backing up after touch • Never use 2 or 3 when moving something
NQC • Fairly simple syntax • Always head with task main() • Example commands: OnFwd(OUT_A+OUT_C) • Wait(100) • Off(OUT_A+OUT_C) • SetSensor(SENSOR_1+SENSOR_2,SetSensorMode_BOOL, SetSensorType_TOUCH) • Uses C++’s curly braces {} a lot
Meetings • We meet regularly on tuesdays and wednesdays during lunch in Mr. thread’s room from 11:30 to 11:50 • We will meet after school every day before competitions; any other time after school will be on tues. Likely • Meetings will cover all aspects of club, so please come • May start a wikispace as a discussion forum