Case 5 - Detect postures

Part 1  Objective

After you compile the program, the stage displays the posture of Auriga in real time.

Part 2  Preparation

  • Auriga x 1

  • USB cable x 1

  • Computer with network access x 1

Connect Auriga to the computer by using the USB cable, open mBlock 5 (PC client or web version), connect CyberPi, and select the Live mode.


Update the firmware of Auriga.


Part 3  Programming

In Live mode, you can create different variables to get angles of the x-axis, y-axis and z-axis of the gyroscope. When you select the check boxes on the left of the blocks and run the program, the stage displays the angles of the gyroscope on the x-axis, y-axis, and z-axis.


Part 4  Practice

Rotate Auriga, and see if you can find the directions of x, y, and z axes.

Was this article helpful?
0 out of 5 found this helpful



Please sign in to leave a comment.