microsoft / AirSim

Open source simulator for autonomous vehicles built on Unreal Engine / Unity, from Microsoft AI & Research
https://microsoft.github.io/AirSim/
Other
16.33k stars 4.55k forks source link

Flying straight while taking pictures #2570

Closed alonyomtov123 closed 4 years ago

alonyomtov123 commented 4 years ago

I am trying to fly a quadcopter wihle taking pictures. I'm having 2 problems: The first is that the drone won't stop in place so I can take the picture properly. The second is that the flight path is very windy. The drone doesn't fly straight from one dot to another.

I am using Ubuntu 16.04 with python 3.7.

rajat2004 commented 4 years ago

Well, a drone doesn't exactly behave as you want. Maybe try Computer Vision mode?

alonyomtov123 commented 4 years ago

I expected it not to fly exactly straight but it moves up and down and the cameras take pictures which are not realistic. Is there a way to make the drone not move between movement commands or while taking a picture?

cloudlakecho commented 4 years ago

@alonyomtov123, I have the same challenge with you. What I found at an example of PythonClient\multirotor\orbit.py is that I need to stop the drone and take a picture.