s/accelerometer/gyroscope/g

This commit is contained in:
Fabio Manganiello 2021-08-30 00:06:35 +02:00
parent 16f6ea8ed3
commit 9e624a7901
1 changed files with 6 additions and 7 deletions

View File

@ -492,10 +492,10 @@ higher voltage.
- A **camera** to take your amazing pictures and videos from above. We'll use a Raspberry Pi Camera in this tutorial,
since it already comes with a RPi native interface, and it doesn't require extra USB dongles and cables.
- (_Optional_) an **accelerometer**: if you want to bring your drone to the next level then you can also add an
accelerometer to the Raspberry Pi. The accelerometer measures the gravity acceleration along the three axes. You can
easily add some logic to stabilize a drone if the input data from the accelerometer shows that it's leaning too much
in one direction.
- (_Optional_) a **gyroscope**: if you want to bring your drone to the next level then you can also add an gyroscope to
the Raspberry Pi or a connected microcontroller. The gyroscope measures the gravity acceleration along the three axes.
You can easily add some logic to stabilize a drone if the input data from the gyroscope shows that it's leaning
too much in one direction.
- (_Optional_) a **distance sensor**: ultrasound, laser or lidar sensors are very useful to study the environment around
the drone. You can place one at the bottom of the drone to detect when the drone has touched the ground, or some
@ -1563,9 +1563,8 @@ made it so far, congratulations on building and flying drone from scratch!
By the end of this article you have learned how to design, build and fly your drone from scratch, but many improvements
can be applied to the base model we've put together here. Some ideas:
- Integrate an accelerometer to detect whether the drone "leans" too much in a direction other than the expected one,
and automatically adjust the thrusts to keep the drone stable. Platypush provides built-in support for some types of
accelerometers connected over I2C or SPI.
- Integrate a gyroscope to detect whether the drone "leans" too much in a direction other than the expected one,
and automatically adjust the thrusts to keep the drone stable.
- Move from a Bluetooth or IR joystick to an RC (radio-controlled) one, so you can control your drone over longer
ranges. If the RC controller is mapped as a standard joystick on Linux then all the code we've written for the
controller shouldn't require any changes.