1 / 19

Software Narrative

Software Narrative. Autonomous Targeting Vehicle (ATV) Daniel Barrett Sebastian Hening Sandunmalee Abeyratne Anthony Myers. PROJECT OVERVIEW. Autonomous Wheeled Vehicle Two main functions: Navigate to user designated waypoints while avoiding obstacles

evita
Download Presentation

Software Narrative

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. Software Narrative Autonomous Targeting Vehicle (ATV) Daniel Barrett Sebastian Hening SandunmaleeAbeyratne Anthony Myers

  2. PROJECT OVERVIEW • Autonomous Wheeled Vehicle • Two main functions: • Navigate to user designated waypoints while avoiding obstacles • Visually track and follow user designated targets • Uses combination of GPS and other sensors to determine current location and trajectory • User Interface: • Atom board with Wi-Fi, connection via remote desktop using PC • Navigation • GUI to enter waypoints by clicking on map • Also displays current position and obstacles • Webcam Target Tracking • GUI allows user to click on Target, which will then be tracked and followed by the camera 2

  3. PROJECT SPECIFIC SUCCESS CRITERIA • An ability to determine location within 10 meters based on GPS data. • An ability to control the speed and direction of the motors on each side in order to move forward, backward, turn left, and turn right. • An ability to visually track and follow a target via webcam. • An ability to detect obstacles, and determine their distance with a sonic range finder. • An ability to determine changes in position using wheel encoders, an accelerometer, and a compass. 3

  4. BLOCK DIAGRAM 4

  5. SOFTWARE DESIGN –Block Diagram Build obstacle map Display Video, Map, and Position Estimated Obstacle positions Choose Destination Graph structure Sensor Fusion User Interface Pathfinder Kalman Filter Simulation Estimated Position Choose Target Desired Trajectory Position Motor inputs Video Object Tracking PID control system GPS parser Atom Board Target position Motor inputs Measurements Servo Control Sensor Polling Wheel Motor Control 5 Microcontrollers

  6. SOFTWARE DESIGN –Block Diagram Build obstacle map Display Video, Map, and Position Estimated Obstacle positions Choose Destination Graph structure Sensor Fusion User Interface Pathfinder Kalman Filter Simulation Estimated Position Choose Target Desired Trajectory Camera Tracking Position Motor inputs Video Object Tracking PID control system GPS parser Atom Board Target position Motor inputs Measurements Servo Control Sensor Polling Wheel Motor Control 6 Microcontrollers

  7. SOFTWARE DESIGN –Block Diagram Navigation Build obstacle map Display Video, Map, and Position Estimated Obstacle positions Choose Destination Graph structure Sensor Fusion User Interface Pathfinder Kalman Filter Simulation Estimated Position Choose Target Desired Trajectory Position Motor inputs Video Object Tracking PID control system GPS parser Atom Board Target position Motor inputs Measurements Servo Control Sensor Polling Wheel Motor Control 7 Microcontrollers

  8. SOFTWARE DESIGN –Block Diagram Build obstacle map Display Video, Map, and Position Estimated Obstacle positions Choose Destination Graph structure Sensor Fusion User Interface Pathfinder Kalman Filter Simulation Estimated Position Choose Target Desired Trajectory Collect Data Position Motor inputs Video Object Tracking PID control system GPS parser Atom Board Target position Motor inputs Measurements Servo Control Sensor Polling Wheel Motor Control 8 Microcontrollers

  9. SOFTWARE DESIGN –Block Diagram Estimate State of Robot and Obstacles Build obstacle map Display Video, Map, and Position Estimated Obstacle positions Choose Destination Graph structure Sensor Fusion User Interface Pathfinder Kalman Filter Simulation Estimated Position Choose Target Desired Trajectory Position Motor inputs Video Object Tracking PID control system GPS parser Atom Board Target position Motor inputs Measurements Servo Control Sensor Polling Wheel Motor Control 9 Microcontrollers

  10. SOFTWARE DESIGN –Block Diagram Build obstacle map Display Video, Map, and Position Estimated Obstacle positions Choose Destination Graph structure Planning Acting on Plan Sensor Fusion User Interface Pathfinder Kalman Filter Simulation Estimated Position Choose Target Desired Trajectory Position Motor inputs Video Object Tracking PID control system GPS parser Atom Board Target position Motor inputs Measurements Servo Control Sensor Polling Wheel Motor Control 10 Microcontrollers

  11. SOFTWARE DESIGN – To be completed Build obstacle map Display Video, Map, and Position Estimated Obstacle positions Choose Destination Graph structure Sensor Fusion User Interface Pathfinder Kalman Filter Simulation Estimated Position Choose Target Desired Trajectory Position Motor inputs Video Object Tracking PID control system GPS parser Atom Board Target position Motor inputs Measurements Servo Control Sensor Polling Wheel Motor Control 11 I2CCompass Microcontrollers

  12. 12

  13. Microcontroller Code Structure (Embedded C) • Polling loop with interrupt-driven flags • Periodically (~20 Hz) read sensors and send the data to the Atom board • Interrupts for receiving data on the SCI, and for data-ready signals from sensors • When data received from Atom board, use it to control motors/servos 13

  14. Microcontroller Peripheral Usage • SCI • Communication with Atom board • ATD • Rangefinders • PWM • Servos and Motors • Pulse Accumulator • Wheel encoders • Timer • Loop through the code at regular intervals 14

  15. Simulation Walkthrough (1) White lines are (undetected) theoretical obstacles Green is planned route Red ‘X’ is start location 15

  16. Simulation Walkthrough (2) The Green path now goes around the detected obstacle Yellow lines are (detected) theoretical obstacles Blue is the path already taken 16

  17. Simulation Walkthrough (3) The robot has navigated to the waypoint around the obstacle 17

  18. Questions? 18

  19. Muli-threaded Flowchart

More Related