Sample Program For The Tiltrotor Aircraft - Thames & Kosmos Robotics Smart Machines Experiment Manual

Table of Contents

Advertisement

PROGRAMMING

SAMPLE PROGRAM FOR THE TILTROTOR AIRCRAFT

A tiltrotor aircraft has rotors that swivel to change from an orientation
that pulls the aircraft upward, like a helicopter's rotor, to an orientation
that pulls the aircraft forward, like a propeller on an airplane. This
model mimics that behavior:
First, motor 1 makes the rotor blades start turning. Then, you lift the
model up off the table with your hand. Once the model is several
centimeters from the table surface, the ultrasonic sensor detects the
absence of the ground. The program tells motor 2 to rotate the wings
into horizontal flying mode. Now you can pretend the model is flying
around. When it's time to land, if the aircraft approaches the tabletop
again, the sensor will tell motor 2 to swivel back into landing mode,
and the landing gear extends. Now you can safely land the aircraft.
This program is preloaded in the app under Program 6. Test it out and
write down how the robot behaves for each program segment below.
Tiltrotor Aircraft
DEMO PROGRAM:
Program 6
OPENING SEGMENT:
SEGMENT 0-10:
SEGMENT 11-30:
SEGMENT 31-75:
SEGMENT >76:
51

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents