# \[Python\] Pre-defined object avoidance?

**URL:** <https://discuss.px4.io/t/python-pre-defined-object-avoidance/17813>\
**Category:** MAVSDK\
**Created:** [July 23, 2020, 5:14pm UTC](https://discuss.px4.io/t/python-pre-defined-object-avoidance/17813 "2020-07-23T17:14:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CalleyLeeAnn](https://discuss.px4.io/letter_avatar_proxy/v4/letter/c/9fc348/32.png) [@CalleyLeeAnn](https://discuss.px4.io/u/CalleyLeeAnn)\
**Post date:** [July 23, 2020, 5:14pm UTC](https://discuss.px4.io/t/python-pre-defined-object-avoidance/17813/1 "2020-07-23T17:14:31Z")

</div>

I have a LIDAR map of an area and would like to use this data to define 3D no-fly spaces that I could program my drone to automatically avoid. The purpose of this is to avoid heavy computer vision algorithms for visual object avoidance. I also need more speed than the cap of 3 m/s that the visual object avoidance noted in the [docs](https://docs.px4.io/v1.9.0/en/computer_vision/obstacle_avoidance.html). Can I accomplish this with MAVSDK or is this a much more difficult problem than I hoped? I am very new to MAVSDK & drones. If anyone has any suggestions on where to start with this, please let me know!
