Programming Requirements Last updated Jan 30, 2015, 8:00PM.

Slides:



Advertisements
Similar presentations
Trimble® GradeMax™ What is grade max. Trimble® GradeMax™ What is grade max.
Advertisements

US First Robotics Lab View Tutorials Jim Thomas Lawrence Berkeley National Laboratory Team 496 Port Jeff Powerhouse.
Robot Code MVRT 2010 – 2011 Season. Robot code controls the robot Robot Main.vi –Calls all the smaller SubVis Rules of programming the robot –Be careful.
Session Objectives: Review basic math for single swerve module
MEYRA CAN. MEYRA CAN MEYRA CAN remote module identical remotebox for many wheelchair models   identical remotebox for many wheelchair models mechanically.
Lokotrack ST352 Presentation
Add and Use a Sensor & Autonomous For FIRST Robotics
1. 2 LabVIEW for FRC Doug Norman National Instruments January 6, 2012.
Basic Features Voic message indicator
`SET-UP MANUAL SRM D248 PURPOSE:
ATK Automated Bullet/Case Loading University of Idaho, Mechanical Engineering Dept. Team FMJ Chris Doudy, Ryan Kahre, Adriana Foreman, Ryan Bowen, Jordan.
Mobileye Setup Wizard Version User manual
FRC LabVIEW Software Overview Joe Hershberger Staff Software Engineer National Instruments.
CS 1 with Robots Robot Sensors & Actuators Institute for Personal Robots in Education (IPRE)‏
TETRIX/VEX Challenge (use either robot hardware) There will be two events for the May Madness 2010 Challenge –The Grand Challenge - completely autonomous.
Copier Jam Detector Design Problem
1 ©2006 INSciTE Lab Two Task: Make the program from Lab One (Move forward 5 rotations and turn right 90 degrees) into a MyBlock.
AccuMax Multi-Point Injection Mechanics
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.
2012 Beta Seminar 694 Software Engineering. Overview WPILib ▫Command-based programming ▫NetworkTables ▫SmartDashboard ▫Preferences ▫Laptop-based vision.
Electronics and Power Distribution AME 470: Senior Design ASME Bulk Material Transporter Matt Bertke, Paul DeMott, Patrick Hertzke, Will Sirokman 4 November.
Driver Station MVRT 2009 – 2010 Season. Add information Breadboard Classmate PC USB Hub Joysticks Stop Button.
OverView on Interaction Metaphore Murtaza Hussain.
GIRLS Robotic Camp. Let’s Begin Meet and Greet – Camp leaders introduce themselves – Students introduce themselves.
Match Scouting Tutorial 2015 By Team 1403’s Strategy Team.
Weston Schreiber & Joshua Gabrielse Robotics Summer Training Programming #1: EasyC Basics.
FRC Robot Framework Labview Made Easy (er) For FIRST Robotics 1.
GCS 300 System Operation Application – Level 1.
Balancer Operation Intelift Operation Installation Troubleshooting Preventive Maintenance Preventive Maintenance OVERVIEW.
Control Technology and Automation
How to use Touch Screen SeneS Technology. Co, Ltd.
David GiandomenicoFeedback Control for your FIRST Robot’s DrivetrainDec 2010 WRRF Workshops #1 David Giandomenico Team mentor for Lynbrook Robotics – Team.
An Objective and Component View (Not included Drive: Balance and Turret: Axis Camera)
Robot sensors MVRT 2010 – 2011 season. Analog versus Digital Analog Goes from 0 to 254 Numerous values Similar to making waves because there are not sudden.
HARDWARE INTERFACE FOR A 3-DOF SURGICAL ROBOT ARM Ahmet Atasoy 1, Mehmed Ozkan 2, Duygun Erol Barkana 3 1 Institute of Biomedical Engineering, Bogazici.
FRC Robot Programming 1.PID Continued 2.Downloading and Deploying Code 3.Program a 2012 Robot from Spec Basic code For FIRST Robotics.
GISMO/GEBndPlan Overview Geographic Information System Mapping Object.
Negative Power or Negative Rotation makes robot go backwards. But if both are negative, the robot will go forward! Move Steering Block.
Asttraining.com Scan Procedures for Ford EEC-V OBD II Systems.
Introduction to Vexnet
Understanding The 2008 FRC Robot Controller Chris Gregory FRC1089 – Team Mercury
State Table Problem #1 An electronic lock is controlled by a keypad, which has three buttons labeled A, B, and R. The keypad is restricted such that, at.
Session 12 Sensors and Timers. 3 Main Types of Robot Projects Command-Based Robot A more complicated project for more complicated robots Iterative Robot.
Joshua Petrohilos Supervisor: Nasser Asgari.  Bachelor of Engineering (Robotics)/Master of Engineering (Electronics)  My role: Electrical Design.
Swerve Drive Software Design. Software Layers Joystick Axis Correction Joystick Response Calculation Field-oriented Angle Adjustment Swerve Drive Steer.
Session 11 Intro to FRC API.
Electronics and Controls
Our Vision. Your Safety ™
Designing Robots How to make a stable robot! Much of the information in this power point is from Winning Design! By James J. Trobaugh.
Spring Hill Assembly1 InnoSys Park Brake Tool Master Control Panel Screens 1 3-Mar-2008.
Electrical and Computer Engineering Cumulative Design Review Team 22: Driver Assist.
Get your software working before putting it on the robot!
Creating Flexible, Script-Controlled Autonomous Software Example Explanation.
FIRST ROBOTICS COMPETETION Introduction to Electrical & Control System Power and Signal Distribution/Interconnection Sensors, Motors, Speed Controllers,
CNC Motion BenchMill 6000 Machining Center
Introduction to Vexnet
VEX IQ Curriculum Smart Machines Lesson 09 Lesson Materials:
Exploring Computer Science Lesson 6-5
SCOUTBOTICS Engineering Notebook
IVG Driver Training Navigation Services.
Introduction to Team 294 Programming Concepts
Trainings 10/28 Woooooo!!.
FeMaidens Programming
INTERMEDIATE PROGRAMMING LESSON
Exploring Computer Science Lesson 6-5
INTERMEDIATE PROGRAMMING LESSON
Training 11/11/16 Robot Code (WPILib).
SCOUTBOTICS Engineering Notebook
Advanced LabVIEW
Next Gen GUI Concept Aaron Cardenas, 21/10/2008.
Presentation transcript:

Programming Requirements Last updated Jan 30, 2015, 8:00PM

Drive Subsystem Requirements (last updated Jan 30, 2015) Functional Requirements: 1.Teleop control a.Drive based on 3 inputs of x speed (leftXAxis), y speed (leftYAxis), and turn (rightXAxis) b.Enable mode for gyro guidance (field oriented driving, so for ex. joystick forward always move forward on field even when robot turned) 2.Auton control a.Drive a given distance at a given speed and direction (requires gyro and accelerometer feedback) b.Turn a given angle at a given rotational speed (requires gyro feedback) c.Handle accurate distance travel even if navigating ramp (anticipated that auton mode will have calibrations to make correction) Failure Conditions: None Subsystem Name: Drive Purpose: Drive Mecanum Chassis based on speed and directional inputs Inputs: Sensors: Accelerometer Gyro Teleop and Auton: intended speed intended turn intended distance (in Auton mode) Outputs: Motors and Actuators: Drive Motors (4 Victors) SmartDashboard: Gyro readings Accelerometer readings Battery voltage Testing Notes: 1.Initial tests: use existing CAN motor test chassis with gyro, until team can build with Victor motor controllers 2.After chassis converted: run test for each functional requirement and failure condition. 3.Additionally run multiple iterations of tests to determine variance associated with automated features to a)Drive a given distance at a given speed, including ramp b)Turn a given angle at a given rotational speed Team: Scott G, Robin O

Interior Tote Feed Subsystem Requirements (last updated Jan 30, 2015) Functional Requirements: 1.Drive motors based on motor speed inputs 2.Output tote loaded/unloaded state to SmartDash (or maybe even robot LEDs to make it easier on driver, or can we shake secondary joystick?) 3.Clamp/unclamp tote when commanded Failure Conditions: If either motor current exceeds (TBD) amps for 250 msec Set motor speeds to 0 Output to dashboard motor failure occurred (maybe robot LEDs Stay in failure state until external command received setting motor speed back to 0 (ex. indicating driver stopped motor) Exit failure mode Update dashboard Subsystem Name: InteriorToteFeed Purpose: Drive two Tote Feeder wheels to rotate or feed totes, and wheel clamping mechanism Inputs: Photosensor input indicating tote loaded (or other sensor?) PowerDistributionPanel motor current draws (for failure mode) Teleop and Auton: left wheel speed and dir right wheel speed and dir clamp/unclamp command Outputs: Feeder Motors (2) Clamp Solenoid (dual) SmartDashboard: Tote loaded indicator Current failure indicator Testing Notes: 1.Before robot built: can use any Victor to test, including failure conditions 2.After robot built – run tests to 1.Feed totes 2.Turn totes on field 3.Run tests to identify optimal motor speed to feed totes 4.Run tests to identify optimal motor speed to turn totes 5.Test failure condition of motor jammed and high current draw (test both motors) Team: Debjit S., Matt S., Mahir T.

Interior Lift Subsystem Requirements (last updated Jan 30, 2015) Functional Requirements: 1.Initialize lift encoder at bottom 2.Clamp/unclamp when commanded 3.Lift clamps one level when commanded 4.Lower clamps one level when commanded 5.Allow manual move up/down of clamps 6.Prevent driver from moving down while clamped and ratchet locked? Failure Conditions: If lift motor current exceeds (TBD) amps for 250 msec Set motor speeds to 0 Output to dashboard motor failure occurred (maybe robot LEDs Stay in failure state until external command received setting motor speed back to 0 (ex. lift button not pushed and no manual lift/drop) Exit failure mode Update dashboard Limit switches hit, don’t allow travel in same direction Subsystem Name: InteriorLift Purpose: Lift totes so they can be stacked, and release totes on command Inputs: Lift encoder (to measure up/down travel) Limit switches to indicate top and bottom of lift travel (2) Teleop and Auton: lift up command (1 level) lift down command (1 level) lift manual up/down (speed) clamp/unclamp command ratchet unrelease/release command Outputs: Clamp solenoid (single) Lift motor Tote release solenoid (single) SmartDashboard: Position of lift Current failure indicator Testing Notes: 1.Before robot built: need motor with dual encoder on RoboRIO to test. Do we also need additional solenoid? Or since we have 2 single acting solenoids maybe not? After robot built 2.Run tests to lift totes one level with 1 tote, 2 totes… a)Determine reasonable speed for lifting b)Determine encoder values to match distance traveled to move 1 level 3.Run tests to release totes, also with 1 tote, 2 totes, … 4.Test failure condition of motor jammed and high current draw 5.Test failure condition of limit switches hit Team: Debjit S., Matt S., Mahir T.

Exterior Subsystem Requirements (last updated Jan 30, 2015, 8:00PM) Functional Requirements: 1.Initialize encoder value at bottom mechanical stop 2.Clamp/unclamp when commanded 3.Move up/down when commanded 4.Any time when up/down motor command to move, disable brake, otherwise enable brake 5.Change angle up/down when commanded 6.Any time angle up/down is commanded to move, disable brake, otherwise enable brake Failure Conditions: Limit switches hit, don’t allow travel in same direction Subsystem Name: Exterior Purpose: Clamp and lift totes or containers via exterior mechanism, including tilting to pick up tipped over containers. Inputs: Dual encoder to measure up/down travel Limit switches to indicate top and bottom of travel (2) Teleop and Auton manual up/down (speed) clamp/unclamp command angle up/angle down command Outputs: Clamp solenoid (dual) Lift motor Lift brake solenoid (single) Angle motor Angle brake solenoid (single) SmartDashboard: Position of exterior assembly (up/down) Testing Notes: Before robot built: need solenoid and motor with dual encoder on RoboRIO to test. After robot built 1. Run tests for each functional requirement 2.Run tests to lift upright totes and bins to calibrate more speeds 3.Run tests to calibrate angle speeds 4.Test failure condition of limit switches hit Team: Simon S., Eric K.

Auton Subsystem Requirements (last updated Jan 30, 2015) Functional Requirements: 1.See Strategy Team slide for Auton modes “Recycle_Rush_Auton_Game_Strategy_Picture” Failure Conditions: No additional failure conditions (delegated to subsystems) Subsystem Name: Auton Purpose: Automatically control robot for first 15 seconds of match based on preconfigured auton modes Inputs: 3 switch control box to specify auton mode (8 states) Calls to other subsystems for inputs: Drive ToteFeed Interior Exterior Outputs: Calls to other subsystems for outputs: Drive ToteFeed Interior Exterior Testing Notes: Before robot built: Ensure basic auton programming architecture and functions working (will be difficult to get any calibration, but ensure basic logic/control working After robot built 1. Run tests for each auton mode 2.Significant tuning/calibration required (timing, motor speeds) Team: Roi S., Sonya S., Alex C.

Auton Subsystem Requirements (last updated Jan 30, 2015) copied from Strategy Team: Recycle_Rush_Auton_Game_Strategy_Picture.pptx NOTE: when reviewed with Roi 1/28 he suggested auton B may have different starting point, need to get feedback to Strategy Team

Teleop Subsystem Requirements (last updated Jan 30, 2015) Functional Requirements: 1.Provide capability for 2 drivers to control all robot functions required for Teleop period 2.See next slide for list of items to control, and controls diagram TBD Failure Conditions: No additional failure conditions (delegated to subsystems) Subsystem Name: Teleop Purpose: Provide functions for driver control of robot Inputs: Game controllers Optional: keyboard input? Outputs: Calls to other subsystems for outputs: Drive ToteFeed Interior Exterior Testing Notes: Test every game controller button, joystick, and dial to confirm each motor and actuator can be controlled as expected Experienced drivers test robot to provide feedback re: sensitivity of controls and ease of use Team: Miles M., Prateek P.

Teleop Subsystem Requirements: Output List (last updated Jan 30, :00PM) Drive Subsystem: linear direction and speed: Joystick rototation angle and speed: Joystick (could be a “pilot” controller with twist, may want to try this) Field oriented driving (gyro) enabled: toggle InteriorToteFeed Subsystem: Clamp/unclamp: toggle feed/manipulate item left/right: Joystick? Or use 3 push buttons? InteriorLift Subsystem: lift up command (1 level) lift down command (1 level) lift manual up/down (speed) clamp/unclamp command ratchet unrelease/release command Exterior Subsystem: Clamp/unclamp: toggle Lift up/down: Joystick or 2 push buttons? Angle up/down: Joysticks or 2 push buttons?

Teleop Subsystem Requirements: Diagram (last updated Jan 30, 2015) Diagram of game controllers with annotations showing purpose of each button, joystick, etc. Owner of these requirements is the drive team – for starters can start with blank picture of game Controllers and previous slide listing outputs and map these outputs to the controls

Display Requirements (SmartDash) (last updated Jan 30, 2015) Drive Subsystem: camera output gyro reading battery reading (green if ok, bright red if low) ToteFeed Subsystem: Tote loaded indicator Motor current failure indicator Obtain requirements for SmartDash layout from Drive Team, prototype and snapshot into this box where display elements will appear, size, etc. May want to put all the fa Interior Subsystem: Position of lift Tote loaded indicator Current failure indicator Limit switch enabled (2) Exterior Subsystem: Position of exterior assembly Limit switch enabled (2)

To-do: vision – which subsytem? calibrations – add to each slide logging (there’s nothing worse than having failure at match and having nothing to look at)