1 / 11

Wash Uav Final Demo

Wash Uav Final Demo. Sean Reynolds. CX2. Show Throttle Control Show Rudder Control Show Cyclic Proximity Control Show Hover with proximity Crash! . Code. // accelerometers gyro #define AccelerometerMode 0 // throttle rudder #define ThrottleRudderMode 2 // user input

admon
Download Presentation

Wash Uav Final Demo

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Wash Uav Final Demo Sean Reynolds

  2. CX2 • Show Throttle Control • Show Rudder Control • Show Cyclic Proximity Control • Show Hover with proximity • Crash! 

  3. Code • // accelerometers gyro • #define AccelerometerMode 0 • // throttle rudder • #define ThrottleRudderMode 2 • // user input • #define LaptopInputMode 1 • // mote holds heli control routines. • #define HelicopterControlMode 2 • // control the swashplate with 3 servos • #define HelicopterSwashMixing 0 • // use proximity sensors as • #define ProximityCyclic 1 • // use accelerometer to demo cyclic control • #define AccelerometerCyclic 0

  4. Code • void calculateOutput() { • #if AccelerometerCyclic > 0 • inputLeftRight = 90 + sensors.HoverElevator(); • inputForwardBackward = 90 + sensors.HoverAileron(); • #endif • #if HelicopterSwashMixing > 0 • degreeThrottle = inputThrottle; • degreeAileron = 90 + (90 - inputBladePitch) - (2 * (90 - inputLeftRight)) + (90 - inputForwardBackward); • degreeAuxSwash = 90 - (90 - inputBladePitch) - (2 * (90 - inputLeftRight)) - (2 * (90 - inputForwardBackward)); • degreeElevator = 90 + (90 - inputBladePitch) - (2 * (90 - inputForwardBackward)); • degreeRudder = inputRudder; • #else • if(!takeOff){ • if(takenOff){ • degreeThrottle = sensors.HoverThrottle(); • } • } • degreeElevator = 90 + sensors.HoverElevator(); • degreeAileron = 90 + sensors.HoverAileron(); • degreeRudder = 90 + sensors.HoverRudder(); • #endif • fixDegrees(degreeThrottle); • fixDegrees(degreeElevator); • fixDegrees(degreeAileron); • fixDegrees(degreeAuxSwash); • }

  5. Code • degreeThrottle = inputThrottle; • degreeAileron = 90 + (90 - inputBladePitch) - (2 * (90 - inputLeftRight)) + (90 - inputForwardBackward); • degreeAuxSwash = 90 - (90 - inputBladePitch) - (2 * (90 - inputLeftRight)) - (2 * (90 - inputForwardBackward)); • degreeElevator = 90 + (90 - inputBladePitch) - (2 * (90 - inputForwardBackward)); • degreeRudder = inputRudder;

  6. B400 • Show Rig • Show Control With Accelerometer Controller • Demo Weapons System!

  7. Problem Videos • In case all else fails:

  8. CX2 Throttle Control

  9. CX2 Rudder Control

  10. CX2 Cyclic

  11. B400 Control With Accelerometer

More Related