Skip to content
Adaptive AgroTech NetworkUniversity of Southern Denmark · SDU Drone Center
Course2026
← DronesModule 07

Lecture 07 | Calibrate Drone Sensors in QGroundControl | Gyro, Compass & Attitude

InstructorDr. Redmond R. Shamshiri
AffiliationAssistant Professor of Robotics · University of Southern Denmark (SDU)
Study time35 minutes
Watch & study

Lecture video

Open on YouTube ↗

Video unavailable here? Watch on YouTube. Captions and playback speed are available in the player.

Study companion. These editable notes, worked examples and exercises supplement the source material. They are not a verbatim video transcript or a reproduction of the book.

Study Lecture 07 | Calibrate Drone Sensors in QGroundControl | Gyro, Compass & Attitude. Use the accompanying model, numerical example and practical task to connect the topic to a measurable engineering result. Notes are original supplemental material, not a transcript.

Learning Objectives

  • Explain the role of coordinate transforms and frame conventions in the engineering system.
  • Calculate the worked quantity with consistent units.
  • Design a measurement that can reveal an implementation failure.

Study guide

Original companion notes. These notes support the topic of this lesson. They are not a transcript or a claim about the exact contents, hardware settings or examples in the video.

Lesson focus: Lecture 07 | Calibrate Drone Sensors in QGroundControl | Gyro, Compass & Attitude

Use independent reference measurements and reserve some observations for validation rather than fitting.

Coordinate transforms and frame conventions

A position has meaning only with its reference frame, units and timestamp. Compose transforms in an explicitly stated order. Translation and rotation do not generally commute.

Model, units and assumptions

\[\begin{bmatrix}p_A\\1\end{bmatrix}=\begin{bmatrix}R_{AB}&t_{AB}\\0&1\end{bmatrix}\begin{bmatrix}p_B\\1\end{bmatrix}\]

RAB rotates coordinates from B into A; tAB is the origin of B expressed in A. pA and pB represent the same physical point. A rigid transform assumes a calibrated, fixed relation at the relevant time.

Worked engineering example

A sensor is 0.20 m forward of the robot origin with no relative rotation. A target 1.00 m ahead in the sensor frame lies 1.20 m ahead in the robot frame. Rotating the robot into the world frame is a separate transform.

Practical task and evidence

Apply the following procedure to the topic of this lesson: Lecture 07 | Calibrate Drone Sensors in QGroundControl | Gyro, Compass & Attitude.

  • Draw the axis directions of world, base and sensor frames.
  • Transform a point at the sensor origin and a point on each sensor axis.
  • Check timestamp availability and avoid silently substituting the newest transform for an older image.

Submit: a diagram or interface table, a short timestamped dataset, the calculation with units, and a paragraph explaining the largest observed limitation.

Check your understanding

Question. A point (1,0) is rotated +90° about z, then translated by (2,0). What is the result?

Show worked answer

(2,1), using the usual right-handed planar convention.

Extension. Change one assumption in the model and explain which measurement would reveal that it no longer holds.

Summary

Coordinate transforms and frame conventions: keep units, assumptions and timing explicit. Check the numerical model against an independent observation before using it in a larger system.

Suggested Reading & Resources

  • Reading
    ROS 2 concepts and tutorials

    Primary documentation or original technical reference; check the version used in your lab.

    Open ↗
  • Reading
    OpenCV camera calibration and geometry

    Primary documentation or original technical reference; check the version used in your lab.

    Open ↗
  • Reading
    PX4 official user guide

    Primary documentation or original technical reference; check the version used in your lab.

    Open ↗