Inertial Odometry using AR Drone s IMU and calculating measurement s covariance

Similar documents
EE565:Mobile Robotics Lecture 6

Smartphone sensor based orientation determination for indoor navigation

Quaternion based Extended Kalman Filter

Lecture 38: Equations of Rigid-Body Motion

Application of state observers in attitude estimation using low-cost sensors

Lecture 38: Equations of Rigid-Body Motion

UAV Coordinate Frames and Rigid Body Dynamics

Lecture 9: Modeling and motion models

Attitude Estimation Version 1.0

Lecture 37: Principal Axes, Translations, and Eulerian Angles

Motion Models (cont) 1 2/15/2012

Rao-Blackwellized Particle Filtering for 6-DOF Estimation of Attitude and Position via GPS and Inertial Sensors

On the Observability and Self-Calibration of Visual-Inertial Navigation Systems

EE 570: Location and Navigation

An Adaptive Filter for a Small Attitude and Heading Reference System Using Low Cost Sensors

Angle estimation using gyros and accelerometers

Tracking for VR and AR

CS491/691: Introduction to Aerial Robotics

Laws of gyroscopes / cardanic gyroscope

Angle estimation using gyros and accelerometers

Minimal representations of orientation

Fundamentals of attitude Estimation

Lecture Notes Multibody Dynamics B, wb1413

Lecture 10. Rigid Body Transformation & C-Space Obstacles. CS 460/560 Introduction to Computational Robotics Fall 2017, Rutgers University

Full-dimension Attitude Determination Based on Two-antenna GPS/SINS Integrated Navigation System

Quadrotor Modeling and Control for DLO Transportation

Applications Linear Control Design Techniques in Aircraft Control I

Exam 2 March 12, 2014

Estimation and Control of a Quadrotor Attitude

with Application to Autonomous Vehicles

Dynamic Modeling of Fixed-Wing UAVs

Lecture 10 Reprise and generalized forces

Visual Feedback Attitude Control of a Bias Momentum Micro Satellite using Two Wheels

Acceleration and rotation in a pendulum ride, measured using an iphone 4

State Estimation for Autopilot Control of Small Unmanned Aerial Vehicles in Windy Conditions

Quadrotor Modeling and Control

Attitude determination method using single-antenna GPS, Gyro and Magnetometer

Two dimensional rate gyro bias estimation for precise pitch and roll attitude determination utilizing a dual arc accelerometer array

16.333: Lecture #3. Frame Rotations. Euler Angles. Quaternions

Mobile Robots Localization

Grey-Box System Identification of a Quadrotor Unmanned Aerial Vehicle

Kinematics. Basilio Bona. Semester 1, DAUIN Politecnico di Torino. B. Bona (DAUIN) Kinematics Semester 1, / 15

MEAM 520. Homogenous Transformations

Discrete Time-Varying Attitude Complementary Filter

Kinematics. Basilio Bona. October DAUIN - Politecnico di Torino. Basilio Bona (DAUIN - Politecnico di Torino) Kinematics October / 15

Robot Control Basics CS 685

Introduction to Mobile Robotics Probabilistic Motion Models

Today. Why idealized? Idealized physical models of robotic vehicles. Noise. Idealized physical models of robotic vehicles

Designing Information Devices and Systems I Spring 2015 Note 3

Lecture. Aided INS EE 570: Location and Navigation. 1 Overview. 1.1 ECEF as and Example. 1.2 Inertial Measurements

Week 3: Wheeled Kinematics AMR - Autonomous Mobile Robots

VN-100 Velocity Compensation

MCE/EEC 647/747: Robot Dynamics and Control. Lecture 2: Rigid Motions and Homogeneous Transformations

Attitude Determination System of Small Satellite

Detecting external forces on an autonomous lawn mowing robot with inertial, wheel speed and wheel motor current measurements

Physics 201, Lecture 8

Miscellaneous. Regarding reading materials. Again, ask questions (if you have) and ask them earlier

Automated Tuning of the Nonlinear Complementary Filter for an Attitude Heading Reference Observer

UAVBook Supplement Full State Direct and Indirect EKF

Bio inspired autonomous visual vertical control of a quadrotor UAV

Multi-layer Flight Control Synthesis and Analysis of a Small-scale UAV Helicopter

Nonlinear and Neural Network-based Control of a Small Four-Rotor Aerial Robot

Presenter: Siu Ho (4 th year, Doctor of Engineering) Other authors: Dr Andy Kerr, Dr Avril Thomson

Chapter 1. Introduction. 1.1 System Architecture

LAWS OF GYROSCOPES / CARDANIC GYROSCOPE

Robotics - Homogeneous coordinates and transformations. Simone Ceriani

Locating and supervising relief forces in buildings without the use of infrastructure

Gyroscopes and statics

MAE 142 Homework #5 Due Friday, March 13, 2009

Chapter 2 Coordinate Systems and Transformations

Kinematics for a Three Wheeled Mobile Robot

Quadrotors Flight Formation Control Using a Leader-Follower Approach*

Orientation Estimation using Smartphone Sensors

Research Article Design of an Attitude and Heading Reference System Based on Distributed Filtering for Small UAV

UNCLASSIFIED. Control of Spinning Symmetric Airframes. Curtis P. Mracek Max Stafford and Mike Unger Raytheon Systems Company Tucson, AZ 85734

Attitude Estimation for Augmented Reality with Smartphones

Classical Mechanics. Luis Anchordoqui

Autonomous Mobile Robot Design

Road bank angle estimation for three wheel tilting vehicle using multi model estimator

UAV Navigation: Airborne Inertial SLAM

EE 570: Location and Navigation

Visual Servoing for a Quadrotor UAV in Target Tracking Applications. Marinela Georgieva Popova

Lecture 11 Overview of Flight Dynamics I. Dr. Radhakant Padhi Asst. Professor Dept. of Aerospace Engineering Indian Institute of Science - Bangalore

Nonlinear Landing Control for Quadrotor UAVs

Calibration of a magnetometer in combination with inertial sensors

Model development, system identification, and control of a quadrotor helicopter

Vision-based Deck State Estimation for Autonomous Ship-board Landing

Optimal Control, Guidance and Estimation. Lecture 16. Overview of Flight Dynamics II. Prof. Radhakant Padhi. Prof. Radhakant Padhi

11.1 Introduction Galilean Coordinate Transformations

Autonomous Mobile Robot Design

GPS/INS Tightly coupled position and attitude determination with low-cost sensors Master Thesis

Dynamics II Motion in a Plane. Review Problems

Discussions on multi-sensor Hidden Markov Model for human motion identification

Vehicle speed estimation for articulated heavy-duty vehicles

Physics 207: Lecture 24. Announcements. No labs next week, May 2 5 Exam 3 review session: Wed, May 4 from 8:00 9:30 pm; here.

Adaptive Kalman Filter for MEMS-IMU based Attitude Estimation under External Acceleration and Parsimonious use of Gyroscopes

Structure and algorithms of motion control system's software of the small spacecraft

Localización Dinámica de Robots Móviles Basada en Filtrado de Kalman y Triangulación

State-Estimator Design for the KTH Research Concept Vehicle

Flight and Orbital Mechanics

Transcription:

Inertial Odometry using AR Drone s IMU and calculating measurement s covariance Welcome Lab 6 Dr. Ahmad Kamal Nasir 25.02.2015 Dr. Ahmad Kamal Nasir 1

Today s Objectives Introduction to AR-Drone On-board control algorithm Orientation/Attitude Estimation using inertial sensors Euler angles from gyroscope Roll, Pitch angles from accelerometer Yaw angle from magnetometer Inertial odometry Linear acceleration from accelerometer Measurements covariance 25.02.2015 Dr. Ahmad Kamal Nasir 2

AR Drone s On-board Control Algorithm 25.02.2015 Dr. Ahmad Kamal Nasir 3

AR-Drone with ROS Install ardrone_autonomy packages found at sudo apt-get install ros-indigoardrone_autonomy Use the following command to launch the quadrotor ROS driver, make sure wireless connection between AR-Drone and Computer is already established rosrun ardrone_autonomy ardrone_driver _realtime_navdata:=false _navdata_demo:=0 25.02.2015 Dr. Ahmad Kamal Nasir 4

Euler Angles From Gyroscope (Review) φ θ ψ t = φ θ ψ t 1 + 1 sin φ tan(θ) cos φ tan(θ) 0 cos φ sin(φ) 0 sin φ /cos(θ) cos φ /cos(θ) p q r Δt 25.02.2015 Dr. Ahmad Kamal Nasir 5

Roll, Pitch angles from Accelerometer (Review) φ θ = atan2 ay, ax atan2 ax, a y 2 + a z 2 25.02.2015 Dr. Ahmad Kamal Nasir 6

Yaw angle from magnetometer M b = R x φ R y θ (Review) R z ψ M i (m x ) cos θ + (m y ) sin φ sin θ + (m z )cos(φ)sin(θ) (m y ) cos φ (m z )sin(φ) (m x ) sin θ + (m y ) sin φ cos θ + (m z )cos(φ)cos(θ) B cos δ cos(ψ) = B cos δ sin(ψ) B sin δ y = m y cos φ m z sin φ x = m x cos θ + m y sin θ sin φ + m z sin θ cos φ ψ = atan2(y, x) 25.02.2015 Dr. Ahmad Kamal Nasir 7

Inertial Odometry Orientation Roll, Pitch, Yaw Gyroscope Angular Velocities Angular Velocity Linear Velocity Position Orientation Estimation Linear Roll, Pitch Accelerometer Velocity Position Acceleration Yaw Magnetometer IMU 25.02.2015 Dr. Ahmad Kamal Nasir 8

Complementary Filter θ t = α θ t 1 + ω t Δt + 1 α θ a Where θ t = Current estimate θ t 1 = Previous estimate Δt = Sampling interval θ a = Accelerometer measurements ω t = Gyroscope measurements α = Weigting constant 25.02.2015 Dr. Ahmad Kamal Nasir 9

Iterative Complementary Filter Prediction θ t + = θ t 1 + ω t Δt Correction θ t = θ t + + α θ a θ t + 25.02.2015 Dr. Ahmad Kamal Nasir 10

Accelerometer Only 25.02.2015 Dr. Ahmad Kamal Nasir 11

Gyroscope Only 25.02.2015 Dr. Ahmad Kamal Nasir 12

Magnetometer Only 25.02.2015 Dr. Ahmad Kamal Nasir 13

Fused (Complementary Filter) 25.02.2015 Dr. Ahmad Kamal Nasir 14

In-Lab Tasks Start the AR Drone, make wireless connection, use ardrone/navdata topic to acquire sensor information. Write code for a node that reads the AR Drone navdata. You ll get linear acceleration, gyro-rate and magnetometer readings about x, y and z axes. Now place the quadrotor in a static state. Ideally your IMU readings should give constant values. Estimate Euler angles (orientation) upon each callback (accelerometer + magnetometer): Using the linear acceleration (accelerometer) readings, find the Roll and Pitch angles (φ a, θ a ). [See Class Lecture 6] Once you have the Roll and Pitch angles, find the Yaw angle (ψ m ) using Magnetometer readings. [Slide 44] Use Gyro readings (p, q, r) to get fused Euler angles (φ, θ, ψ), upon each callback. Here you d need values of (φ a, θ a, ψ m ) upon each iteration. Basically, implement the following equations (E.g. choose α = 0.8) : [Slide 33] φ θ ψ t = φ θ ψ t = α φ θ ψ t 1 + Δt can be found using timestamps. φ θ ψ t 1 + 1 α φ am θ am ψ am t for 0 < α < 1 1 sin φ tan θ cos φ tan θ 0 cos φ sin φ 0 sin φ / cos θ cos φ / cos θ Publish fused Euler angles as an odometry message and visualize in RViz. Assume position to be 0, 0, 0. Verify your implementation by moving and rotating the quadrotor by hand. Remember to record a bagfile having IMU data, it will be used in Lab Assignment. p q r t Δt 25.02.2015 Dr. Ahmad Kamal Nasir 15

Lab Assignment INERTIAL ODOMETRY Estimate the position (pose) along the three axes from accelerometer: Convert the accelerometer readings from body frame to inertial frame. Use the Euler angles found in-lab. [Lecture 6, Slide 22] Implement rectangular integration step to find linear velocities from linear accelerations (in inertial frame). You d need to find Δt using timestamps. Once you have linear velocities from accelerometer readings, find the position along the three axes by integration again. MEASUREMENT COVARIANCE Estimate the covariance matrix for estimated Roll, Pitch and Yaw. For this, run your code while keeping the robot in a static state. Record readings for about 60 seconds, and find all entries of the mean vector (3 x 1) and covariance matrix of the Euler angles statistically. Take a few different values of α and see which gives most certain estimates. 25.02.2015 Dr. Ahmad Kamal Nasir 16

Questions 25.02.2015 Dr. Ahmad Kamal Nasir 17