EasyManua.ls Logo

MakeKit Air:bit 2 - PARTY Control Logic; Throttle Control; Roll and Pitch Control

MakeKit Air:bit 2
65 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Throttle
Make a variable called Throttle
Use the buttons A and B to change the throttle. A should reduce it with 5, B should increase it with 5
Use Show Number (in the forever loop) to å verify that throttle is changing correctly
When above 40, throttle should only change by 1 for better precision when drone is hovering.
Roll og Pitch
Make a variable called Roll and one called Pitch
In the forever loop: Set the variables roll and pitch to the input -> more -> rotation.roll and rotation.pitch
38
PARTY
pitch, arm, roll, throttle, yaw