I have bought CrazyFlie indoor-bundle and additonally flow deck. I am looking forward to fly some CrazyFlie
Until my items are here, I was checking the python libraries and example codes as well as tutorials about setting LPS.
My first question: How can I define or determine my (0,0,0) point in LPS? or Can I locate my CrazyFlie in some point on my tracking area and set it as (0,0,0) point? so it will be kind of local center
My second question is regarding the navigating my CrazyFlie in 3D (x,y,z). So I basically want to give a command to CrazyFlie "fly to (x,y,z)". Should I use the following code in the Motion_Commander library:
Code: Select all
def move_distance(self, distance_x_m, distance_y_m, distance_z_m,velocity=VELOCITY):
or Should I use the following code iin the Commander library:
Code: Select all
def send_position_setpoint(self, x, y, z, yaw):
Aybars