How to control circular motion of the drone ?

Hello Guys .. .

I am attempting to make my quadcopter go around a tree at a constant radial distance (say 50cm ) from it using dronekit python running on a raspberry pi . I will be using a distance sensor (Lidar or ultrasonic sensor)  mounted in front.

I have understood that i need to trigger Yaw and Roll constantly to achieve circular motion while keeping the drone's nose pointed towards the tree . I am using a Pixhawk running Ardupilot . My question is how do i send these yaw and roll signals to my Pixhawk from Raspberry Pi ?

Is it possible to use the circular mode of Ardupilot in this scenario ???

Thanks in advance !! 

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Activity